3 #ifndef AliHLTVERTEXFINDER_H
4 #define AliHLTVERTEXFINDER_H
6 class AliHLTSpacePointData;
7 class AliHLTVertexData;
10 #include "AliHLTVertexArray.h"
12 class AliHLTVertexFinder:public AliHLTVertexArray {
18 Double_t fR; // radius
20 Double_t fXErr; // x error
21 Double_t fYErr; // y error
22 Double_t fZErr; // z error
23 Double_t fMWxy; // xy weight
27 AliHLTVertexFinder(AliHLTVertexFinder &vf) : AliHLTVertexArray(vf){;}
28 virtual ~AliHLTVertexFinder();
31 void Read(Int_t ncluster, AliHLTSpacePointData* hits);
33 void Write(AliHLTVertex *vertex) const;
34 void Write(AliHLTVertexData *vertex) const;
36 Double_t GetX() const {return fX;}
37 Double_t GetY() const {return fY;}
38 Double_t GetZ() const {return fZ;}
39 Double_t GetXErr() const {return fXErr;}
40 Double_t GetYErr() const {return fYErr;}
41 Double_t GetZErr() const {return fZErr;}
42 Double_t GetPhi() const {return fPhi;}
43 Double_t GetR() const {return fR;}
44 Double_t GetXYWeight() const {return fMWxy;}
45 void SetX(Double_t f) {fX=f;}
46 void SetY(Double_t f) {fY=f;}
47 void SetZ(Double_t f) {fZ=f;}
48 void SetXErr(Double_t f) {fXErr=f;}
49 void SetYErr(Double_t f) {fYErr=f;}
50 void SetZErr(Double_t f) {fZErr=f;}
52 void SetXYWeight(Double_t f) {fMWxy = f;}
54 ClassDef(AliHLTVertexFinder,1) // Vertex finder class
57 typedef AliHLTVertexFinder AliL3VertexFinder; // for backward compatibility