]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG/FLOW/Base/AliFlowEventSimpleCuts.h
initial checkin of the new flow development - from an OLD diff!
[u/mrichter/AliRoot.git] / PWG / FLOW / Base / AliFlowEventSimpleCuts.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. */
2 /* See cxx source for full Copyright notice */
3 /* $Id$ */
4
5 // AliFlowEventSimpleCuts:
6 // An event cut base class
7 // origin: Mikolaj Krzewicki (mikolaj.krzewicki@cern.ch)
8
9 #ifndef ALIFLOWEVENTSIMPLECUTS_H
10 #define ALIFLOWEVENTSIMPLECUTS_H
11
12 #include "TNamed.h"
13
14 class AliFlowEventSimpleCuts : public TNamed {
15
16  public:
17   AliFlowEventSimpleCuts();
18   AliFlowEventSimpleCuts(const char* name, const char* title = "AliFlowEventSimpleCuts");
19   AliFlowEventSimpleCuts(const AliFlowEventSimpleCuts& someCuts);
20   AliFlowEventSimpleCuts& operator=(const AliFlowEventSimpleCuts& someCuts);
21   virtual  ~AliFlowEventSimpleCuts();
22   
23   virtual Bool_t IsSelected(TObject* obj, TObject* mcobj);
24   virtual void SetCentralityPercentileRange(Float_t min, Float_t max){ fCentralityPercentileMin=min;
25                                                                fCentralityPercentileMax=max;
26                                                                fCutCentralityPercentile=kTRUE; }
27
28  protected:
29   Bool_t fCutCentralityPercentile; //cut on centrality perc. from AliESDCentrality
30   Float_t fCentralityPercentileMax; // max centr. perc
31   Float_t fCentralityPercentileMin; // min centr. perc
32
33   ClassDef(AliFlowEventSimpleCuts,1)
34 };
35
36 #endif
37
38