34 fkEulerSquared(7.389056098930650227),
42 fTf1 =
new TF1(
"myformula",
"[0]*((x - [1])/[2])^2*exp(-2*(x -[1])/[2])", 0, 30 );
50 fTf1->ReleaseParameter(2);
70 cout << __FILE__ << __LINE__ <<
"Using this samplerange we get" << endl;
71 cout << __FILE__ << __LINE__ <<
"AMPLITUDE = " << f->GetParameter(0)/
fkEulerSquared <<
",.. !!!!" << endl;
72 cout << __FILE__ << __LINE__ <<
"TOF = " << f->GetParameter(1) <<
",.. !!!!" << endl;
73 cout << __FILE__ << __LINE__ <<
"NDF = " << f->GetNDF() <<
",.. !!!!" << endl;
Base class for extraction of signal amplitude and peak position.
void PrintFitResult(const TF1 *f) const
Print fit results.
const double fkEulerSquared
e^2 = 7.389056098930650227
AliCaloRawAnalyzerFitter()
virtual ~AliCaloRawAnalyzerFitter()
Destructor.
Float_t fTau
Rise time of the signal (peak position = t0 +tau), by defauly it is 235 ns.
double fXaxis[ALTROMAXSAMPLES]
Axis if time bins, ( used by TGraph )
const int ALTROMAXSAMPLES
The maximum number of samples of the ALTRO.
TF1 * fTf1
Analytical formula of the Semi Gaussian to be fitted.
Bool_t fFixTau
Fixed fit parameter or not, used in AliCaloRawAnalyzerFitter.