504de69b |
1 | #ifndef ALIITSVERTEX_H |
2 | #define ALIITSVERTEX_H |
3 | |
4 | class TTree; |
5 | class TFile; |
6 | class AliITSgeom; |
7 | class AliITSRecPoint; |
8 | class TH1F; |
9 | class TF1; |
10 | class TClonesArray; |
11 | class TObject; |
12 | class AliGenerator; |
13 | |
14 | class AliITSVertex : public TObject { |
15 | |
16 | public: |
17 | |
6b88f180 |
18 | AliITSVertex(); |
19 | ~AliITSVertex(); |
20 | Double_t PhiFunc(Float_t p[]); |
504de69b |
21 | |
6b88f180 |
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. |
504de69b |
28 | |
6b88f180 |
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];} |
504de69b |
38 | |
39 | private: |
40 | |
6b88f180 |
41 | Double_t *fPosition; |
42 | Double_t *fResolution; |
43 | Double_t *fSNR; |
504de69b |
44 | |
45 | ClassDef(AliITSVertex,1) // Class for Vertex finder |
46 | }; |
47 | |
48 | #endif |