Added V0A23 (V0 rings 2-3), V0C01 (V0 rings 0-1) and V0S = V0A23+V0C01
[u/mrichter/AliRoot.git] / STEER / STEERBase / AliLHCTag.h
CommitLineData
f3a97c86 1#ifndef ALILHCTAG_H
2#define ALILHCTAG_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/* $Id$ */
8
9//-------------------------------------------------------------------------
10// Class AliLHCTag
11// This is the class to deal with the tags for the LHC level
12//
13// Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
14//-------------------------------------------------------------------------
15
f3a97c86 16#include "TObject.h"
fca062ef 17#include "TString.h"
f3a97c86 18
19//______________________________________________________________________________
fca062ef 20class AliLHCTag : public TObject {
f3a97c86 21 public:
22 AliLHCTag();
04cb11d4 23 AliLHCTag(const AliLHCTag &tag);
f3a97c86 24 virtual ~AliLHCTag();
25
04cb11d4 26 AliLHCTag &operator=(const AliLHCTag &tag);
27
fca062ef 28 //____________________________________________________//
04cb11d4 29 // void SetLHCTag(Float_t lumin, TString type) {fLHCLuminosity = lumin; fLHCState = type; }
30 void UpdateFromRunTable(AliLHCTag &tag);
31
fca062ef 32 void SetLHCState(TString type) {fLHCState = type;}
33 void SetLuminosity(Float_t lumin) {fLHCLuminosity = lumin;}
04cb11d4 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; }
39
f3a97c86 40
fca062ef 41 //____________________________________________________//
04cb11d4 42 const char *GetLHCState() const {return fLHCState.Data();}
fca062ef 43 Float_t GetLuminosity() const {return fLHCLuminosity;}
04cb11d4 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; }
49
fca062ef 50 //____________________________________________________//
51 private:
04cb11d4 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
59
60 ClassDef(AliLHCTag,2) //(ClassName, ClassVersion)
f3a97c86 61};
62//______________________________________________________________________________
63
64#endif