AliRoot Core  3dc7879 (3dc7879)
AliGRPDCS.h
Go to the documentation of this file.
1 #ifndef ALI_GRP_DCS_H
2 #define ALI_GRP_DCS_H
3 
4 //-------------------------------------------------------------------------
5 // Class AliGRPDCS
6 // This class deals with the DCS related info of the GRP
7 //
8 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
9 //-------------------------------------------------------------------------
10 
11 
12 
14 // //
15 // AliGRPDCS //
16 // //
17 // Implementation of the class that processes //
18 // the DCS related fields of the GRP. //
19 // //
21 
22 #include "TObject.h"
23 #include "TString.h"
24 
25 class AliGRPDCS: public TObject {
26  public:
27  AliGRPDCS();
28  AliGRPDCS(TObjArray *dcsArray, UInt_t fStart, UInt_t fStop);
29  AliGRPDCS(const AliGRPDCS& grpDcs);
30 
31  void SetTime(UInt_t fStart, UInt_t fStop) {fStartTime = fStart; fStopTime = fStop;}
32  void SetObjArray(TObjArray *dcsSArray) {fDCSArray = dcsSArray;}
33  TString ProcessDCS(Int_t iType);
34 
35  private:
36  UInt_t fStartTime, fStopTime; //start and stop time of the run (DAQ lb)
37  TObjArray *fDCSArray; //TObjArray for a dcs data point
38 
39  TString ProcessInt();
40  TString ProcessUInt();
41  TString ProcessFloat();
42  TString ProcessChar();
43 // TString ProcessString();
44  TString ProcessBoolean();
45 
46  AliGRPDCS & operator=(const AliGRPDCS & ) {return *this;}
47 
48  ClassDef(AliGRPDCS, 0);
49 };
50 
51 #endif
TObjArray * fDCSArray
Definition: AliGRPDCS.h:37
TString ProcessChar()
Definition: AliGRPDCS.cxx:203
AliGRPDCS & operator=(const AliGRPDCS &)
Definition: AliGRPDCS.h:46
#define TObjArray
UInt_t fStopTime
Definition: AliGRPDCS.h:36
TString ProcessUInt()
Definition: AliGRPDCS.cxx:156
TString ProcessFloat()
Definition: AliGRPDCS.cxx:179
TString ProcessBoolean()
Definition: AliGRPDCS.cxx:110
void SetObjArray(TObjArray *dcsSArray)
Definition: AliGRPDCS.h:32
UInt_t fStartTime
Definition: AliGRPDCS.h:36
TString ProcessDCS(Int_t iType)
Definition: AliGRPDCS.cxx:64
TString ProcessInt()
Definition: AliGRPDCS.cxx:135
void SetTime(UInt_t fStart, UInt_t fStop)
Definition: AliGRPDCS.h:31