]>
Commit | Line | Data |
---|---|---|
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 | 20 | class AliLHCTag : public TObject { |
f3a97c86 | 21 | public: |
22 | AliLHCTag(); | |
23 | virtual ~AliLHCTag(); | |
24 | ||
fca062ef | 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; } | |
f3a97c86 | 29 | |
fca062ef | 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 | |
f3a97c86 | 38 | |
39 | ClassDef(AliLHCTag,1) //(ClassName, ClassVersion) | |
40 | }; | |
41 | //______________________________________________________________________________ | |
42 | ||
43 | #endif |