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