1 #ifndef ALICALORAWANALYZERFAKEALTRO_H
2 #define ALICALORAWANALYZERFAKEALTRO_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
13 #include "AliCaloRawAnalyzer.h"
19 class AliCaloRawAnalyzerFakeALTRO : public AliCaloRawAnalyzer
21 friend class AliCaloRawAnalyzerFactory;
24 //AliCaloRawAnalyzerFakeALTRO();
25 virtual ~AliCaloRawAnalyzerFakeALTRO();
27 virtual AliCaloFitResults Evaluate( const std::vector<AliCaloBunchInfo> &bunchvector, const UInt_t altrocfg1, const UInt_t altrocfg2 );
28 void PrintFitResult(const TF1 *f) const;
30 // shaper tau value, in time-bins, and flag for keeping tau fixed
31 Float_t GetTau() const { return fTau;};
32 void SetTau(Float_t f) { fTau = f; };
33 Bool_t GetFixTau() const { return fFixTau; };
34 void SetFixTau(Bool_t b) { fFixTau = b; };
37 TF1 * GetFit() const { return fTf1; };
40 AliCaloRawAnalyzerFakeALTRO();
41 AliCaloRawAnalyzerFakeALTRO(const AliCaloRawAnalyzerFakeALTRO & );
42 AliCaloRawAnalyzerFakeALTRO & operator = (const AliCaloRawAnalyzerFakeALTRO &);
44 double fXaxis[ALTROMAXSAMPLES]; //Axis if time bins, ( used by TGraph )
45 const double fkEulerSquared; //e^2 = 7.389056098930650227
46 TF1 *fTf1; // Analytical formula of the Semi Gaussian to be fitted
48 Float_t fTau; // shaper tau, in time bins
49 Bool_t fFixTau; // flag if tau should be fix
51 ClassDef(AliCaloRawAnalyzerFakeALTRO,1)