]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/RESONANCES/AliRsnCutPrimaryVertex.h
Added an information histogram on *real* number of events contributing to fill each...
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutPrimaryVertex.h
1 //
2 // Class AliRsnCutPrimaryVertex
3 //
4 // This cut implementation checks the quality of event primary vertex.
5 // It currently works only with ESD events (not AOD).
6 //
7 // authors: Martin Vala (martin.vala@cern.ch)
8 //          Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it)
9 //
10
11 #ifndef ALIRSNCUTPRIMARYVERTEX_H
12 #define ALIRSNCUTPRIMARYVERTEX_H
13
14 #include "AliRsnCut.h"
15 #include "AliPID.h"
16
17 #include "Riostream.h"
18 #include "TMath.h"
19
20 #include "AliLog.h"
21 #include "AliESDEvent.h"
22 #include "AliESDVertex.h"
23
24 #include "AliRsnEvent.h"
25
26 class AliRsnEvent;
27 class AliRsnDaughter;
28 class AliRsnPairParticle;
29 class AliRsnCutPrimaryVertex : public AliRsnCut
30 {
31   public:
32
33     AliRsnCutPrimaryVertex(const char *name = "cutPrimVert", Double_t maxVz = 10.0, Int_t minContributors = 1, Bool_t acceptTPC = kFALSE);
34     virtual ~AliRsnCutPrimaryVertex() {;};
35
36     virtual Bool_t IsSelected(TObject *object);
37
38   protected:
39
40     Bool_t fAcceptTPC;  // if kTRUE, the TPC primary vertexes are accepted
41
42     ClassDef(AliRsnCutPrimaryVertex, 1)
43 };
44
45 #endif