]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliDetectorTagCuts.h
PreReading of MC information on demand.
[u/mrichter/AliRoot.git] / STEER / AliDetectorTagCuts.h
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>
17
18 class AliDetectorTag;
19
20 //___________________________________________________________________________
21 class AliDetectorTagCuts : public TObject {
22  public:
23   AliDetectorTagCuts();
24   ~AliDetectorTagCuts();
25    
26  //____________________________________________________//
27   void SetListOfDetectors(const TString& detectors) {fDetectors = detectors; fDetectorsFlag = kTRUE;}
28  
29   Bool_t IsAccepted(AliDetectorTag *lhcTag) const;
30
31   //____________________________________________________//
32  private:
33   Bool_t  IsSelected(TString detName, TString& detectors) const;
34
35   TString fDetectors; //detectors active
36   Bool_t  fDetectorsFlag; //cut used or not
37   
38   ClassDef(AliDetectorTagCuts, 1)
39 };
40
41 #endif