]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/src/AliL3Vertex.h
Coding violation fixes.
[u/mrichter/AliRoot.git] / HLT / src / AliL3Vertex.h
1 // @(#) $Id$
2
3 #ifndef ALIL3VERTEX_H
4 #define ALIL3VERTEX_H
5
6 class AliL3VertexData;
7
8 class AliL3Vertex {
9
10   public:
11     AliL3Vertex(); 
12
13     virtual ~AliL3Vertex();
14
15     void SetZero();
16     void Read(const AliL3VertexData *vertex);
17
18     Double_t GetX()    const {return fX;}
19     Double_t GetY()    const {return fY;}
20     Double_t GetZ()    const {return fZ;}
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;}
33     void SetXYWeight(Double_t f) {fMWxy = f;}
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
48  
49     ClassDef(AliL3Vertex,1)  // Vertex base class
50 };
51 #endif