Line data Source code
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 :
13 : //////////////////////////////////////////////////////////////////////////
14 : // //
15 : // AliGRPDCS //
16 : // //
17 : // Implementation of the class that processes //
18 : // the DCS related fields of the GRP. //
19 : // //
20 : //////////////////////////////////////////////////////////////////////////
21 :
22 : #include "TObject.h"
23 : #include "TString.h"
24 :
25 0 : 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 0 : void SetTime(UInt_t fStart, UInt_t fStop) {fStartTime = fStart; fStopTime = fStop;}
32 0 : 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 128 : ClassDef(AliGRPDCS, 0);
49 : };
50 :
51 : #endif
|