]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALTriggerSTUDCSConfig.h
Implemented reset for fCellsRecalibrated, and put checks for fCellsRecalibrated where...
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerSTUDCSConfig.h
1 #ifndef ALIEMCALTRIGGERSTUDCSCONFIG_H
2 #define ALIEMCALTRIGGERSTUDCSCONFIG_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /*
7
8
9 EMCAL STU DCS parameters to be stored in OCDB
10 Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
11 */
12
13 #include "TObject.h"
14
15 class TVector2;
16
17 class AliEMCALTriggerSTUDCSConfig : public TObject 
18 {
19  public:
20
21   AliEMCALTriggerSTUDCSConfig();
22   virtual ~AliEMCALTriggerSTUDCSConfig() {};
23           
24   void    SetGA(Int_t ga)        { fGA         = ga; }
25   void    SetGB(Int_t gb)        { fGB         = gb; }
26   void    SetGC(Int_t gc)        { fGC         = gc; }
27   void    SetJA(Int_t ja)        { fJA         = ja; }
28   void    SetJB(Int_t jb)        { fJB         = jb; }
29   void    SetJC(Int_t jc)        { fJC         = jc; }
30   void    SetRawData(Int_t rd)   { fGetRawData = rd; }
31   void    SetRegion(Int_t rg)    { fRegion     = rg; }
32   void    SetFw(Int_t fv)        { fFw         = fv; }
33         
34   Int_t   GetGA()        const { return fGA;         }
35   Int_t   GetGB()        const { return fGB;         }
36   Int_t   GetGC()        const { return fGC;         }
37   Int_t   GetJA()        const { return fJA;         }
38   Int_t   GetJB()        const { return fJB;         }
39   Int_t   GetJC()        const { return fJC;         }
40   Int_t   GetRawData()   const { return fGetRawData; }
41   Int_t   GetRegion()    const { return fRegion;     }
42   Int_t   GetFw()        const { return fFw;         }
43
44   void    GetSegmentation(TVector2& v1, TVector2& v2, TVector2& v3, TVector2& v4) const;
45         
46 protected:
47
48         AliEMCALTriggerSTUDCSConfig(const AliEMCALTriggerSTUDCSConfig &cd);
49         AliEMCALTriggerSTUDCSConfig &operator=(const AliEMCALTriggerSTUDCSConfig &cd);
50
51 private:
52         
53   Int_t   fGA;         // GA
54   Int_t   fGB;         // GB
55   Int_t   fGC;         // GC
56   Int_t   fJA;         // JA
57   Int_t   fJB;         // JB
58   Int_t   fJC;         // JC
59   Int_t   fGetRawData; // GetRawData
60   Int_t   fRegion;     // Region
61   Int_t   fFw;         // Fw
62   
63   ClassDef(AliEMCALTriggerSTUDCSConfig,1) //
64 };
65 #endif
66