]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/src/AliL3VertexFinder.h
Changes done to include new ALiL3HoughTransformerVhdl.
[u/mrichter/AliRoot.git] / HLT / src / AliL3VertexFinder.h
CommitLineData
108615fc 1#ifndef AliL3VERTEXFINDER_H
2#define AliL3VERTEXFINDER_H
3
4#include "AliL3VertexArray.h"
5#include "AliL3SpacePointData.h"
6#include "AliL3VertexData.h"
7
8class AliL3Vertex;
9
10class AliL3VertexFinder:public AliL3VertexArray{
11 private:
12 Double_t fX;
13 Double_t fY;
14 Double_t fZ;
15 Double_t fPhi;
16 Double_t fR;
17
18 Double_t fXErr;
19 Double_t fYErr;
20 Double_t fZErr;
21
22 Double_t fMWxy;
23
24 public:
25 AliL3VertexFinder();
26 AliL3VertexFinder(AliL3VertexFinder&){;}
27 virtual ~AliL3VertexFinder();
28
29 void Reset();
30 void Read(Int_t ncluster, AliL3SpacePointData* hits);
31 void Analyze();
32 void Write(AliL3Vertex *vertex);
33 void Write(AliL3VertexData *vertex);
34
35 Double_t GetX() const {return fX;}
36 Double_t GetY() const {return fY;}
37 Double_t GetZ() const {return fZ;}
38 Double_t GetXErr() const {return fXErr;}
39 Double_t GetYErr() const {return fYErr;}
40 Double_t GetZErr() const {return fZErr;}
41 Double_t GetPhi() const {return fPhi;}
42 Double_t GetR() const {return fR;}
43 Double_t GetXYWeight() const {return fMWxy;}
44 void SetX(Double_t f) {fX=f;}
45 void SetY(Double_t f) {fY=f;}
46 void SetZ(Double_t f) {fZ=f;}
47 void SetXErr(Double_t f) {fXErr=f;}
48 void SetYErr(Double_t f) {fYErr=f;}
49 void SetZErr(Double_t f) {fZErr=f;}
50
51 void SetXYWeight(Double_t f) {fMWxy = f;}
52
b661165c 53 ClassDef(AliL3VertexFinder,1) // Vertex finder class
108615fc 54};
55#endif