]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliEventBaseCut.h
Incrementing class versions
[u/mrichter/AliRoot.git] / ANALYSIS / AliEventBaseCut.h
index c50d19fbd1961aa4f01651ec8e5b4bff1ff30954..2faed28f9b7cf4bc14505e5576a27df7513145f8 100644 (file)
 
 class AliAOD;
 
-enum EEventCutProperty
- {
-   kPrimVertexXCut,
-   kPrimVertexYCut,
-   kPrimVertexZCut,
-   kNChargedCut,
-   kNone
- };
-
 class AliEventBaseCut: public TObject
 {
   public: 
+    enum EEventCutProperty {
+       kPrimVertexXCut,kPrimVertexYCut,kPrimVertexZCut,
+       kNChargedCut,kNone
+     };
+
     AliEventBaseCut();
     AliEventBaseCut(Double_t min,Double_t max, EEventCutProperty prop = kNone);
     virtual ~AliEventBaseCut(){}
-    virtual Bool_t Pass(AliAOD* aod) const;//returns kTRUE if rejected
+    virtual Bool_t Rejected(AliAOD* aod) const;//returns kTRUE if rejected
     virtual void   SetRange(Double_t min, Double_t max){fMin = min; fMax = max;}
 
     virtual EEventCutProperty GetProperty()const{return fProperty;}
@@ -97,7 +93,7 @@ class AliNChargedCut: public AliEventBaseCut
 {
  public: 
    AliNChargedCut():AliEventBaseCut(0,0,kNChargedCut){}
-   AliNChargedCut(Double_t min, Double_t max, Double_t etamin = -10.0, Double_t etamax = 10.0):
+   AliNChargedCut(Int_t min, Int_t max, Double_t etamin = -10.0, Double_t etamax = 10.0):
        AliEventBaseCut(min,max,kNChargedCut),fEtaMin(etamin),fEtaMax(etamax){}
    virtual ~AliNChargedCut(){}