]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliLHCTag.h
Fixes for bug #49914: Compilation breaks in trunk, and bug #48629: Trunk cannot read...
[u/mrichter/AliRoot.git] / STEER / AliLHCTag.h
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
16 #include "TObject.h"
17 #include "TString.h"
18
19 //______________________________________________________________________________
20 class AliLHCTag : public TObject {
21  public:
22   AliLHCTag();
23   virtual ~AliLHCTag();
24   
25   //____________________________________________________//
26   void SetLHCState(TString type) {fLHCState = type;}
27   void SetLuminosity(Float_t lumin) {fLHCLuminosity = lumin;}
28   void SetLHCTag(Float_t lumin, TString type) {fLHCLuminosity = lumin; fLHCState = type; }
29   
30   //____________________________________________________//
31   const char *GetLHCState() {return fLHCState.Data();}
32   Float_t     GetLuminosity() const {return fLHCLuminosity;}
33   
34   //____________________________________________________//
35  private:
36   TString fLHCState;      //LHC run conditions - comments
37   Float_t fLHCLuminosity; //the value of the luminosity
38   
39   ClassDef(AliLHCTag,1)  //(ClassName, ClassVersion)
40 };
41 //______________________________________________________________________________
42
43 #endif