]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/RESONANCES/AliRsnCutPrimaryVertex.h
Adde cut selection for primary vertex quality
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutPrimaryVertex.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 ALIRSNCUTPRIMARYVERTEX_H
13 #define ALIRSNCUTPRIMARYVERTEX_H
14
15 #include "AliPID.h"
16 #include "AliRsnCut.h"
17
18 class AliRsnCutPrimaryVertex : public AliRsnCut
19 {
20  public:
21
22   AliRsnCutPrimaryVertex();
23   AliRsnCutPrimaryVertex(const char *name, Int_t minContributors);
24
25   virtual Bool_t IsSelected(ETarget tgt, AliRsnDaughter *daughter);
26   virtual Bool_t IsSelected(ETarget tgt, AliRsnPairParticle *pair);
27   virtual Bool_t IsSelected(ETarget tgt, AliRsnEvent *event);
28   virtual Bool_t IsSelected(ETarget tgt, AliRsnEvent *ev1, AliRsnEvent *ev2);
29
30 protected:
31
32   ClassDef(AliRsnCutPrimaryVertex, 1)
33 };
34
35 #endif