]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliEventCut.h
Change in the signature of base class method Use to avoid compilation warnings (icc)
[u/mrichter/AliRoot.git] / ANALYSIS / AliEventCut.h
index 7c45ba78f703f6931d412f5229296dfc5a57fa57..198fd5b00694a930731c7d9db4330ec98ac7c6c8 100644 (file)
@@ -1,6 +1,6 @@
 #ifndef ALIEVENTCUT_H
 #define ALIEVENTCUT_H
-//________________________________
+
 ///////////////////////////////////////////////////////////
 //
 // class AliEventCut
@@ -9,7 +9,7 @@
 // Each of base event cut checks only one property.
 // Logical base cuts also exists that point to other base cuts.
 // Using them one can build complicated cut with binary tree structure
-//
+// Author: Piotr.Skowronski@cern.ch
 ///////////////////////////////////////////////////////////
 
 #include <TObject.h>
@@ -17,7 +17,6 @@
 #include "AliEventBaseCut.h"
 
 class AliAOD;
-enum EEventCutProperty;
 
 class AliEventCut: public TObject
 {
@@ -30,11 +29,14 @@ class AliEventCut: public TObject
     void           AddBasePartCut(AliEventBaseCut* ebcut);
 
     void           SetNChargedRange(Int_t min,Int_t max, Double_t etamin = -10.0,Double_t etamax = 10.0);
+    void           SetVertexXRange(Double_t min, Double_t max);
+    void           SetVertexYRange(Double_t min, Double_t max);
+    void           SetVertexZRange(Double_t min, Double_t max);
     
   protected:
-    AliEventBaseCut* FindCut(EEventCutProperty prop);
+    AliEventBaseCut* FindCut(AliEventBaseCut::EEventCutProperty prop);
     
-    TObjArray fBaseCuts;
+    TObjArray fBaseCuts; // Array of cuts
   private:
     ClassDef(AliEventCut,1)
 };
@@ -45,7 +47,7 @@ class AliEventEmptyCut: public TObject
     AliEventEmptyCut(){}
     virtual ~AliEventEmptyCut(){}
     
-    Bool_t Rejected(AliAOD* aod) const {return kFALSE;}//always accept
+    Bool_t Rejected(AliAOD* /*aod*/) const {return kFALSE;}//always accept
     
   protected:
   private: