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 const char *GetRunType() const { return fRunType.Data(); }
40 UInt_t GetDetectorMask() const { return fActiveDetectors; }
41 const char *GetActiveDetectors() const { return AliDAQ::ListOfTriggeredDetectors(fActiveDetectors); }
43 AliRunInfo(const AliRunInfo &evInfo);
44 AliRunInfo& operator= (const AliRunInfo& evInfo);
48 TString fLHCState; // state of the machine as provided by DCS and DAQ log-book (per run)
49 TString fBeamType; // beam type for Alice
50 Float_t fBeamEnergy; // beam energy (in GeV)
51 TString fRunType; // run type accoring to ECS (per run)
52 UInt_t fActiveDetectors;// list of active detectors (per run)
54 ClassDef(AliRunInfo,1) // Run info class