Two end words are added at the end of DDL file in Simulation
[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);
21   void   Analyse(TTree *pedtree);
22   void   ConvertDDL(Int_t det, Int_t smn, Int_t &ddlno);
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 fPedVal[kDet][kMaxSMN][kMaxRow][kMaxCol];
35   Float_t fPedValSq[kDet][kMaxSMN][kMaxRow][kMaxCol];
36   Float_t fPedCount[kDet][kMaxSMN][kMaxRow][kMaxCol];
37   UInt_t  fPedChain[kDet][kMaxSMN][kMaxRow][kMaxCol];
38   
39
40   ClassDef(AliPMDCalibPedestal,4)
41 };
42
43
44
45 #endif
46