]>
Commit | Line | Data |
---|---|---|
3dedb44a | 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 | ||
3dedb44a | 24 | class AliGRPDCS: public TObject { |
25 | public: | |
26 | AliGRPDCS(); | |
1f9bf847 | 27 | AliGRPDCS(TObjArray *dcsArray, UInt_t fStart, UInt_t fStop); |
3dedb44a | 28 | AliGRPDCS(const AliGRPDCS& grpDcs); |
29 | ||
1f9bf847 | 30 | void SetTime(UInt_t fStart, UInt_t fStop) {fStartTime = fStart; fStopTime = fStop;} |
3dedb44a | 31 | void SetObjArray(TObjArray *dcsSArray) {fDCSArray = dcsSArray;} |
e97cc90e | 32 | const char *ProcessDCS(Int_t iType); |
3dedb44a | 33 | |
34 | private: | |
1f9bf847 | 35 | UInt_t fStartTime, fStopTime; //start and stop time of the run (DAQ lb) |
3dedb44a | 36 | TObjArray *fDCSArray; //TObjArray for a dcs data point |
37 | ||
e97cc90e | 38 | const char *ProcessInt(); |
39 | const char *ProcessUInt(); | |
40 | const char *ProcessFloat(); | |
e7a6790f | 41 | const char *ProcessChar(); |
42 | // const char *ProcessString(); | |
e97cc90e | 43 | const char *ProcessBoolean(); |
e7a6790f | 44 | |
3dedb44a | 45 | AliGRPDCS & operator=(const AliGRPDCS & ) {return *this;} |
46 | ||
47 | ClassDef(AliGRPDCS, 0); | |
48 | }; | |
49 | ||
50 | #endif |