3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 //-------------------------------------------------------------------------
11 // This is the class to deal with the tags for the LHC level
13 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
14 //-------------------------------------------------------------------------
19 //______________________________________________________________________________
20 class AliLHCTag : public TObject {
23 AliLHCTag(const AliLHCTag &tag);
26 AliLHCTag &operator=(const AliLHCTag &tag);
28 //____________________________________________________//
29 // void SetLHCTag(Float_t lumin, TString type) {fLHCLuminosity = lumin; fLHCState = type; }
30 void UpdateFromRunTable(AliLHCTag &tag);
32 void SetLHCState(TString type) {fLHCState = type;}
33 void SetLuminosity(Float_t lumin) {fLHCLuminosity = lumin;}
34 void SetNBunches(UShort_t nb) { fNBunches = nb; };
35 void SetFillingScheme(TString sch) { fFillingScheme = sch; }
36 void SetFillNo(Int_t fill) { fFillNo = fill; };
37 void SetBeamEnergy(Float_t be) { fBeamEnergy = be; }
38 void SetBunchIntensity(Float_t bi) { fBunchIntensity = bi; }
41 //____________________________________________________//
42 const char *GetLHCState() const {return fLHCState.Data();}
43 Float_t GetLuminosity() const {return fLHCLuminosity;}
44 UShort_t GetNBunches() const {return fNBunches; }
45 TString GetFillingScheme() const {return fFillingScheme; }
46 Int_t GetFillNo() const {return fFillNo; }
47 Float_t GetBeamEnergy() const {return fBeamEnergy; }
48 Float_t GetBunchIntensity() const {return fBunchIntensity; }
50 //____________________________________________________//
52 TString fLHCState; //LHC run conditions - comments
53 Float_t fLHCLuminosity; //the value of the luminosity
54 UShort_t fNBunches; //Number of bunches in beam
55 TString fFillingScheme; //Filling scheme name
56 Int_t fFillNo; //Fill number
57 Float_t fBeamEnergy; //Beam energy
58 Float_t fBunchIntensity;//Intensity per bunch
60 ClassDef(AliLHCTag,2) //(ClassName, ClassVersion)
62 //______________________________________________________________________________