1 #ifndef ALIDETECTORTAGCUTS_H
2 #define ALIDETECTORTAGCUTS_H
3 /* See cxx source for full Copyright notice */
8 //-------------------------------------------------------------------------
9 // Class AliDetectorTagCuts
10 // This is the class for the cuts in run tags
12 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13 //-------------------------------------------------------------------------
21 //___________________________________________________________________________
22 class AliDetectorTagCuts : public TObject {
25 ~AliDetectorTagCuts();
27 //____________________________________________________//
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;}
32 Bool_t IsAccepted(AliDetectorTag *detTag) const;
34 //____________________________________________________//
36 // Bool_t IsSelected(TString detName, TString& detectors) const;
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
43 ClassDef(AliDetectorTagCuts, 2)