]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALTriggerSTUDCSConfig.h
Add protection in method AliEMCALGeometry::GetAbsCellIdFromCellIndexes in case eta...
[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    SetG(Int_t i, Int_t j, Int_t gv) { fG[i][j]    = gv; }
25   void    SetJ(Int_t i, Int_t j, Int_t jv) { fJ[i][j]    = jv; }
26   void    SetRawData(Int_t rd)             { fGetRawData = rd; }
27   void    SetRegion(Int_t rg)              { fRegion     = rg; }
28   void    SetFw(Int_t fv)                  { fFw         = fv; }
29         
30   Int_t   GetG(int i, int j) const { return fG[i][j];    }
31   Int_t   GetJ(int i, int j) const { return fJ[i][j];    }
32   Int_t   GetRawData()       const { return fGetRawData; }
33   Int_t   GetRegion()        const { return fRegion;     }
34   Int_t   GetFw()            const { return fFw;         }
35
36   void    GetSegmentation(TVector2& v1, TVector2& v2, TVector2& v3, TVector2& v4) const;
37         
38 protected:
39
40         AliEMCALTriggerSTUDCSConfig(const AliEMCALTriggerSTUDCSConfig &cd);
41         AliEMCALTriggerSTUDCSConfig &operator=(const AliEMCALTriggerSTUDCSConfig &cd);
42
43 private:
44         
45   Int_t   fG[3][2];       // GA,B,C
46   Int_t   fJ[3][2];       // JA,B,C
47   Int_t   fGetRawData;    // GetRawData
48   Int_t   fRegion;        // Region
49   Int_t   fFw;            // Fw
50   
51   ClassDef(AliEMCALTriggerSTUDCSConfig,2) //
52 };
53 #endif
54