class AliLHCTag : public TObject {
public:
AliLHCTag();
+ AliLHCTag(const AliLHCTag &tag);
virtual ~AliLHCTag();
+ AliLHCTag &operator=(const AliLHCTag &tag);
+
//____________________________________________________//
+ // void SetLHCTag(Float_t lumin, TString type) {fLHCLuminosity = lumin; fLHCState = type; }
+ void UpdateFromRunTable(AliLHCTag &tag);
+
void SetLHCState(TString type) {fLHCState = type;}
void SetLuminosity(Float_t lumin) {fLHCLuminosity = lumin;}
- void SetLHCTag(Float_t lumin, TString type) {fLHCLuminosity = lumin; fLHCState = type; }
+ void SetNBunches(UShort_t nb) { fNBunches = nb; };
+ void SetFillingScheme(TString sch) { fFillingScheme = sch; }
+ void SetFillNo(Int_t fill) { fFillNo = fill; };
+ void SetBeamEnergy(Float_t be) { fBeamEnergy = be; }
+ void SetBunchIntensity(Float_t bi) { fBunchIntensity = bi; }
+
//____________________________________________________//
- const char *GetLHCState() {return fLHCState.Data();}
+ const char *GetLHCState() const {return fLHCState.Data();}
Float_t GetLuminosity() const {return fLHCLuminosity;}
-
+ UShort_t GetNBunches() const {return fNBunches; }
+ TString GetFillingScheme() const {return fFillingScheme; }
+ Int_t GetFillNo() const {return fFillNo; }
+ Float_t GetBeamEnergy() const {return fBeamEnergy; }
+ Float_t GetBunchIntensity() const {return fBunchIntensity; }
+
//____________________________________________________//
private:
- TString fLHCState; //LHC run conditions - comments
- Float_t fLHCLuminosity; //the value of the luminosity
-
- ClassDef(AliLHCTag,1) //(ClassName, ClassVersion)
+ TString fLHCState; //LHC run conditions - comments
+ Float_t fLHCLuminosity; //the value of the luminosity
+ UShort_t fNBunches; //Number of bunches in beam
+ TString fFillingScheme; //Filling scheme name
+ Int_t fFillNo; //Fill number
+ Float_t fBeamEnergy; //Beam energy
+ Float_t fBunchIntensity;//Intensity per bunch
+
+ ClassDef(AliLHCTag,2) //(ClassName, ClassVersion)
};
//______________________________________________________________________________