]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDCalibGain.h
fix for the corrupt data
[u/mrichter/AliRoot.git] / PMD / AliPMDCalibGain.h
1 #ifndef ALIPMDCALIBGAIN_H
2 #define ALIPMDCALIBGAIN_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 #include "TObject.h"
7
8 class TH1F;  
9 class AliRawReader;
10
11 class AliPMDCalibGain : public TObject
12 {
13  public:
14   AliPMDCalibGain() ;              // ctor
15   AliPMDCalibGain(const AliPMDCalibGain &pmdcalibgain);  // copy constructor
16   AliPMDCalibGain &operator=(const AliPMDCalibGain &pmdcalibgain); // assignment op
17
18   virtual ~AliPMDCalibGain() ;     // dtor
19
20   Bool_t ProcessEvent(AliRawReader *rawReader, TObjArray *pmdddlcont);  //Looks for iso cells
21
22   void Analyse(TTree *gaintree);
23   
24  private:
25
26   enum
27       {
28           kDet    = 2,   // Number of Planes
29           kMaxSMN = 24,  // Number of Modules
30           kMaxRow = 48,  // Number of Rows
31           kMaxCol = 96   // Number of Columns
32       };
33
34   Float_t fSMIso[kDet][kMaxSMN];
35   Float_t fSMCount[kDet][kMaxSMN]; // counter
36   Float_t fCellIso[kDet][kMaxSMN][kMaxRow][kMaxCol]; // adc of iso cells
37   Float_t fCellCount[kDet][kMaxSMN][kMaxRow][kMaxCol]; // counter
38
39 ClassDef(AliPMDCalibGain,3)        // description 
40 };
41 #endif // ALIPMDCALIBGAIN_H