New class for vertex finding
[u/mrichter/AliRoot.git] / ITS / AliITSVertex.h
CommitLineData
504de69b 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// 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
44ClassDef(AliITSVertex,1) // Class for Vertex finder
45};
46
47#endif