3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 //////////////////////////////////////////////////////////////////////////////
8 // Container class for all the information related to LHCstate, run type, //
9 // active detectors, beam energy etc. //
10 // It is used together with the AliEventInfo in order to provide //
11 // the AliRecoParam object with //
12 // the necessary information so that it can decide which instance of //
13 // AliDetectorRecoParam objects to use in reconstruction one particular //
16 // cvetan.cheshkov@cern.ch 12/06/2008 //
17 //////////////////////////////////////////////////////////////////////////////
20 #include <TObjString.h>
24 class AliRunInfo : public TObject {
28 AliRunInfo(const char *lhcState,
32 UInt_t activeDetectors);
33 virtual ~AliRunInfo() {}
35 virtual void Print(Option_t */*option=""*/) const { Dump(); }
37 const char *GetLHCState() const { return fLHCState.Data(); }
38 const char *GetBeamType() const { return fBeamType.Data(); }
39 Float_t GetBeamEnergy() const { return fBeamEnergy; }
40 const char *GetRunType() const { return fRunType.Data(); }
41 UInt_t GetDetectorMask() const { return fActiveDetectors; }
42 const char *GetActiveDetectors() const { return AliDAQ::ListOfTriggeredDetectors(fActiveDetectors); }
44 AliRunInfo(const AliRunInfo &evInfo);
45 AliRunInfo& operator= (const AliRunInfo& evInfo);
49 TString fLHCState; // state of the machine as provided by DCS and DAQ log-book (per run)
50 TString fBeamType; // beam type for Alice
51 Float_t fBeamEnergy; // beam energy (in GeV)
52 TString fRunType; // run type accoring to ECS (per run)
53 UInt_t fActiveDetectors;// list of active detectors (per run)
55 ClassDef(AliRunInfo,1) // Run info class