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