]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSVertex.h
Added AliL3Stopwatch.
[u/mrichter/AliRoot.git] / ITS / AliITSVertex.h
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  
18         AliITSVertex();
19         virtual ~AliITSVertex();
20                   void Exec();
21         Double_t PhiFunc(Float_t p[]);
22
23 //      This class determines 3D vertex position, resolution and signal 
24 //      to noise ratio, for arbitrary location (x,y,z) of the vertex.
25 //      Tests have been carried out with vertex locations up to radial 
26 //      distances of 10 mm in the transverse plane and up to 15 cm along z.
27 //      The procedure has been tested also in case of high magnetic fields
28 //      in ALICE, up to B = 0.5 T.
29
30         Double_t GetZv() {return (Double_t)fPosition[2];}
31         Double_t GetZRes() {return fResolution[2];}
32         Double_t GetZSNR() {return fSNR[2];}
33         Double_t GetYv() {return (Double_t)fPosition[1];}
34         Double_t GetYRes() {return fResolution[1];}
35         Double_t GetYSNR() {return fSNR[1];}
36         Double_t GetXv() {return (Double_t)fPosition[0];}
37         Double_t GetXRes() {return fResolution[0];}
38         Double_t GetXSNR() {return fSNR[0];}
39         
40  private:
41     
42         Double_t *fPosition;
43         Double_t *fResolution;
44         Double_t *fSNR;
45
46 ClassDef(AliITSVertex,1) // Class for Vertex finder
47 };
48
49 #endif