]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/RESONANCES/AliRsnCutPrimaryVertex.h
Made a general review to fix as possible most coding conventions violations.
[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 "AliRsnCut.h"
16 #include "AliPID.h"
17
18 #include "Riostream.h"
19 #include "TMath.h"
20
21 #include "AliLog.h"
22 #include "AliESDEvent.h"
23 #include "AliESDVertex.h"
24
25 #include "AliRsnEvent.h"
26
27 class AliRsnEvent;
28 class AliRsnDaughter;
29 class AliRsnPairParticle;
30 class AliRsnCutPrimaryVertex : public AliRsnCut
31 {
32   public:
33
34     AliRsnCutPrimaryVertex();
35     AliRsnCutPrimaryVertex(const char *name, Int_t minContributors);
36     virtual ~AliRsnCutPrimaryVertex() {;};
37
38     virtual Bool_t IsSelected(AliRsnCut::ETarget tgt, AliRsnDaughter *daughter) const;
39     virtual Bool_t IsSelected(AliRsnCut::ETarget tgt, AliRsnPairParticle *pair) const;
40     virtual Bool_t IsSelected(ETarget tgt, AliRsnEvent *event);
41     virtual Bool_t IsSelected(ETarget tgt, AliRsnEvent *ev1, AliRsnEvent *ev2) const;
42
43   protected:
44
45     ClassDef(AliRsnCutPrimaryVertex, 1)
46 };
47
48 #endif