]>
Commit | Line | Data |
---|---|---|
108615fc | 1 | //Author: Uli Frankenfeld |
2 | //Last Modified: 07.11.2000 | |
3 | ||
4 | #include "AliL3RootTypes.h" | |
5 | #include <iostream.h> | |
6 | #include "AliL3Logging.h" | |
7 | #include "AliL3Vertex.h" | |
8 | ||
9 | //_____________________________________________________________ | |
10 | // | |
11 | // AliL3Vertex | |
12 | // | |
13 | // stores the information of the vertex position | |
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 |