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