]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSVertex.h
New versions which work both with v5 and vPPR geometries
[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         ~AliITSVertex();
20         Double_t PhiFunc(Float_t p[]);
21
22 //      At present this class determines vertex position, resolution and signal 
23 //      to noise ratio only for the z coordinate. For x and y coordinates it 
24 //      gives the values x and y setted in Config.C with resolution and signal 
25 //      to noise ratio values = 0.
26 //      The cases of beam off-set and magnetic field = 0.4 T are included.
27
28         Double_t GetZv() {return (Double_t)fPosition[2];}
29         Double_t GetZRes() {return fResolution[2];}
30         Double_t GetZSNR() {return fSNR[2];}
31         Double_t GetYv() {return (Double_t)fPosition[1];}
32         Double_t GetYRes() {return fResolution[1];}
33         Double_t GetYSNR() {return fSNR[1];}
34         Double_t GetXv() {return (Double_t)fPosition[0];}
35         Double_t GetXRes() {return fResolution[0];}
36         Double_t GetXSNR() {return fSNR[0];}
37         
38  private:
39     
40         Double_t *fPosition;
41         Double_t *fResolution;
42         Double_t *fSNR;
43
44 ClassDef(AliITSVertex,1) // Class for Vertex finder
45 };
46
47 #endif