]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDCalibrator.h
Removing .cvsignore files
[u/mrichter/AliRoot.git] / PMD / AliPMDCalibrator.h
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
10 class AliPMDCalibData;
11
12 class AliPMDCalibrator
13 {
14  public:
15   AliPMDCalibrator() ;              // ctor
16   AliPMDCalibrator(const AliPMDCalibrator &pmdcalibrator);  // copy constructor
17   AliPMDCalibrator &operator=(const AliPMDCalibrator &pmdcalibrator); // assignment op
18
19   virtual ~AliPMDCalibrator() ;     // dtor
20   virtual void Exec();
21   void CalculateIsoCell();          //calculates gains
22   void Init();
23   Bool_t Store();
24   
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 *fHsmIso[kDet][kMaxSMN];     //histos of isolated cell modulewise
36   TH1F *fHadcIso[kDet][kMaxSMN][kMaxRow][kMaxCol];    // histos of isolated cells cellwise
37
38   AliPMDCalibData *fCalibGain;
39
40 ClassDef(AliPMDCalibrator,3)        // description 
41 };
42 #endif // AliPMDCALIBRATOR_H