]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSVertexer3D.h
Removal of the run-loaders from the algorithmic part of the vertexers code. Some...
[u/mrichter/AliRoot.git] / ITS / AliITSVertexer3D.h
1 #ifndef ALIITSVERTEXER3D_H
2 #define ALIITSVERTEXER3D_H
3
4 #include<AliITSVertexer.h>
5
6 ///////////////////////////////////////////////////////////////////
7 //                                                               //
8 // Class for primary vertex finding  (3D reconstruction)         //
9 //                                                               //
10 ///////////////////////////////////////////////////////////////////
11
12 /* $Id$ */
13
14 #include <TClonesArray.h>
15 #include <AliESDVertex.h>
16
17 class AliITSVertexer3D : public AliITSVertexer {
18
19  public:
20
21   AliITSVertexer3D();
22   virtual ~AliITSVertexer3D();
23   virtual AliESDVertex* FindVertexForCurrentEvent(TTree *itsClusterTree);
24   AliESDVertex GetVertex3D() const {return fVert3D;}
25   virtual void PrintStatus() const;
26   void SetCoarseDiffPhiCut(Float_t dphi = 0.5){fCoarseDiffPhiCut=dphi;}
27   void SetCoarseMaxRCut(Float_t rad = 2.5){fCoarseMaxRCut=rad;}
28   void SetMaxRCut(Float_t rad = 0.5){fMaxRCut=rad;}
29   void SetZCutDiamond(Float_t zcut = 14.0){fZCutDiamond=zcut;}
30   void SetMaxZCut(Float_t dz = 0.5){fMaxZCut=dz;}
31   void SetDCAcut(Float_t dca=0.1){fDCAcut=dca;} 
32   void SetDiffPhiMax(Float_t pm = 0.01){fDiffPhiMax = pm;}
33   void SetMeanPSelTracks(Float_t pGeV=0.875){fMeanPSelTrk = pGeV;}
34   void SetMeanPtSelTracks(Float_t ptGeV=0.630){fMeanPtSelTrk = ptGeV;}
35   void SetMeanPPtSelTracks(Float_t fieldTesla);
36
37 protected:
38   AliITSVertexer3D(const AliITSVertexer3D& vtxr);
39   AliITSVertexer3D& operator=(const AliITSVertexer3D& /* vtxr */);
40   Int_t FindTracklets(TTree *itsClusterTree, Int_t optCuts);
41   Int_t Prepare3DVertex(Int_t optCuts);
42   void ResetVert3D();
43
44
45   TClonesArray fLines;      //! array of tracklets
46   AliESDVertex fVert3D;        // 3D Vertex
47   Float_t fCoarseDiffPhiCut; // loose cut on DeltaPhi for RecPoint matching 
48   Float_t fCoarseMaxRCut; // cut on tracklet DCA to Z axis
49   Float_t fMaxRCut; // cut on tracklet DCA to beam axis
50   Float_t fZCutDiamond;   // cut on +-Z of the diamond
51   Float_t fMaxZCut;   // cut on Z distance from estimated vertex
52   Float_t fDCAcut; // cut on tracklet to tracklet and tracklet to vertex DCA
53   Float_t fDiffPhiMax;     // Maximum delta phi allowed among corr. pixels
54   Float_t fMeanPSelTrk; // GeV, mean P for tracks with dphi<0.01 rad
55   Float_t fMeanPtSelTrk; // GeV, mean Pt for tracks with dphi<0.01 rad
56
57   ClassDef(AliITSVertexer3D,6);
58
59 };
60
61 #endif