]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/src/AliL3VertexFinder.h
Setting more appropriate TOF resolution for TOF PID
[u/mrichter/AliRoot.git] / HLT / src / AliL3VertexFinder.h
CommitLineData
3e87ef69 1// @(#) $Id$
2
108615fc 3#ifndef AliL3VERTEXFINDER_H
4#define AliL3VERTEXFINDER_H
5
14e76e91 6class AliL3SpacePointData;
7class AliL3VertexData;
108615fc 8class AliL3Vertex;
9
14e76e91 10#include "AliL3VertexArray.h"
11
12class AliL3VertexFinder:public AliL3VertexArray {
13 private:
14 Double_t fX; // x
15 Double_t fY; // y
16 Double_t fZ; // z
17 Double_t fPhi; // phi
18 Double_t fR; // radius
19
20 Double_t fXErr; // x error
21 Double_t fYErr; // y error
22 Double_t fZErr; // z error
23 Double_t fMWxy; // xy weight
24
25 public:
26 AliL3VertexFinder();
27 AliL3VertexFinder(AliL3VertexFinder &vf) : AliL3VertexArray(vf){;}
28 virtual ~AliL3VertexFinder();
29
30 void Reset();
31 void Read(Int_t ncluster, AliL3SpacePointData* hits);
32 void Analyze();
33 void Write(AliL3Vertex *vertex) const;
34 void Write(AliL3VertexData *vertex) const;
35
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;}
51
52 void SetXYWeight(Double_t f) {fMWxy = f;}
108615fc 53
14e76e91 54 ClassDef(AliL3VertexFinder,1) // Vertex finder class
108615fc 55};
56#endif