X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=ANALYSIS%2FAliEventCut.h;h=3bc0fcbf23dc7620f02d369155e21b0292e2df22;hp=7c45ba78f703f6931d412f5229296dfc5a57fa57;hb=2d54468654f9c68fac584dbced0e587e800dc6b5;hpb=cea0a06645c65fb78ffff536fa39ca8457da36ca diff --git a/ANALYSIS/AliEventCut.h b/ANALYSIS/AliEventCut.h index 7c45ba78f70..3bc0fcbf23d 100644 --- a/ANALYSIS/AliEventCut.h +++ b/ANALYSIS/AliEventCut.h @@ -17,7 +17,7 @@ #include "AliEventBaseCut.h" class AliAOD; -enum EEventCutProperty; +enum AliEventBaseCut::EEventCutProperty; class AliEventCut: public TObject { @@ -30,9 +30,12 @@ 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(Int_t min,Int_t max); + void SetVertexYRange(Int_t min,Int_t max); + void SetVertexZRange(Int_t min,Int_t max); protected: - AliEventBaseCut* FindCut(EEventCutProperty prop); + AliEventBaseCut* FindCut(AliEventBaseCut::EEventCutProperty prop); TObjArray fBaseCuts; private: @@ -45,7 +48,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: