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