]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/src/AliL3VertexFinder.h
Added missing files and defines, compilation should now work again.
[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&l3v):
29       AliL3VertexArray(l3v) {;}
30     virtual ~AliL3VertexFinder();
31
32     void Reset();
33     void Read(Int_t ncluster, AliL3SpacePointData* hits);
34     void Analyze();
35     void Write(AliL3Vertex *vertex);
36     void Write(AliL3VertexData *vertex);
37
38     Double_t GetX() const {return fX;}
39     Double_t GetY() const {return fY;}
40     Double_t GetZ() const {return fZ;}
41     Double_t GetXErr() const {return fXErr;}
42     Double_t GetYErr() const {return fYErr;}
43     Double_t GetZErr() const {return fZErr;}
44     Double_t GetPhi()  const {return fPhi;}
45     Double_t GetR()    const {return fR;}
46     Double_t GetXYWeight() const {return fMWxy;}
47     void SetX(Double_t f) {fX=f;}
48     void SetY(Double_t f) {fY=f;}
49     void SetZ(Double_t f) {fZ=f;}
50     void SetXErr(Double_t f) {fXErr=f;}
51     void SetYErr(Double_t f) {fYErr=f;}
52     void SetZErr(Double_t f) {fZErr=f;}
53
54     void SetXYWeight(Double_t f) {fMWxy = f;}
55  
56     ClassDef(AliL3VertexFinder,1)  // Vertex finder class
57 };
58 #endif