]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/RESONANCES/AliRsnCutESDPrimary.h
Made a general review to fix as possible most coding conventions violations.
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutESDPrimary.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 ALIRSNCUTESDPRIMARY_H
13 #define ALIRSNCUTESDPRIMARY_H
14
15 #include "AliESDtrackCuts.h"
16 #include "AliRsnCut.h"
17
18 class AliRsnCutESDPrimary : public AliRsnCut
19 {
20   public:
21
22     AliRsnCutESDPrimary();
23     AliRsnCutESDPrimary(const char *name);
24     virtual ~AliRsnCutESDPrimary() {;};
25
26     AliESDtrackCuts* GetCuts() {return &fCuts;}
27
28     virtual Bool_t IsSelected(AliRsnCut::ETarget tgt, AliRsnDaughter*const daughter);
29     virtual Bool_t IsSelected(ETarget tgt, AliRsnPairParticle *pair);
30     virtual Bool_t IsSelected(ETarget tgt, AliRsnEvent *event);
31     virtual Bool_t IsSelected(ETarget tgt, AliRsnEvent *ev1, AliRsnEvent *ev2);
32
33   protected:
34
35     AliESDtrackCuts fCuts;  // set of ESD track cuts
36
37     ClassDef(AliRsnCutESDPrimary, 1)
38 };
39
40 #endif