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 */
9 EMCAL STU DCS parameters to be stored in OCDB
10 Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
17 class AliEMCALTriggerSTUDCSConfig : public TObject
21 AliEMCALTriggerSTUDCSConfig();
22 virtual ~AliEMCALTriggerSTUDCSConfig() {};
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; }
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; }
36 void GetSegmentation(TVector2& v1, TVector2& v2, TVector2& v3, TVector2& v4) const;
40 AliEMCALTriggerSTUDCSConfig(const AliEMCALTriggerSTUDCSConfig &cd);
41 AliEMCALTriggerSTUDCSConfig &operator=(const AliEMCALTriggerSTUDCSConfig &cd);
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
51 ClassDef(AliEMCALTriggerSTUDCSConfig,2) //