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 // author: Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it)
11 #ifndef ALIRSNCUTMOMENTUMCOMPARISON_H
12 #define ALIRSNCUTMOMENTUMCOMPARISON_H
14 #include "AliRsnCut.h"
16 class AliRsnCutMomentumComparison : public AliRsnCut {
26 AliRsnCutMomentumComparison(const char *name = "cutMomComparison", EMode mode = kFirstLargerPt);
27 AliRsnCutMomentumComparison(const AliRsnCutMomentumComparison& copy);
28 AliRsnCutMomentumComparison& operator=(const AliRsnCutMomentumComparison& copy);
29 virtual ~AliRsnCutMomentumComparison() {;};
31 virtual Bool_t IsSelected(TObject *object);
35 EMode fMode; // comparison mode
37 ClassDef(AliRsnCutMomentumComparison, 1)