Line data Source code
1 : #ifndef ALIPMDPEDESTAL_H
2 : #define ALIPMDPEDESTAL_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 :
7 : class TNamed;
8 : class AliCDBEntry;
9 : class AliPMD;
10 :
11 : class AliPMDPedestal: public TNamed
12 : {
13 : public:
14 : AliPMDPedestal();
15 : AliPMDPedestal(const char* name);
16 : AliPMDPedestal(const AliPMDPedestal &pedestal);
17 : AliPMDPedestal& operator= (const AliPMDPedestal &pedestal);
18 : virtual ~AliPMDPedestal();
19 : void Reset();
20 : void SetPedMeanRms(Int_t det, Int_t smn, Int_t row, Int_t col,
21 : Float_t pedmean, Float_t pedrms);
22 : Int_t GetPedMeanRms(Int_t det, Int_t smn, Int_t row, Int_t col) const;
23 : virtual void Print(Option_t *) const;
24 :
25 : protected:
26 :
27 : enum
28 : {
29 : kDet = 2, // Number of planes
30 : kModule = 24, // Number of modules per plane
31 : kRow = 48, // Row
32 : kCol = 96 // Column
33 : };
34 :
35 : Int_t fPedMeanRms[kDet][kModule][kRow][kCol];
36 :
37 36 : ClassDef(AliPMDPedestal,1) // Pedestal class
38 : };
39 : #endif
|