]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/RESONANCES/AliRsnCutESDCutMultiplicity.h
Added cut for checking multiplicity and done some adaptments for AOD analysis with...
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutESDCutMultiplicity.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 ALIRSNCUTESDCUTMULTIPLICITY_H
13 #define ALIRSNCUTESDCUTMULTIPLICITY_H
14
15 #include "AliESDtrackCuts.h"
16 #include "AliRsnCut.h"
17
18 class AliRsnCutESDCutMultiplicity : public AliRsnCut
19 {
20   public:
21
22     AliRsnCutESDCutMultiplicity();
23     AliRsnCutESDCutMultiplicity(const char *name, Int_t min, Int_t max);
24     virtual ~AliRsnCutESDCutMultiplicity() {;};
25
26     const AliESDtrackCuts* GetCuts() const {return &fCuts;}
27     virtual Bool_t IsSelected(TObject *obj1, TObject *obj2 = 0x0);
28
29   protected:
30
31     AliESDtrackCuts fCuts;  // set of ESD track cuts
32
33     ClassDef(AliRsnCutESDCutMultiplicity, 1)
34 };
35
36 #endif