3e87ef69 |
1 | // @(#) $Id$ |
2 | |
6e6ad594 |
3 | #ifndef ALIL3VERTEX_H |
4 | #define ALIL3VERTEX_H |
108615fc |
5 | |
6e6ad594 |
6 | class AliL3VertexData; |
108615fc |
7 | |
8 | class AliL3Vertex { |
108615fc |
9 | |
10 | public: |
11 | AliL3Vertex(); |
6e6ad594 |
12 | |
108615fc |
13 | virtual ~AliL3Vertex(); |
6e6ad594 |
14 | |
108615fc |
15 | void SetZero(); |
6e6ad594 |
16 | void Read(const AliL3VertexData *vertex); |
108615fc |
17 | |
6e6ad594 |
18 | Double_t GetX() const {return fX;} |
19 | Double_t GetY() const {return fY;} |
20 | Double_t GetZ() const {return fZ;} |
108615fc |
21 | Double_t GetXErr() const {return fXErr;} |
22 | Double_t GetYErr() const {return fYErr;} |
23 | Double_t GetZErr() const {return fZErr;} |
24 | Double_t GetPhi() const {return fPhi;} |
25 | Double_t GetR() const {return fR;} |
26 | Double_t GetXYWeight() const {return fMWxy;} |
27 | void SetX(Double_t f) {fX=f;} |
28 | void SetY(Double_t f) {fY=f;} |
29 | void SetZ(Double_t f) {fZ=f;} |
30 | void SetXErr(Double_t f) {fXErr=f;} |
31 | void SetYErr(Double_t f) {fYErr=f;} |
32 | void SetZErr(Double_t f) {fZErr=f;} |
108615fc |
33 | void SetXYWeight(Double_t f) {fMWxy = f;} |
6e6ad594 |
34 | |
35 | private: |
36 | AliL3Vertex(const AliL3Vertex&){;} |
37 | AliL3Vertex& operator=(const AliL3Vertex&){return *this;} |
38 | |
39 | Double_t fX; //x |
40 | Double_t fY; //y |
41 | Double_t fZ; //z |
42 | Double_t fPhi; //phi |
43 | Double_t fR; //R |
44 | Double_t fXErr; //error in x |
45 | Double_t fYErr; //error in z |
46 | Double_t fZErr; //error in y |
47 | Double_t fMWxy; //weight |
108615fc |
48 | |
b661165c |
49 | ClassDef(AliL3Vertex,1) // Vertex base class |
108615fc |
50 | }; |
51 | #endif |