]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSVertexer3D.h
reading RAW without data
[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 <AliESDVertex.h>
15
16 class TClonesArray;
17 class AliITSVertexer3D : public AliITSVertexer {
18
19  public:
20
21   AliITSVertexer3D();
22   AliITSVertexer3D(TString filename);
23   virtual ~AliITSVertexer3D();
24   virtual AliESDVertex* FindVertexForCurrentEvent(Int_t evnumb);
25   virtual void FindVertices();
26   AliESDVertex GetVertex3D() const {return fVert3D;}
27 //   virtual void MakeTracklet(Double_t *pA, Double_t *pB, Int_t &nolines); */
28 //   virtual void MakeTracklet(Float_t *pA, Float_t *pB, Int_t &nolines); */
29   virtual void PrintStatus() const;
30   void SetCoarseDiffPhiCut(Float_t dphi = 0.5){fCoarseDiffPhiCut=dphi;}
31   void SetCoarseMaxRCut(Float_t rad = 2.5){fCoarseMaxRCut=rad;}
32   void SetMaxRCut(Float_t rad = 0.5){fMaxRCut=rad;}
33   void SetZCutDiamond(Float_t zcut = 14.0){fZCutDiamond=zcut;}
34   void SetMaxZCut(Float_t dz = 0.5){fMaxZCut=dz;}
35   void SetDCAcut(Float_t dca=0.1){fDCAcut=dca;} 
36   void SetDiffPhiMax(Float_t pm = 0.01){fDiffPhiMax = pm;}
37   void SetMeanPSelTracks(Float_t pGeV=0.875){fMeanPSelTrk = pGeV;}
38   void SetMeanPtSelTracks(Float_t ptGeV=0.630){fMeanPtSelTrk = ptGeV;}
39   void SetMeanPPtSelTracks(Float_t fieldTesla);
40
41 protected:
42   AliITSVertexer3D(const AliITSVertexer3D& vtxr);
43   AliITSVertexer3D& operator=(const AliITSVertexer3D& /* vtxr */);
44   Int_t FindTracklets(Int_t evnumber, Int_t optCuts);
45   Int_t Prepare3DVertex(Int_t optCuts);
46   void ResetVert3D();
47
48
49   TClonesArray *fLines;      //! array of tracklets
50   AliESDVertex fVert3D;        // 3D Vertex
51   Float_t fCoarseDiffPhiCut; // loose cut on DeltaPhi for RecPoint matching 
52   Float_t fCoarseMaxRCut; // cut on tracklet DCA to Z axis
53   Float_t fMaxRCut; // cut on tracklet DCA to beam axis
54   Float_t fZCutDiamond;   // cut on +-Z of the diamond
55   Float_t fMaxZCut;   // cut on Z distance from estimated vertex
56   Float_t fDCAcut; // cut on tracklet to tracklet and tracklet to vertex DCA
57   Float_t fDiffPhiMax;     // Maximum delta phi allowed among corr. pixels
58   Float_t fMeanPSelTrk; // GeV, mean P for tracks with dphi<0.01 rad
59   Float_t fMeanPtSelTrk; // GeV, mean Pt for tracks with dphi<0.01 rad
60
61   ClassDef(AliITSVertexer3D,3);
62
63 };
64
65 #endif