First prototype the analysis framework
[u/mrichter/AliRoot.git] / ANALYSIS / AliBaseEventCut.h
CommitLineData
b26900d0 1#ifndef ALIBASEEVENTCUT_H
2#define ALIBASEEVENTCUT_H
3//________________________________
4///////////////////////////////////////////////////////////
5//
6// class AliBaseEventCut
7//
8// Base class for cauts that checks only one event property
9//
10// Piotr.Skowronski@cern.ch
11//
12///////////////////////////////////////////////////////////
13
14#include "TObject.h"
15
16class AliESD;
17
18class AliBaseEventCut: public TObject
19{
20 public:
21 AliBaseEventCut();
22 virtual ~AliBaseEventCut(){}
23
24 virtual Bool_t Pass(AliESD* esd) const;//returns kTRUE if rejected
25 protected:
26 virtual Double_t GetValue(AliESD* esd) const = 0;
27
28 Double_t fMin;//Minimum value
29 Double_t fMax;//Maximum value
30 private:
31 ClassDef(AliBaseEventCut,1)
32};
33
34#endif