]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/RESONANCES/AliRsnCutPrimaryVertex.h
Fixed bug in the computation of dip angle value
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutPrimaryVertex.h
CommitLineData
96ab9736 1//
ceaa78d3 2// Class AliRsnCutPrimaryVertex
96ab9736 3//
ceaa78d3 4// This cut implementation checks the quality of event primary vertex.
5// It currently works only with ESD events (not AOD).
96ab9736 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
96ab9736 14#include "AliRsnCut.h"
4fbb2459 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"
96ab9736 25
4fbb2459 26class AliRsnEvent;
27class AliRsnDaughter;
28class AliRsnPairParticle;
96ab9736 29class AliRsnCutPrimaryVertex : public AliRsnCut
30{
4fbb2459 31 public:
96ab9736 32
32992791 33 AliRsnCutPrimaryVertex(const char *name = "cutPrimVert", Double_t maxVz = 10.0, Int_t minContributors = 1, Bool_t acceptTPC = kFALSE);
4fbb2459 34 virtual ~AliRsnCutPrimaryVertex() {;};
96ab9736 35
660c46ac 36 void SetCheckPileUp(Bool_t doit = kTRUE) {fCheckPileUp = doit;}
32992791 37 virtual Bool_t IsSelected(TObject *object);
aa24e021 38 virtual void Print(const Option_t *option = "") const;
96ab9736 39
4fbb2459 40 protected:
96ab9736 41
660c46ac 42 Bool_t fAcceptTPC; // if kTRUE, the TPC primary vertexes are accepted
43 Bool_t fCheckPileUp; // check and reject pileupped events (pp)
ceaa78d3 44
4fbb2459 45 ClassDef(AliRsnCutPrimaryVertex, 1)
96ab9736 46};
47
48#endif