]>
Commit | Line | Data |
---|---|---|
4dd405ae | 1 | #ifndef ALIDETECTORTAGCUTS_H |
2 | #define ALIDETECTORTAGCUTS_H | |
3 | /* See cxx source for full Copyright notice */ | |
4 | ||
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //------------------------------------------------------------------------- | |
9 | // Class AliDetectorTagCuts | |
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 | #include <TString.h> | |
3ace8f92 | 17 | #include <AliDAQ.h> |
4dd405ae | 18 | |
19 | class AliDetectorTag; | |
20 | ||
21 | //___________________________________________________________________________ | |
22 | class AliDetectorTagCuts : public TObject { | |
23 | public: | |
24 | AliDetectorTagCuts(); | |
25 | ~AliDetectorTagCuts(); | |
d441a006 | 26 | |
4dd405ae | 27 | //____________________________________________________// |
3ace8f92 | 28 | void SetListOfDetectors(const TString& detectors) {fDetectorsDAQ = AliDAQ::DetectorPattern(detectors); fDetectorsReco = AliDAQ::DetectorPattern(detectors); fDetectorsFlag = kTRUE;} |
29 | void SetListOfDetectorsDAQ(const TString& detectors) {fDetectorsDAQ = AliDAQ::DetectorPattern(detectors); fDetectorsFlag = kTRUE;} | |
30 | void SetListOfDetectorsReco(const TString& detectors) {fDetectorsReco = AliDAQ::DetectorPattern(detectors); fDetectorsFlag = kTRUE;} | |
4dd405ae | 31 | |
3ace8f92 | 32 | Bool_t IsAccepted(AliDetectorTag *detTag) const; |
4dd405ae | 33 | |
34 | //____________________________________________________// | |
35 | private: | |
3ace8f92 | 36 | // Bool_t IsSelected(TString detName, TString& detectors) const; |
4dd405ae | 37 | |
3ace8f92 | 38 | // TString fDetectors; //detectors active |
39 | UInt_t fDetectorsReco; //selected detector pattern for Reco | |
40 | UInt_t fDetectorsDAQ; //selected detector pattern for DAQ | |
41 | Bool_t fDetectorsFlag; //cut used or not | |
4dd405ae | 42 | |
3ace8f92 | 43 | ClassDef(AliDetectorTagCuts, 2) |
4dd405ae | 44 | }; |
45 | ||
46 | #endif |