]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/src/AliL3VertexFinder.h
Merged Bergen, mergen Cvetan TransformerRow and
[u/mrichter/AliRoot.git] / HLT / src / AliL3VertexFinder.h
CommitLineData
3e87ef69 1// @(#) $Id$
2
108615fc 3#ifndef AliL3VERTEXFINDER_H
4#define AliL3VERTEXFINDER_H
5
6#include "AliL3VertexArray.h"
7#include "AliL3SpacePointData.h"
8#include "AliL3VertexData.h"
9
10class AliL3Vertex;
11
12class AliL3VertexFinder:public AliL3VertexArray{
13 private:
14 Double_t fX;
15 Double_t fY;
16 Double_t fZ;
17 Double_t fPhi;
18 Double_t fR;
19
20 Double_t fXErr;
21 Double_t fYErr;
22 Double_t fZErr;
23
24 Double_t fMWxy;
25
26 public:
27 AliL3VertexFinder();
de3c3890 28 AliL3VertexFinder(AliL3VertexFinder&){;}
108615fc 29 virtual ~AliL3VertexFinder();
30
31 void Reset();
32 void Read(Int_t ncluster, AliL3SpacePointData* hits);
33 void Analyze();
34 void Write(AliL3Vertex *vertex);
35 void Write(AliL3VertexData *vertex);
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
b661165c 55 ClassDef(AliL3VertexFinder,1) // Vertex finder class
108615fc 56};
57#endif