Changes for #82873: Module debugging broken (Christian)
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutMomentumComparison.h
CommitLineData
cb0f5af6 1//
2// Class AliRsnCutRange
3//
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.
7//
8// author: Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it)
9//
10
11#ifndef ALIRSNCUTMOMENTUMCOMPARISON_H
12#define ALIRSNCUTMOMENTUMCOMPARISON_H
13
14#include "AliRsnCut.h"
15
16class AliRsnCutMomentumComparison : public AliRsnCut {
17public:
18
19 enum EMode {
20 kFirstLargerP,
21 kFirstSmallerP,
22 kFirstLargerPt,
23 kFirstSmallerPt
24 };
25
26 AliRsnCutMomentumComparison(const char *name = "cutMomComparison", EMode mode = kFirstLargerPt);
27 AliRsnCutMomentumComparison(const AliRsnCutMomentumComparison& copy);
28 AliRsnCutMomentumComparison& operator=(const AliRsnCutMomentumComparison& copy);
29 virtual ~AliRsnCutMomentumComparison() {;};
30
31 virtual Bool_t IsSelected(TObject *object);
32
33protected:
34
35 EMode fMode; // comparison mode
36
37 ClassDef(AliRsnCutMomentumComparison, 1)
38};
39
40#endif