]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliGRPDCS.h
Adding a new function for postprocessing the tracks (A. Bercuci)
[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 *ProcessString();
42   const char *ProcessBoolean();
43   AliGRPDCS & operator=(const AliGRPDCS & ) {return *this;}
44
45   ClassDef(AliGRPDCS, 0);
46 };
47
48 #endif