2 // Class AliRsnCutRange
4 // General implementation of cuts which check a value inside a range.
5 // This range can be defined by two integers or two doubles.
6 // A user-friendly enumeration allows to define what is checked.
8 // authors: Martin Vala (martin.vala@cern.ch)
9 // Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it)
12 #ifndef ALIRSNCUTSTD_H
13 #define ALIRSNCUTSTD_H
15 #include "AliRsnCut.h"
17 class AliRsnCutStd : public AliRsnCut
21 // available cut types
22 // some ones work both for pairs and single tracks
43 // cut without reference values
52 AliRsnCutStd(const char *name, EType type, Int_t val1, Int_t val2 = 0, Bool_t useMC = kFALSE);
53 AliRsnCutStd(const char *name, EType type, ULong_t val1, ULong_t val2 = 0, Bool_t useMC = kFALSE);
54 AliRsnCutStd(const char *name, EType type, Double_t val1, Double_t val2 = 0.0, Bool_t useMC = kFALSE);
55 virtual ~AliRsnCutStd() { }
57 virtual Bool_t IsSelected(ETarget tgt, AliRsnDaughter *daughter);
58 virtual Bool_t IsSelected(ETarget tgt, AliRsnPairParticle *pair);
59 virtual Bool_t IsSelected(ETarget tgt, AliRsnEvent *event);
60 virtual Bool_t IsSelected(ETarget tgt, AliRsnEvent *ev1, AliRsnEvent *ev2);
64 EType fType; // cut type
65 Bool_t fUseMC; // use or not MC values (when applicable)
67 ClassDef(AliRsnCutStd, 1)