ROOT logo
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. */
/* See cxx source for full Copyright notice */
/* $Id$ */

// AliFlowEventSimpleCuts:
// An event cut base class
// origin: Mikolaj Krzewicki (mikolaj.krzewicki@cern.ch)

#ifndef ALIFLOWEVENTSIMPLECUTS_H
#define ALIFLOWEVENTSIMPLECUTS_H

#include "TNamed.h"

class AliFlowEventSimpleCuts : public TNamed {

 public:
  AliFlowEventSimpleCuts();
  AliFlowEventSimpleCuts(const char* name, const char* title = "AliFlowEventSimpleCuts");
  AliFlowEventSimpleCuts(const AliFlowEventSimpleCuts& someCuts);
  AliFlowEventSimpleCuts& operator=(const AliFlowEventSimpleCuts& someCuts);
  virtual  ~AliFlowEventSimpleCuts();
  
  virtual Bool_t IsSelected(TObject* obj, TObject* mcobj);
  virtual void SetCentralityPercentileRange(Float_t min, Float_t max){ fCentralityPercentileMin=min;
                                                               fCentralityPercentileMax=max;
                                                               fCutCentralityPercentile=kTRUE; }

 protected:
  Bool_t fCutCentralityPercentile; //cut on centrality perc. from AliESDCentrality
  Float_t fCentralityPercentileMax; // max centr. perc
  Float_t fCentralityPercentileMin; // min centr. perc

  ClassDef(AliFlowEventSimpleCuts,1)
};

#endif


 AliFlowEventSimpleCuts.h:1
 AliFlowEventSimpleCuts.h:2
 AliFlowEventSimpleCuts.h:3
 AliFlowEventSimpleCuts.h:4
 AliFlowEventSimpleCuts.h:5
 AliFlowEventSimpleCuts.h:6
 AliFlowEventSimpleCuts.h:7
 AliFlowEventSimpleCuts.h:8
 AliFlowEventSimpleCuts.h:9
 AliFlowEventSimpleCuts.h:10
 AliFlowEventSimpleCuts.h:11
 AliFlowEventSimpleCuts.h:12
 AliFlowEventSimpleCuts.h:13
 AliFlowEventSimpleCuts.h:14
 AliFlowEventSimpleCuts.h:15
 AliFlowEventSimpleCuts.h:16
 AliFlowEventSimpleCuts.h:17
 AliFlowEventSimpleCuts.h:18
 AliFlowEventSimpleCuts.h:19
 AliFlowEventSimpleCuts.h:20
 AliFlowEventSimpleCuts.h:21
 AliFlowEventSimpleCuts.h:22
 AliFlowEventSimpleCuts.h:23
 AliFlowEventSimpleCuts.h:24
 AliFlowEventSimpleCuts.h:25
 AliFlowEventSimpleCuts.h:26
 AliFlowEventSimpleCuts.h:27
 AliFlowEventSimpleCuts.h:28
 AliFlowEventSimpleCuts.h:29
 AliFlowEventSimpleCuts.h:30
 AliFlowEventSimpleCuts.h:31
 AliFlowEventSimpleCuts.h:32
 AliFlowEventSimpleCuts.h:33
 AliFlowEventSimpleCuts.h:34
 AliFlowEventSimpleCuts.h:35
 AliFlowEventSimpleCuts.h:36
 AliFlowEventSimpleCuts.h:37
 AliFlowEventSimpleCuts.h:38