]>
Commit | Line | Data |
---|---|---|
8fa6a5fa MK |
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 |