Cut Property enum moved to BaseCut -> Not to pollute global name space
[u/mrichter/AliRoot.git] / ANALYSIS / AliEventCut.h
index 7c45ba78f703f6931d412f5229296dfc5a57fa57..ec03a6c44c45cf1ba32876cb5108b4c162c659d6 100644 (file)
@@ -17,7 +17,7 @@
 #include "AliEventBaseCut.h"
 
 class AliAOD;
-enum EEventCutProperty;
+enum AliEventBaseCut::EEventCutProperty;
 
 class AliEventCut: public TObject
 {
@@ -32,7 +32,7 @@ class AliEventCut: public TObject
     void           SetNChargedRange(Int_t min,Int_t max, Double_t etamin = -10.0,Double_t etamax = 10.0);
     
   protected:
-    AliEventBaseCut* FindCut(EEventCutProperty prop);
+    AliEventBaseCut* FindCut(AliEventBaseCut::EEventCutProperty prop);
     
     TObjArray fBaseCuts;
   private:
@@ -45,7 +45,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: