]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ANALYSIS/AliBaseEventCut.h
Pair Check corrected
[u/mrichter/AliRoot.git] / ANALYSIS / AliBaseEventCut.h
1 #ifndef ALIBASEEVENTCUT_H
2 #define ALIBASEEVENTCUT_H
3 //________________________________
4 ///////////////////////////////////////////////////////////
5 //
6 // class AliBaseEventCut
7 //
8 // Base class for cauts that checks only one event property
9 //
10 // Piotr.Skowronski@cern.ch
11 //
12 ///////////////////////////////////////////////////////////
13
14 #include "TObject.h"
15
16 class AliAOD;
17
18 class AliBaseEventCut: public TObject
19 {
20   public: 
21     AliBaseEventCut();
22     virtual ~AliBaseEventCut(){}
23     
24     virtual Bool_t Pass(AliAOD* aod) const;//returns kTRUE if rejected
25   protected:
26     virtual Double_t GetValue(AliAOD* aod) const = 0;
27     
28     Double_t fMin;//Minimum value
29     Double_t fMax;//Maximum value
30   private:
31     ClassDef(AliBaseEventCut,1)
32 };
33
34 #endif