]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALTriggerSTUDCSConfig.h
Fixes for macosx
[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 #include "TVector2.h"
15
16 class AliEMCALTriggerSTUDCSConfig : public TObject 
17 {
18  public:
19
20   AliEMCALTriggerSTUDCSConfig();
21   virtual ~AliEMCALTriggerSTUDCSConfig() {};
22           
23   void    SetGA(Int_t ga)        { fGA         = ga; }
24   void    SetGB(Int_t gb)        { fGB         = gb; }
25   void    SetGC(Int_t gc)        { fGC         = gc; }
26   void    SetJA(Int_t ja)        { fJA         = ja; }
27   void    SetJB(Int_t jb)        { fJB         = jb; }
28   void    SetJC(Int_t jc)        { fJC         = jc; }
29   void    SetRawData(Int_t rd)   { fGetRawData = rd; }
30   void    SetRegion(Int_t rg)    { fRegion     = rg; }
31   void    SetFw(Int_t fv)        { fFw         = fv; }
32         
33   Int_t   GetGA()        const { return fGA;         }
34   Int_t   GetGB()        const { return fGB;         }
35   Int_t   GetGC()        const { return fGC;         }
36   Int_t   GetJA()        const { return fJA;         }
37   Int_t   GetJB()        const { return fJB;         }
38   Int_t   GetJC()        const { return fJC;         }
39   Int_t   GetRawData()   const { return fGetRawData; }
40   Int_t   GetRegion()    const { return fRegion;     }
41   Int_t   GetFw()        const { return fFw;         }
42
43   void    GetSegmentation(TVector2& v1, TVector2& v2, TVector2& v3, TVector2& v4) const;
44         
45 protected:
46
47         AliEMCALTriggerSTUDCSConfig(const AliEMCALTriggerSTUDCSConfig &cd);
48         AliEMCALTriggerSTUDCSConfig &operator=(const AliEMCALTriggerSTUDCSConfig &cd);
49
50 private:
51         
52   Int_t   fGA;         //
53   Int_t   fGB;         //
54   Int_t   fGC;         //
55   Int_t   fJA;         //
56   Int_t   fJB;         //
57   Int_t   fJC;         //
58   Int_t   fGetRawData; //
59   Int_t   fRegion;     //
60   Int_t   fFw;         //
61   
62   ClassDef(AliEMCALTriggerSTUDCSConfig,1) //
63 };
64 #endif
65