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
22 AliCaloRawAnalyzerFakeALTRO();
23 virtual ~AliCaloRawAnalyzerFakeALTRO();
25 virtual AliCaloFitResults Evaluate( const std::vector<AliCaloBunchInfo> &bunchvector, const UInt_t altrocfg1, const UInt_t altrocfg2 );
26 void PrintFitResult(const TF1 *f) const;
28 // shaper tau value, in time-bins, and flag for keeping tau fixed
29 Float_t GetTau() const { return fTau;};
30 void SetTau(Float_t f) { fTau = f; };
31 Bool_t GetFixTau() const { return fFixTau; };
32 void SetFixTau(Bool_t b) { fFixTau = b; };
35 TF1 * GetFit() const { return fTf1; };
38 AliCaloRawAnalyzerFakeALTRO(const AliCaloRawAnalyzerFakeALTRO & );
39 AliCaloRawAnalyzerFakeALTRO & operator = (const AliCaloRawAnalyzerFakeALTRO &);
41 double fXaxis[MAXSAMPLES]; //Axis if time bins, ( used by TGraph )
42 const double fkEulerSquared; //e^2 = 7.389056098930650227
43 TF1 *fTf1; // Analytical formula of the Semi Gaussian to be fitted
45 Float_t fTau; // shaper tau, in time bins
46 Bool_t fFixTau; // flag if tau should be fix
48 ClassDef(AliCaloRawAnalyzerFakeALTRO,1)