]>
Commit | Line | Data |
---|---|---|
adffbe56 | 1 | #ifndef ALILHCTAGCUTS_H |
2 | #define ALILHCTAGCUTS_H | |
3 | /* See cxx source for full Copyright notice */ | |
4 | ||
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //------------------------------------------------------------------------- | |
9 | // Class AliLHCTagCuts | |
10 | // This is the class for the cuts in run tags | |
11 | // | |
12 | // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch | |
13 | //------------------------------------------------------------------------- | |
14 | ||
15 | #include <TObject.h> | |
16 | ||
17 | class AliLHCTag; | |
18 | ||
19 | //___________________________________________________________________________ | |
20 | class AliLHCTagCuts : public TObject { | |
21 | public: | |
22 | AliLHCTagCuts(); | |
23 | ~AliLHCTagCuts(); | |
24 | void Reset(); | |
25 | ||
26 | //____________________________________________________// | |
27 | void SetLHCState(TString state) {fLHCState = state; fLHCStateFlag = kTRUE;} | |
28 | void SetLHCLuminosityRange(Float_t low, Float_t high) {fLHCLuminosityMin = low; fLHCLuminosityMax = high; fLHCLuminosityFlag = kTRUE;} | |
29 | ||
30 | Bool_t IsAccepted(AliLHCTag *lhcTag) const; | |
31 | ||
32 | //____________________________________________________// | |
33 | private: | |
34 | TString fLHCState; //LHC State | |
35 | Bool_t fLHCStateFlag; //Shows whether this cut is used or | |
36 | Float_t fLHCLuminosityMin; //LHC luminosity - min | |
37 | Float_t fLHCLuminosityMax; //LHC luminosity - max | |
38 | Bool_t fLHCLuminosityFlag; //Shows whether this cut is used or | |
39 | ||
40 | ClassDef(AliLHCTagCuts, 1) | |
41 | }; | |
42 | ||
43 | #endif |