L3 becomes HLT
[u/mrichter/AliRoot.git] / HLT / src / AliHLTVertex.h
CommitLineData
3e87ef69 1// @(#) $Id$
2
6e6ad594 3#ifndef ALIL3VERTEX_H
4#define ALIL3VERTEX_H
108615fc 5
4aa41877 6class AliHLTVertexData;
108615fc 7
4aa41877 8class AliHLTVertex {
108615fc 9
10 public:
4aa41877 11 AliHLTVertex();
6e6ad594 12
4aa41877 13 virtual ~AliHLTVertex();
6e6ad594 14
108615fc 15 void SetZero();
4aa41877 16 void Read(const AliHLTVertexData *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:
4aa41877 36 AliHLTVertex(const AliHLTVertex&){;}
37 AliHLTVertex& operator=(const AliHLTVertex&){return *this;}
6e6ad594 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
4aa41877 49 ClassDef(AliHLTVertex,1) // Vertex base class
108615fc 50};
4aa41877 51
52typedef AliHLTVertex AliL3Vertex; // for backward compatibility
53
108615fc 54#endif