simple-tof-analysis
 All Classes Namespaces Functions Variables Groups Pages
Public Member Functions | List of all members
TSToF_Part Class Reference

Public Member Functions

 TSToF_Part (TString name, TString label, float mass=0)
 
TString GetLabel () const
 
float GetMass () const
 
TF1 * GetMass2Distrib () const
 
TF1 * GetMass2Distrib (double mom) const
 
TString GetMass2DistribName () const
 
TString GetName () const
 
TF1 * GetParamFunction (int) const
 
double GetParamValue (int par, double p) const
 
int GetNpar () const
 
int GetNumOfParFuncs () const
 
double GetMassScale () const
 
double GetMassScaling (int, double) const
 
int GetWidthParam () const
 
bool Mass2IsGaussian () const
 
void SetMass (float m)
 
void SetMassScale (float m)
 
void SetMass2Distrib (TString fname, double xmin, double xmax, int width_par=-1)
 
void SetMass2Distrib (TF1 &, int width_par=-1)
 
void SetMomentumVariable (const TSVariable &)
 
void SetToFVariable (const TSVariable &)
 
void SetParamFunc (int, TF1 &)
 
void SetUseMassScale (bool b)
 
void SetWidthPar (int p)
 
bool UseMassScale () const
 
 TSToF_Part (TString name, TString label, float mass=0)
 
TString GetLabel () const
 
float GetMass () const
 
TF1 * GetMass2Distrib () const
 
TF1 * GetMass2Distrib (double mom) const
 
TString GetMass2DistribName () const
 
TString GetName () const
 
TF1 * GetParamFunction (int) const
 
double GetParamValue (int par, double p) const
 
int GetNpar () const
 
int GetNumOfParFuncs () const
 
double GetMassScale () const
 
double GetMassScaling (int, double) const
 
int GetWidthParam () const
 
bool Mass2IsGaussian () const
 
void SetMass (float m)
 
void SetMassScale (float m)
 
void SetMass2Distrib (TString fname, double xmin, double xmax, int width_par=-1)
 
void SetMass2Distrib (TF1 &, int width_par=-1)
 
void SetMomentumVariable (const TSVariable &)
 
void SetToFVariable (const TSVariable &)
 
void SetParamFunc (int, TF1 &)
 
void SetUseMassScale (bool b)
 
void SetWidthPar (int p)
 
bool UseMassScale () const
 

Member Function Documentation

double TSToF_Part::GetMassScaling ( int  par,
double  P 
) const

Parameter of type Width is scaled according to the formula which depends on the momentum P the mass of the particle and the mass set for the scaling

void TSToF_Part::SetParamFunc ( int  ip,
TF1 &  f 
)

Paramterization (as a function of the momentum) of the paramter ip of the Mass2Disribution function

Referenced by TSToFGenerator::SetMass2MeanFunction(), TSToFGenerator::SetMass2WidthFunction(), TSToFGenerator::SetMass2WidthScaling(), and TSToFGenerator::SetParamFunction().


The documentation for this class was generated from the following files: