]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSVertexerIons.h
Fixes for Savannah bug 72578.
[u/mrichter/AliRoot.git] / ITS / AliITSVertexerIons.h
CommitLineData
c5f0f3c1 1#ifndef ALIITSVERTEXERIONS_H
2#define ALIITSVERTEXERIONS_H
3
4#include <AliITSVertexer.h>
5
6//////////////////////////////////////////////////////////////////////
fe4280bf 7// AliITSVertexerIons is a class for full 3D primary vertex //
c5f0f3c1 8// finding optimized for Ion-Ion interactions //
9// //
10// //
11// //
12// //
13// Written by Giuseppe Lo Re and Francesco Riggi //
14// Giuseppe.Lore@ct.infn.it //
c5f0f3c1 15// Franco.Riggi@ct.infn.it //
16// //
fe4280bf 17// Release date: Mar 2004 //
c5f0f3c1 18// //
19// //
20//////////////////////////////////////////////////////////////////////
21
7d62fb64 22
b5d712e2 23class TH1F;
c5f0f3c1 24
25class AliITSVertexerIons : public AliITSVertexer {
26
27 public:
28 AliITSVertexerIons();
c5f0f3c1 29 virtual ~AliITSVertexerIons(); // destructor
308c2f7c 30 virtual AliESDVertex* FindVertexForCurrentEvent(TTree *itsClusterTree);
fe4280bf 31 virtual void PhiFunc(Double_t &x,Double_t &y,Double_t &phi);
c5f0f3c1 32 virtual void PrintStatus() const;
83028144 33 Int_t GetNpThreshold() const {return fNpThreshold;}
fe4280bf 34 void SetNpThreshold(Int_t t = 500){fNpThreshold = t;}
35 Double_t GetMaxDeltaPhi() const {return fMaxDeltaPhi;}
36 void SetMaxDeltaPhi(Double_t dphi=0.45) {fMaxDeltaPhi=dphi;}
37 Double_t GetMaxDeltaZ() const {return fMaxDeltaPhi;}
38 void SetMaxDeltaZ(Double_t dz=0.15) {fMaxDeltaZ=dz;}
39 Double_t FindMaxAround(Double_t point, TH1F *h, Double_t distance);
7d62fb64 40
c5f0f3c1 41 protected:
7d62fb64 42
83028144 43 Int_t fNpThreshold; // minimum number of rec points for vertexing
b5d712e2 44 Double_t fMaxDeltaPhi; // Maximum phi difference for rec points correlation
45 Double_t fMaxDeltaZ; // Maximum z difference for rec points correlation
46 AliITSVertexerIons(const AliITSVertexerIons &source); // copy constructor (NO copy allowed: the constructor is protected to avoid misuse)
47 AliITSVertexerIons& operator=(const AliITSVertexerIons &source); // assignment operator (NO assignment allowed)
c5f0f3c1 48
308c2f7c 49 ClassDef(AliITSVertexerIons,5);
c5f0f3c1 50};
51
52#endif