]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIPMDCALIBRATOR_H | |
2 | #define ALIPMDCALIBRATOR_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | class TTask; | |
7 | class TObjArray; | |
8 | class TH1F; | |
9 | class AliPMDCalibData; | |
10 | class AliPMDPedestal; | |
11 | class AliPMDCalibrator | |
12 | { | |
13 | public: | |
14 | AliPMDCalibrator() ; // ctor | |
15 | AliPMDCalibrator(const AliPMDCalibrator &pmdcalibrator);//copy constructor | |
16 | AliPMDCalibrator &operator= | |
17 | (const AliPMDCalibrator &pmdcalibrator);//assignment op | |
18 | ||
19 | virtual ~AliPMDCalibrator() ;//destructor | |
20 | virtual void Exec(); | |
21 | void CalculateIsoCell();//calculates gains | |
22 | void Init(); | |
23 | Bool_t Store(); | |
24 | AliPMDPedestal *GetCalibPed() const {return fCalibPed;} | |
25 | private: | |
26 | ||
27 | enum | |
28 | { | |
29 | kDet = 2, // Number of Planes | |
30 | kMaxSMN = 24, // Number of Modules | |
31 | kMaxRow = 48, // Number of Rows | |
32 | kMaxCol = 96 // Number of Columns | |
33 | }; | |
34 | Float_t fGainFact[kDet][kMaxSMN][kMaxRow][kMaxCol]; | |
35 | TH1F *fHdetIso[kDet];//histos of isolated cell planewise | |
36 | TH1F *fHsmIso[kDet][kMaxSMN];//histos of isolated cell modulewise | |
37 | TH1F *fHadcIso[kDet][kMaxSMN][kMaxRow][kMaxCol];// histos of isolated cells cellwise | |
38 | ||
39 | AliPMDCalibData *fCalibGain; | |
40 | AliPMDPedestal *fCalibPed; //Pedestal calibration data | |
41 | ClassDef(AliPMDCalibrator,4) //description | |
42 | }; | |
43 | ||
44 | #endif // AliPMDCALIBRATOR_H |