]>
Commit | Line | Data |
---|---|---|
b661165c | 1 | // Author: Uli Frankenfeld <mailto:franken@fi.uib.no> |
2 | //*-- Copyright © Uli | |
108615fc | 3 | |
118c26c3 | 4 | #include "AliL3StandardIncludes.h" |
5 | ||
108615fc | 6 | #include "AliL3RootTypes.h" |
108615fc | 7 | #include "AliL3Logging.h" |
8 | #include "AliL3Vertex.h" | |
9 | ||
10 | //_____________________________________________________________ | |
108615fc | 11 | // AliL3Vertex |
12 | // | |
b661165c | 13 | // Stores the information of the vertex position |
108615fc | 14 | // |
15 | ||
16 | ||
17 | ClassImp(AliL3Vertex) | |
18 | AliL3Vertex::AliL3Vertex(){ | |
19 | // | |
20 | // default constructor for the AliL3Vertex class. | |
21 | // | |
22 | ||
23 | //Set vertex to zero. | |
24 | SetZero(); | |
25 | } | |
26 | ||
27 | AliL3Vertex::~AliL3Vertex(){ | |
28 | // | |
29 | // destructor | |
30 | // | |
31 | } | |
32 | ||
33 | void AliL3Vertex::SetZero(){ | |
34 | // doit | |
35 | SetX(0); | |
36 | SetY(0); | |
37 | SetZ(0); | |
38 | SetXErr(1); | |
39 | SetYErr(1); | |
40 | SetZErr(1); | |
41 | fR=0; | |
42 | fPhi=0; | |
43 | ||
44 | fMWxy = 1.; | |
45 | } | |
46 | ||
47 | void AliL3Vertex::Read(AliL3VertexData *vertex){ | |
48 | // doit | |
49 | SetX(vertex->fX); | |
50 | SetY(vertex->fY); | |
51 | SetZ(vertex->fZ); | |
52 | SetXErr(vertex->fXErr); | |
53 | SetYErr(vertex->fYErr); | |
54 | SetZErr(vertex->fZErr); | |
55 | fR=0; | |
56 | fPhi=0; | |
57 | ||
58 | fMWxy = 1.; | |
59 | } | |
60 |