Adding TString in the included files.
[u/mrichter/AliRoot.git] / STEER / AliGRPObject.h
index 3a6cd60e23509eaee47e39661cc77d64da82f7c4..7acff8aee3f820613689a7e1c0a3c38431f354fc 100644 (file)
-#ifndef AliGRPOBJECT_H
-#define AliGRPOBJECT_H
-
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
-
-/* $Id$ */
-
-#include <TMap.h>
-
-#include "AliDCSSensor.h"
-#include "AliSplineFit.h"
-#include "AliLog.h"
-
-class AliGRPObject : public TObject {
- public:
-
-       enum Stats {kMean = 0, kTruncMean = 1, kMedian = 2, kSDMean = 3, kSDMedian = 4};
-
-       enum DP_HallProbes { 
-                k_HP_L3_BSF17_H1= 0 , k_HP_L3_BSF17_H2, k_HP_L3_BSF17_H3, k_HP_L3_BSF17_Temperature, 
-                k_HP_L3_BSF4_H1, k_HP_L3_BSF4_H2, k_HP_L3_BSF4_H3, k_HP_L3_BSF4_Temperature, 
-                k_HP_L3_BKF17_H1, k_HP_L3_BKF17_H2, k_HP_L3_BKF17_H3, k_HP_L3_BKF17_Temperature, 
-                k_HP_L3_BKF4_H1, k_HP_L3_BKF4_H2, k_HP_L3_BKF4_H3, k_HP_L3_BKF4_Temperature, 
-                k_HP_L3_BSF13_H1, k_HP_L3_BSF13_H2, k_HP_L3_BSF13_H3, k_HP_L3_BSF13_Temperature,
-                k_HP_L3_BSF8_H1, k_HP_L3_BSF8_H2, k_HP_L3_BSF8_H3, k_HP_L3_BSF8_Temperature,
-                k_HP_L3_BKF13_H1, k_HP_L3_BKF13_H2, k_HP_L3_BKF13_H3, k_HP_L3_BKF13_Temperature,
-                k_HP_L3_BKF8_H1, k_HP_L3_BKF8_H2, k_HP_L3_BKF8_H3, k_HP_L3_BKF8_Temperature,
-                k_HP_Dipole_Inside_H1, k_HP_Dipole_Inside_H2, k_HP_Dipole_Inside_H3, k_HP_Dipole_Inside_Temperature,
-                k_HP_Dipole_Outside_H1, k_HP_Dipole_Outside_H2, k_HP_Dipole_Outside_H3, k_HP_Dipole_Outside_Temperature};
-
-
-       AliGRPObject();
-       AliGRPObject(const AliGRPObject & obj);
-       AliGRPObject& operator=(const AliGRPObject & obj);
-       ~AliGRPObject();
-
-       // getters
-
-       time_t    GetTimeStart() const {return fTimeStart;}
-       time_t    GetTimeEnd() const {return fTimeEnd;}
-       Float_t   GetBeamEnergy() const {return fBeamEnergy;}
-       TString   GetBeamType() const {return fBeamType;}
-       Char_t    GetNumberOfDetectors() const {return fNumberOfDetectors;}
-       UInt_t     GetDetectorMask() const {return fDetectorMask;}
-       TString   GetLHCPeriod() const {return fLHCPeriod;}
-       TString   GetRunType() const {return fRunType;}
-       TString   GetLHCState() const {return fLHCState;}
-       Float_t*  GetLHCLuminosity() {return fLHCLuminosity;}
-       Float_t   GetLHCLuminosity(Stats stat) const {return fLHCLuminosity[stat];}
-       AliSplineFit*  GetLHCLuminositySplineFit() const {return fLHCLuminositySplineFit;}
-       Float_t*  GetBeamIntensity() {return fBeamIntensity;}
-       Float_t   GetBeamIntensity(Stats stat) const {return fBeamIntensity[stat];}
-       AliSplineFit*  GetBeamIntensitySplineFit() const {return fBeamIntensitySplineFit;}
-       Char_t    GetL3Polarity() const {return fL3Polarity;}
-       Char_t    GetDipolePolarity() const {return fDipolePolarity;}
-       Float_t*  GetL3Current() {return fL3Current;}
-       Float_t   GetL3Current(Stats stat) const {return fL3Current[stat];}
-       Float_t*  GetDipoleCurrent() {return fDipoleCurrent;}
-       Float_t   GetDipoleCurrent(Stats stat) const {return fDipoleCurrent[stat];}
-       Float_t*  GetCavernTemperature() {return fCavernTemperature;}
-       Float_t   GetCavernTemperature(Stats stat) const {return fCavernTemperature[stat];}
-       //      Float_t*  GetCavernAtmosPressure() {return fCavernAtmosPressure;}
-       //Float_t   GetCavernAtmosPressure(Stats stat) const {return fCavernAtmosPressure[stat];}
-       AliDCSSensor*   GetCavernAtmosPressure() const {return fCavernAtmosPressure;}
-       AliDCSSensor*   GetSurfaceAtmosPressure() const {return fSurfaceAtmosPressure;}
-
-       Float_t*  GetHallProbes(DP_HallProbes hp);
-       Float_t   GetHallProbes(Int_t hp) const {return fHallProbes[hp];}
-       Float_t   GetHallProbes(DP_HallProbes hp, Stats stat) const {return fHallProbes[hp*fPoints+stat];}
-
-       Int_t    GetPoints() const {return fPoints;}
-       Int_t    GetDimension() const {return fDimension;}
-
-       // setters
-
-       void SetTimeStart(time_t timeStart)  {fTimeStart = timeStart;}
-       void SetTimeEnd(time_t timeEnd)  {fTimeEnd = timeEnd;}
-       void SetBeamEnergy(Float_t beamEnergy)  {fBeamEnergy = beamEnergy;}
-       void SetBeamType(TString beamType)  {fBeamType = beamType;}
-       void SetNumberOfDetectors(Char_t numberOfDetectors)  {fNumberOfDetectors = numberOfDetectors;}
-       void SetDetectorMask(UInt_t detectorMask)  {fDetectorMask = detectorMask;}
-       void SetLHCPeriod(TString lhcPeriod)  {fLHCPeriod = lhcPeriod;}
-       void SetRunType(TString runType)  {fRunType = runType;}
-       void SetLHCState(TString lhcState)  {fLHCState = lhcState;}
-       void SetLHCLuminosity(Float_t* lhcLuminosity)  {
-               for (Int_t i = 0;i<fPoints;i++) fLHCLuminosity[i] = lhcLuminosity[i];
-       }
-       void SetLHCLuminosity(Float_t lhcLuminosity, Stats stat)  {fLHCLuminosity[stat] = lhcLuminosity;}
-       void SetLHCLuminositySplineFit(AliSplineFit* lhcLuminositySplineFit)  {fLHCLuminositySplineFit = lhcLuminositySplineFit;}
-       void SetBeamIntensity(Float_t* beamIntensity)  {
-               for (Int_t i = 0;i<fPoints;i++) fBeamIntensity[i] = beamIntensity[i];
-       }
-       void SetBeamIntensity(Float_t beamIntensity, Stats stat)  {fBeamIntensity[stat] = beamIntensity;}
-       void SetBeamIntensitySplineFit(AliSplineFit* beamIntensitySplineFit)  {fBeamIntensitySplineFit = beamIntensitySplineFit;}
-       void SetL3Polarity(Char_t l3Polarity)  {fL3Polarity = l3Polarity;}
-       void SetDipolePolarity(Char_t dipolePolarity)  {fDipolePolarity = dipolePolarity;}
-       void SetL3Current(Float_t* l3Current)  {
-               for (Int_t i = 0;i<fPoints;i++) fL3Current[i] = l3Current[i];
-       }
-       void SetL3Current(Float_t l3Current, Stats stat)  {fL3Current[stat] = l3Current;}
-       void SetDipoleCurrent(Float_t* dipoleCurrent) {
-               for (Int_t i = 0;i<fPoints;i++) fDipoleCurrent[i] = dipoleCurrent[i];
-       }
-       void SetDipoleCurrent(Float_t dipoleCurrent, Stats stat)  {fDipoleCurrent[stat] = dipoleCurrent;}
-       void SetCavernTemperature(Float_t* cavernTemperature)  {
-               for (Int_t i = 0;i<fPoints;i++) fCavernTemperature[i] = cavernTemperature[i];
-       }
-       void SetCavernTemperature(Float_t cavernTemperature, Stats stat)  {fCavernTemperature[stat] = cavernTemperature;}
-       //      void SetCavernAtmosPressure(Float_t* cavernAtmosPressure)  {
-       //              for (Int_t i = 0;i<fPoints;i++) fCavernAtmosPressure[i] = cavernAtmosPressure[i];
-       //}
-//     void SetCavernAtmosPressure(Float_t cavernAtmosPressure, Stats stat)  {fCavernAtmosPressure[stat] = cavernAtmosPressure;}
-       void SetCavernAtmosPressure(AliDCSSensor* cavernAtmosPressure)  {fCavernAtmosPressure = cavernAtmosPressure;}
-       void SetSurfaceAtmosPressure(AliDCSSensor* surfacePressure)  {fSurfaceAtmosPressure = surfacePressure;}
-
-       void SetHallProbes(DP_HallProbes hp, Float_t hall_probe, Stats stat)  {fHallProbes[hp*fPoints+stat] = hall_probe;}
-       void SetHallProbes(Float_t *hall_probe){
-               for (Int_t i = 0; i< fDimension; i++) fHallProbes[i] =  hall_probe[i];}
-
-       void SetHallProbes(DP_HallProbes hp, Float_t* hall_probe);  
-       void SetPoints(Int_t points) {fPoints = points;}
-       void SetDimension(Int_t dimension) {fDimension = dimension;}
-
-       // getters for "invalid" flags
-
-       static Float_t GetInvalidFloat() {return fgkInvalidFloat;}
-       static TString GetInvalidString() {return fgkInvalidString;}
-       static Int_t GetInvalidInt() {return fgkInvalidInt;}
-       static Int_t GetInvalidUInt() {return fgkInvalidUInt;}
-       static Char_t GetInvalidChar() {return fgkInvalidChar;}
-       static Int_t GetNumberOfHP() {return fgknDCSDP_HallProbes;}
-       static const char* GetHPDP(Int_t indexHP) {return fgkDCSDataPoints_HallProbes[indexHP];}
-
-       // to read old GRP object in TMap format
-
-       void ReadValuesFromMap(TMap* map);      
-
- private:
-
-       static const Float_t fgkInvalidFloat;   // value to identify invalid data - float
-       static const TString fgkInvalidString;  // value to identify invalid data - string
-       static const Char_t fgkInvalidChar;     // value to identify invalid data - char
-       static const Int_t fgkInvalidInt;       // value to identify invalid data - int
-       static const Int_t fgkInvalidUInt;       // value to identify invalid data - uint
-       static const Int_t   fgknDCSDP_HallProbes;               //! number of dcs dps
-       static const char*   fgkDCSDataPoints_HallProbes[];      //! names of dcs dps
-
-       Int_t fPoints;                    // number of statistical quantities to be stored
-       Int_t fDimension;                 // dimension of Hall Probes array
-
-       time_t   fTimeStart;              // DAQ_time_start entry from DAQ logbook
-       time_t   fTimeEnd;                // DAQ_time_end entry from DAQ logbook
-       Float_t  fBeamEnergy;             // beamEnergy entry from DAQ logbook
-       TString  fBeamType;               // beamType entry from DAQ logbook
-       Char_t   fNumberOfDetectors;      // numberOfDetectors entry from DAQ logbook
-       UInt_t   fDetectorMask;           // detectorMask entry from DAQ logbook
-       TString  fLHCPeriod;              // LHCperiod entry from DAQ logbook 
-       TString  fRunType;                // RunType entry from DAQ logbook 
-       TString  fLHCState;               // LHCState entry from DCS DB
-       Float_t*  fLHCLuminosity;         // [fPoints]
-                                         // LHCLuminosity entry from DCS DB
-       AliSplineFit*  fLHCLuminositySplineFit;       // LHCLuminosity SplineFit from DCS DB
-       Float_t*  fBeamIntensity   ;      // [fPoints]
-                                         // BeamIntensity entry from DCS DB
-       AliSplineFit*  fBeamIntensitySplineFit;       // BeamIntensity SplineFit from DCS DB
-       Char_t    fL3Polarity;             // L3Polarity entry from DCS DB
-       Char_t    fDipolePolarity;         // [fPoints]
-                                         // DipolePolarity entry from DCS DB
-       Float_t*  fL3Current;             // [fPoints]
-                                         // L3Current entry from DCS DB
-       Float_t*  fDipoleCurrent;         // [fPoints]
-                                          // DipoleCurrent entry from DCS DB
-       Float_t*  fCavernTemperature;     // [fPoints]
-                                          // CavernTemperature entry from DCS DB
-       //      Float_t*  fCavernAtmosPressure;   // [fPoints]
-                                          // CavernAtmosPressure entry from DCS DB
-       AliDCSSensor*  fCavernAtmosPressure;    // CavernAtmosPressure entry from DCS DB
-       AliDCSSensor*  fSurfaceAtmosPressure;   // SurfaceAtmosPressure entry from DCS DB
-
-       // Hall Probes
-
-       Float_t* fHallProbes;       //[fDimension] 
-                                   // array containg the values for the Hall Probes
-
-       ClassDef(AliGRPObject,1)
-
-};
-
-#endif
+#ifndef ALIGRPOBJECT_H\r
+#define ALIGRPOBJECT_H\r
+\r
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
+ * See cxx source for full Copyright notice                               */\r
+\r
+/* $Id$ */\r
+\r
+//\r
+// AliGRPObject\r
+// class to store the information\r
+// coming from the GRP preprocessor\r
+// \r
+\r
+#include <time.h>\r
+#include <TString.h>\r
+\r
+class TMap;\r
+\r
+class AliDCSSensor;\r
+class AliSplineFit;\r
+class AliLog;\r
+\r
+class AliGRPObject : public TObject {\r
+ public:\r
+\r
+       enum Stats {kMean = 0, kTruncMean = 1, kMedian = 2, kSDMean = 3, kSDMedian = 4};\r
+       \r
+       enum StatusBits {kPolConvLHC = BIT(14), kUniformBMap = BIT(15)};\r
+\r
+       enum DP_HallProbes { \r
+                khpL3bsf17H1= 0 , khpL3bsf17H2, khpL3bsf17H3, khpL3bsf17Temperature, \r
+                khpL3bsf4H1, khpL3bsf4H2, khpL3bsf4H3, khpL3bsf4Temperature, \r
+                khpL3bkf17H1, khpL3bkf17H2, khpL3bkf17H3, khpL3bkf17Temperature, \r
+                khpL3bkf4H1, khpL3bkf4H2, khpL3bkf4H3, khpL3bkf4Temperature, \r
+                khpL3bsf13H1, khpL3bsf13H2, khpL3bsf13H3, khpL3bsf13Temperature,\r
+                khpL3bsf8H1, khpL3bsf8H2, khpL3bsf8H3, khpL3bsfy8Temperature,\r
+                khpL3bkf13H1, khpL3bkf13H2, khpL3bkf13H3, khpL3bkf13Temperature,\r
+                khpL3bkf8H1, khpL3bkf8H2, khpL3bkf8H3, khpL3bkf8Temperature,\r
+                khpDipoleInsideH1, khpDipoleInsideH2, khpDipoleInsideH3, khpDipoleInsideTemperature,\r
+                khpDipoleOutsideH1, khpDipoleOutsideH2, khpDipoleOutsideH3, khpDipoleOutsideTemperature};\r
+\r
+\r
+       AliGRPObject();\r
+       AliGRPObject(const AliGRPObject & obj);\r
+       AliGRPObject& operator=(const AliGRPObject & obj);\r
+       ~AliGRPObject();\r
+\r
+       // getters\r
+\r
+       Bool_t    IsPolarityConventionLHC() const {return TestBit(kPolConvLHC);}\r
+       Bool_t    IsUniformBMap() const {return TestBit(kUniformBMap);}\r
+       time_t    GetTimeStart() const {return fTimeStart;}\r
+       time_t    GetTimeEnd() const {return fTimeEnd;}\r
+       Float_t   GetBeamEnergy() const {return fBeamEnergy;}\r
+       TString   GetBeamType() const {return fBeamType;}\r
+       Char_t    GetNumberOfDetectors() const {return fNumberOfDetectors;}\r
+       UInt_t    GetDetectorMask() const {return fDetectorMask;}\r
+       TString   GetLHCPeriod() const {return fLHCPeriod;}\r
+       TString   GetRunType() const {return fRunType;}\r
+       TString   GetLHCState() const {return fLHCState;}\r
+       Float_t*  GetLHCLuminosity() const {return fLHCLuminosity;}\r
+       Float_t   GetLHCLuminosity(Stats stat) const {return fLHCLuminosity[stat];}\r
+       AliSplineFit*  GetLHCLuminositySplineFit() const {return fLHCLuminositySplineFit;}\r
+       Float_t*  GetBeamIntensity() const {return fBeamIntensity;}\r
+       Float_t   GetBeamIntensity(Stats stat) const {return fBeamIntensity[stat];}\r
+       AliSplineFit*  GetBeamIntensitySplineFit() const {return fBeamIntensitySplineFit;}\r
+       Char_t    GetL3Polarity() const {return fL3Polarity;}\r
+       Char_t    GetDipolePolarity() const {return fDipolePolarity;}\r
+       Float_t*  GetL3Current() const {return fL3Current;}\r
+       Float_t   GetL3Current(Stats stat) const {return fL3Current[stat];}\r
+       Float_t*  GetDipoleCurrent() const {return fDipoleCurrent;}\r
+       Float_t   GetDipoleCurrent(Stats stat) const {return fDipoleCurrent[stat];}\r
+       Float_t*  GetCavernTemperature() const {return fCavernTemperature;}\r
+       Float_t   GetCavernTemperature(Stats stat) const {return fCavernTemperature[stat];}\r
+       AliDCSSensor*   GetCavernAtmosPressure() const {return fCavernAtmosPressure;}\r
+       AliDCSSensor*   GetCavernAtmosPressure2() const {return fCavernAtmosPressure2;}\r
+       AliDCSSensor*   GetSurfaceAtmosPressure() const {return fSurfaceAtmosPressure;}\r
+\r
+       Float_t*  GetHallProbesArray(DP_HallProbes hp) const;\r
+       Float_t   GetHallProbes(Int_t hp) const {return fHallProbes[hp];}\r
+       Float_t   GetHallProbes(DP_HallProbes hp, Stats stat) const {return fHallProbes[hp*fPoints+stat];}\r
+\r
+       Int_t    GetPoints() const {return fPoints;}\r
+       Int_t    GetDimension() const {return fDimension;}\r
+\r
+       // setters\r
+\r
+       void SetPolarityConventionLHC(Bool_t v=kTRUE) {return SetBit(kPolConvLHC,v);}\r
+       void SetUniformBMap(Bool_t v=kTRUE) {return SetBit(kUniformBMap,v);}\r
+       void SetTimeStart(time_t timeStart)  {fTimeStart = timeStart;}\r
+       void SetTimeEnd(time_t timeEnd)  {fTimeEnd = timeEnd;}\r
+       void SetBeamEnergy(Float_t beamEnergy)  {fBeamEnergy = beamEnergy;}\r
+       void SetBeamType(TString beamType)  {fBeamType = beamType;}\r
+       void SetNumberOfDetectors(Char_t numberOfDetectors)  {fNumberOfDetectors = numberOfDetectors;}\r
+       void SetDetectorMask(UInt_t detectorMask)  {fDetectorMask = detectorMask;}\r
+       void SetLHCPeriod(TString lhcPeriod)  {fLHCPeriod = lhcPeriod;}\r
+       void SetRunType(TString runType)  {fRunType = runType;}\r
+       void SetLHCState(TString lhcState)  {fLHCState = lhcState;}\r
+       void SetLHCLuminosity(const Float_t* lhcLuminosity)  {\r
+               for (Int_t i = 0;i<fPoints;i++) fLHCLuminosity[i] = lhcLuminosity[i];\r
+       }\r
+       void SetLHCLuminosity(Float_t lhcLuminosity, Stats stat)  {fLHCLuminosity[stat] = lhcLuminosity;}\r
+       void SetLHCLuminositySplineFit(AliSplineFit* const lhcLuminositySplineFit)  {fLHCLuminositySplineFit = lhcLuminositySplineFit;}\r
+       void SetBeamIntensity(const Float_t* beamIntensity)  {\r
+               for (Int_t i = 0;i<fPoints;i++) fBeamIntensity[i] = beamIntensity[i];\r
+       }\r
+       void SetBeamIntensity(Float_t beamIntensity, Stats stat)  {fBeamIntensity[stat] = beamIntensity;}\r
+       void SetBeamIntensitySplineFit(AliSplineFit* const beamIntensitySplineFit)  {fBeamIntensitySplineFit = beamIntensitySplineFit;}\r
+       void SetL3Polarity(Char_t l3Polarity)  {fL3Polarity = l3Polarity;}\r
+       void SetDipolePolarity(Char_t dipolePolarity)  {fDipolePolarity = dipolePolarity;}\r
+       void SetL3Current(const Float_t* l3Current)  {\r
+               for (Int_t i = 0;i<fPoints;i++) fL3Current[i] = l3Current[i];\r
+       }\r
+       void SetL3Current(Float_t l3Current, Stats stat)  {fL3Current[stat] = l3Current;}\r
+       void SetDipoleCurrent(const Float_t* dipoleCurrent) {\r
+               for (Int_t i = 0;i<fPoints;i++) fDipoleCurrent[i] = dipoleCurrent[i];\r
+       }\r
+       void SetDipoleCurrent(Float_t dipoleCurrent, Stats stat)  {fDipoleCurrent[stat] = dipoleCurrent;}\r
+       void SetCavernTemperature(const Float_t* cavernTemperature)  {\r
+               for (Int_t i = 0;i<fPoints;i++) fCavernTemperature[i] = cavernTemperature[i];\r
+       }\r
+       void SetCavernTemperature(Float_t cavernTemperature, Stats stat)  {fCavernTemperature[stat] = cavernTemperature;}\r
+       void SetCavernAtmosPressure(AliDCSSensor* const cavernAtmosPressure)  {fCavernAtmosPressure = cavernAtmosPressure;}\r
+       void SetCavernAtmosPressure2(AliDCSSensor* const cavernAtmosPressure)  {fCavernAtmosPressure2 = cavernAtmosPressure;}\r
+       void SetSurfaceAtmosPressure(AliDCSSensor* const surfacePressure)  {fSurfaceAtmosPressure = surfacePressure;}\r
+\r
+       void SetHallProbes(DP_HallProbes hp, Float_t hall_probe, Stats stat)  {fHallProbes[hp*fPoints+stat] = hall_probe;}\r
+       void SetHallProbes(const Float_t* hall_probe){\r
+               for (Int_t i = 0; i< fDimension; i++) fHallProbes[i] =  hall_probe[i];}\r
+\r
+       void SetHallProbes(DP_HallProbes hp, const Float_t* hall_probe);  \r
+       void SetPoints(Int_t points) {fPoints = points;}\r
+       void SetDimension(Int_t dimension) {fDimension = dimension;}\r
+\r
+       // getters for "invalid" flags\r
+\r
+       static Float_t GetInvalidFloat() {return fgkInvalidFloat;}\r
+       static TString GetInvalidString() {return fgkInvalidString;}\r
+       static Int_t GetInvalidInt() {return fgkInvalidInt;}\r
+       static Int_t GetInvalidUInt() {return fgkInvalidUInt;}\r
+       static Char_t GetInvalidChar() {return fgkInvalidChar;}\r
+       static Int_t GetNumberOfHP() {return fgknDCSDPHallProbes;}\r
+       static const char* GetHPDP(Int_t indexHP) {return fgkDCSDataPointsHallProbes[indexHP];}\r
+\r
+       // to read old GRP object in TMap format\r
+\r
+       void ReadValuesFromMap(const TMap* map);        \r
+\r
+ private:\r
+\r
+       static const Float_t fgkInvalidFloat;   // value to identify invalid data - float\r
+       static const TString fgkInvalidString;  // value to identify invalid data - string\r
+       static const Char_t fgkInvalidChar;     // value to identify invalid data - char\r
+       static const Int_t fgkInvalidInt;       // value to identify invalid data - int\r
+       static const Int_t fgkInvalidUInt;       // value to identify invalid data - uint\r
+       static const Int_t   fgknDCSDPHallProbes;               //! number of dcs dps\r
+       static const char*   fgkDCSDataPointsHallProbes[];      //! names of dcs dps\r
+\r
+       Int_t fPoints;                    // number of statistical quantities to be stored\r
+       Int_t fDimension;                 // dimension of Hall Probes array\r
+\r
+       time_t   fTimeStart;              // DAQ_time_start entry from DAQ logbook\r
+       time_t   fTimeEnd;                // DAQ_time_end entry from DAQ logbook\r
+       Float_t  fBeamEnergy;             // beamEnergy entry from DAQ logbook\r
+       TString  fBeamType;               // beamType entry from DAQ logbook\r
+       Char_t   fNumberOfDetectors;      // numberOfDetectors entry from DAQ logbook\r
+       UInt_t   fDetectorMask;           // detectorMask entry from DAQ logbook\r
+       TString  fLHCPeriod;              // LHCperiod entry from DAQ logbook \r
+       TString  fRunType;                // RunType entry from DAQ logbook \r
+       TString  fLHCState;               // LHCState entry from DCS DB\r
+       Float_t*  fLHCLuminosity;         // [fPoints]\r
+                                         // LHCLuminosity entry from DCS DB\r
+       AliSplineFit*  fLHCLuminositySplineFit;       // LHCLuminosity SplineFit from DCS DB\r
+       Float_t*  fBeamIntensity   ;      // [fPoints]\r
+                                         // BeamIntensity entry from DCS DB\r
+       AliSplineFit*  fBeamIntensitySplineFit;       // BeamIntensity SplineFit from DCS DB\r
+       Char_t    fL3Polarity;            // L3Polarity entry from DCS DB\r
+       Char_t    fDipolePolarity;        // DipolePolarity entry from DCS DB                                     \r
+       Float_t*  fL3Current;             // [fPoints]\r
+                                         // L3Current entry from DCS DB\r
+       Float_t*  fDipoleCurrent;         // [fPoints]\r
+                                          // DipoleCurrent entry from DCS DB\r
+       Float_t*  fCavernTemperature;     // [fPoints]\r
+                                          // CavernTemperature entry from DCS DB\r
+       AliDCSSensor*  fCavernAtmosPressure;    // CavernAtmosPressure entry from DCS DB\r
+       AliDCSSensor*  fCavernAtmosPressure2;    // CavernAtmosPressure2 entry from DCS DB\r
+       AliDCSSensor*  fSurfaceAtmosPressure;   // SurfaceAtmosPressure entry from DCS DB\r
+\r
+       // Hall Probes\r
+\r
+       Float_t* fHallProbes;       //[fDimension] \r
+                                   // array containg the values for the Hall Probes\r
+\r
+       ClassDef(AliGRPObject,3)\r
+\r
+};\r
+\r
+#endif\r