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