ROOT logo
#ifndef ALI_GRP_DCS_H
#define ALI_GRP_DCS_H

//-------------------------------------------------------------------------
//                          Class AliGRPDCS
//   This class deals with the DCS related info of the GRP
//
//    Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
//-------------------------------------------------------------------------



//////////////////////////////////////////////////////////////////////////
//                                                                      //
//                        AliGRPDCS                                     //
//                                                                      //
//           Implementation of the class that processes                 //
//           the DCS related fields of the GRP.                         //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#include "TObject.h"

class AliGRPDCS: public TObject {
 public:
  AliGRPDCS();
  AliGRPDCS(TObjArray *dcsArray, UInt_t fStart, UInt_t fStop);
  AliGRPDCS(const AliGRPDCS& grpDcs);

  void SetTime(UInt_t fStart, UInt_t fStop) {fStartTime = fStart; fStopTime = fStop;}
  void SetObjArray(TObjArray *dcsSArray) {fDCSArray = dcsSArray;}
  const char *ProcessDCS(Int_t iType);  
  
 private:
  UInt_t fStartTime, fStopTime; //start and stop time of the run (DAQ lb)
  TObjArray *fDCSArray; //TObjArray for a dcs data point
  
  const char *ProcessInt();
  const char *ProcessUInt();
  const char *ProcessFloat();
  const char *ProcessChar();
//  const char *ProcessString();
  const char *ProcessBoolean();
  
  AliGRPDCS & operator=(const AliGRPDCS & ) {return *this;}

  ClassDef(AliGRPDCS, 0);
};

#endif
 AliGRPDCS.h:1
 AliGRPDCS.h:2
 AliGRPDCS.h:3
 AliGRPDCS.h:4
 AliGRPDCS.h:5
 AliGRPDCS.h:6
 AliGRPDCS.h:7
 AliGRPDCS.h:8
 AliGRPDCS.h:9
 AliGRPDCS.h:10
 AliGRPDCS.h:11
 AliGRPDCS.h:12
 AliGRPDCS.h:13
 AliGRPDCS.h:14
 AliGRPDCS.h:15
 AliGRPDCS.h:16
 AliGRPDCS.h:17
 AliGRPDCS.h:18
 AliGRPDCS.h:19
 AliGRPDCS.h:20
 AliGRPDCS.h:21
 AliGRPDCS.h:22
 AliGRPDCS.h:23
 AliGRPDCS.h:24
 AliGRPDCS.h:25
 AliGRPDCS.h:26
 AliGRPDCS.h:27
 AliGRPDCS.h:28
 AliGRPDCS.h:29
 AliGRPDCS.h:30
 AliGRPDCS.h:31
 AliGRPDCS.h:32
 AliGRPDCS.h:33
 AliGRPDCS.h:34
 AliGRPDCS.h:35
 AliGRPDCS.h:36
 AliGRPDCS.h:37
 AliGRPDCS.h:38
 AliGRPDCS.h:39
 AliGRPDCS.h:40
 AliGRPDCS.h:41
 AliGRPDCS.h:42
 AliGRPDCS.h:43
 AliGRPDCS.h:44
 AliGRPDCS.h:45
 AliGRPDCS.h:46
 AliGRPDCS.h:47
 AliGRPDCS.h:48
 AliGRPDCS.h:49
 AliGRPDCS.h:50