]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/RESONANCES/AliRsnCutDaughterType.h
Major upgrade to the package, in order to speed-up the execution and remove some...
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutDaughterType.h
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 // authors: Martin Vala (martin.vala@cern.ch)
9 //          Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it)
10 //
11
12 #ifndef ALIRSNCUTDAUGHTERTYPE_H
13 #define ALIRSNCUTDAUGHTERTYPE_H
14
15 #include "AliRsnCut.h"
16
17 class AliRsnCutDaughterType : public AliRsnCut
18 {
19   public:
20   
21     enum EType
22     {
23       kTrackTPC,
24       kTrackITSSA,
25       kV0,
26       kTypes
27     };
28
29     AliRsnCutDaughterType();
30     AliRsnCutDaughterType(const char *name, EType type);
31     virtual ~AliRsnCutDaughterType() {;};
32
33     virtual Bool_t   IsSelected(TObject *obj1, TObject *obj2 = 0x0);
34
35   protected:
36   
37     EType fRefType;   // type to which the track format is compared
38
39     ClassDef(AliRsnCutDaughterType, 1)
40 };
41
42 #endif