]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDMeanSm.h
photon trackid assignment is corrected
[u/mrichter/AliRoot.git] / PMD / AliPMDMeanSm.h
1 #ifndef ALIPMDMEANSM_H
2 #define ALIPMDMEANSM_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 AliPMDMeanSm: public TNamed
12 {
13  public:
14   AliPMDMeanSm();
15   AliPMDMeanSm(const char* name);
16   AliPMDMeanSm(const AliPMDMeanSm &meanda);
17   AliPMDMeanSm& operator= (const AliPMDMeanSm &meanda);
18   virtual ~AliPMDMeanSm();
19   void    Reset();
20   void    SetMeanSm(Int_t det, Int_t smn,Float_t meansm);
21   Float_t GetMeanSm(Int_t det, Int_t smn) const;
22   virtual void Print(Option_t *) const;
23   
24  protected:
25
26   enum
27       {
28         kDet = 2,        // Number of plane
29         kModule = 24     // Modules per plane
30       };
31   Float_t fMeanSm[kDet][kModule];
32
33   ClassDef(AliPMDMeanSm,0) // calibration class for gainfactors
34 };
35 #endif