]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/AliBaseEventCut.h
Pair Check corrected
[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
a5556ea5 16class AliAOD;
b26900d0 17
18class AliBaseEventCut: public TObject
19{
20 public:
21 AliBaseEventCut();
22 virtual ~AliBaseEventCut(){}
23
a5556ea5 24 virtual Bool_t Pass(AliAOD* aod) const;//returns kTRUE if rejected
b26900d0 25 protected:
a5556ea5 26 virtual Double_t GetValue(AliAOD* aod) const = 0;
b26900d0 27
28 Double_t fMin;//Minimum value
29 Double_t fMax;//Maximum value
30 private:
31 ClassDef(AliBaseEventCut,1)
32};
33
34#endif