]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/AliHLTTPCVertexFinder.h
added new helper components to libAliHLTUtil (EsdCollector and AliHLTOUTPublisher...
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCVertexFinder.h
CommitLineData
a6c02c85 1// @(#) $Id$
4aa41877 2// Original: AliHLTVertexFinder.h,v 1.7 2004/06/18 10:55:26 loizides
a6c02c85 3
4#ifndef AliHLTTPCVERTEXFINDER_H
5#define AliHLTTPCVERTEXFINDER_H
6
7class AliHLTTPCSpacePointData;
8class AliHLTTPCVertexData;
9class AliHLTTPCVertex;
10
11#include "AliHLTTPCVertexArray.h"
12
13class AliHLTTPCVertexFinder:public AliHLTTPCVertexArray {
14 private:
15 Double_t fX; // x
16 Double_t fY; // y
17 Double_t fZ; // z
18 Double_t fPhi; // phi
19 Double_t fR; // radius
20
21 Double_t fXErr; // x error
22 Double_t fYErr; // y error
23 Double_t fZErr; // z error
24 Double_t fMWxy; // xy weight
25
26 public:
27 AliHLTTPCVertexFinder();
e419b223 28 AliHLTTPCVertexFinder(AliHLTTPCVertexFinder &vf);
a6c02c85 29 virtual ~AliHLTTPCVertexFinder();
30
31 void Reset();
32 void Read(Int_t ncluster, AliHLTTPCSpacePointData* hits);
33 void Analyze();
34 void Write(AliHLTTPCVertex *vertex) const;
35 void Write(AliHLTTPCVertexData *vertex) const;
36
37 Double_t GetX() const {return fX;}
38 Double_t GetY() const {return fY;}
39 Double_t GetZ() const {return fZ;}
40 Double_t GetXErr() const {return fXErr;}
41 Double_t GetYErr() const {return fYErr;}
42 Double_t GetZErr() const {return fZErr;}
43 Double_t GetPhi() const {return fPhi;}
44 Double_t GetR() const {return fR;}
45 Double_t GetXYWeight() const {return fMWxy;}
46 void SetX(Double_t f) {fX=f;}
47 void SetY(Double_t f) {fY=f;}
48 void SetZ(Double_t f) {fZ=f;}
49 void SetXErr(Double_t f) {fXErr=f;}
50 void SetYErr(Double_t f) {fYErr=f;}
51 void SetZErr(Double_t f) {fZErr=f;}
52
53 void SetXYWeight(Double_t f) {fMWxy = f;}
54
55 ClassDef(AliHLTTPCVertexFinder,1) // Vertex finder class
56};
57#endif