]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDCalibPedestal.h
returning ddl number instead of -1
[u/mrichter/AliRoot.git] / PMD / AliPMDCalibPedestal.h
1 #ifndef ALIPMDCALIBPEDESTAL_H
2 #define ALIPMDCALIBPEDESTAL_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 class TTree;
11
12 class AliPMDCalibPedestal : public TObject {
13
14 public:
15   AliPMDCalibPedestal();
16   AliPMDCalibPedestal(const AliPMDCalibPedestal &ped);
17   AliPMDCalibPedestal& operator = (const  AliPMDCalibPedestal &source);
18   virtual ~AliPMDCalibPedestal();
19
20   Bool_t ProcessEvent(AliRawReader  *rawReader, TObjArray *pmdddlcont);
21   void   Analyse(TTree *pedtree);
22
23 private:
24
25   enum
26       {
27           kDet    = 2,   // Number of Planes
28           kMaxSMN = 24,  // Number of Modules
29           kMaxRow = 48,  // Number of Rows
30           kMaxCol = 96   // Number of Columns
31       };
32
33   Float_t fPedVal[kDet][kMaxSMN][kMaxRow][kMaxCol];
34   Float_t fPedValSq[kDet][kMaxSMN][kMaxRow][kMaxCol];
35   Float_t fPedCount[kDet][kMaxSMN][kMaxRow][kMaxCol];
36   Int_t   fPedChain[6][51][25][64];
37   Int_t   fRunNumber;
38   Int_t   fEventNumber;
39
40   ClassDef(AliPMDCalibPedestal,5)
41 };
42
43
44
45 #endif
46