New version including the full 3D vertex finder
[u/mrichter/AliRoot.git] / ITS / AliITSVertex.h
... / ...
CommitLineData
1#ifndef ALIITSVERTEX_H
2#define ALIITSVERTEX_H
3
4class TTree;
5class TFile;
6class AliITSgeom;
7class AliITSRecPoint;
8class TH1F;
9class TF1;
10class TClonesArray;
11class TObject;
12class AliGenerator;
13
14class AliITSVertex : public TObject {
15
16 public:
17
18 AliITSVertex();
19 ~AliITSVertex();
20 Double_t PhiFunc(Float_t p[]);
21
22// This class determines 3D vertex position, resolution and signal
23// to noise ratio, for arbitrary location (x,y,z) of the vertex.
24// Tests have been carried out with vertex locations up to radial
25// distances of 10 mm in the transverse plane and up to 15 cm along z.
26// The procedure has been tested also in case of high magnetic fields
27// in ALICE, up to B = 0.5 T.
28
29 Double_t GetZv() {return (Double_t)fPosition[2];}
30 Double_t GetZRes() {return fResolution[2];}
31 Double_t GetZSNR() {return fSNR[2];}
32 Double_t GetYv() {return (Double_t)fPosition[1];}
33 Double_t GetYRes() {return fResolution[1];}
34 Double_t GetYSNR() {return fSNR[1];}
35 Double_t GetXv() {return (Double_t)fPosition[0];}
36 Double_t GetXRes() {return fResolution[0];}
37 Double_t GetXSNR() {return fSNR[0];}
38
39 private:
40
41 Double_t *fPosition;
42 Double_t *fResolution;
43 Double_t *fSNR;
44
45ClassDef(AliITSVertex,1) // Class for Vertex finder
46};
47
48#endif