]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/src/AliL3VertexFinder.h
Update to the current version in the Bergen CVS. Most important
[u/mrichter/AliRoot.git] / HLT / src / AliL3VertexFinder.h
1 // @(#) $Id$
2
3 #ifndef AliL3VERTEXFINDER_H
4 #define AliL3VERTEXFINDER_H
5
6 #include "AliL3VertexArray.h"
7 #include "AliL3SpacePointData.h"
8 #include "AliL3VertexData.h"
9
10 class AliL3Vertex;
11
12 class 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(); 
28     AliL3VertexFinder(AliL3VertexFinder&){;}
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  
55     ClassDef(AliL3VertexFinder,1)  // Vertex finder class
56 };
57 #endif