Variable smearing is driven by the Smear_Info class. It's
constructor has the form:
Smear_Info::Smear_Info( Int_t idata, Int_t smear_opt, Data_t *params )
Depending on smear_opt a user-defined Smearing Function is
used. This has the form:
typedef Data_t ( *pSmearVar )( Data_t true_val, Data_t* pars, TF1* SmrFunc );
These are defined in include/smear_class.cpp
| Option alias |
SmrFunc | Params |
| 0 case_nosmear |
none No Smearing |
--- |
| 1 case_Pmis |
internal Rndm() Apply Mis-Tag using random number |
These are passed as parameters to the pSmearVar Function
|
| 2 case_1Gauss |
fGauss1 smear w/ a single Gaussian |
These parameters must be set using TF1::SetParameter when
defining SmrFunc
|
| 3 case_2Gauss |
fGauss2 smear w/ a double Gaussian |
These parameters must be set using TF1::SetParameter when
defining SmrFunc
|