]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/AliHLTTPCVertex.cxx
just removing dead wood
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCVertex.cxx
CommitLineData
a6c02c85 1// @(#) $Id$
4aa41877 2// Original: AliHLTVertex.cxx,v 1.5 2004/07/02 11:41:18 loizides Exp $
a6c02c85 3
4// Author: Uli Frankenfeld <mailto:franken@fi.uib.no>
5//*-- Copyright &copy ALICE HLT Group
6
a6c02c85 7#include "AliHLTTPCLogging.h"
8#include "AliHLTTPCVertexData.h"
9#include "AliHLTTPCVertex.h"
10
11/** \class AliHLTTPCVertex
12<pre>
13//_____________________________________________________________
14// AliHLTTPCVertex
15//
16// Stores the information of the vertex position
17//
18</pre>
19*/
20
21ClassImp(AliHLTTPCVertex)
22
9253e11b 23AliHLTTPCVertex::AliHLTTPCVertex()
24 :
25 fX(0.0),
26 fY(0.0),
27 fZ(0.0),
28 fPhi(0.0),
29 fR(0.0),
30 fXErr(1.0),
31 fYErr(1.0),
32 fZErr(1.0),
33 fMWxy(1.0)
34{
a6c02c85 35 //
36 // default constructor for the AliHLTTPCVertex class.
37 //
38
39 SetZero();
40}
41
9253e11b 42AliHLTTPCVertex::~AliHLTTPCVertex()
43{
a6c02c85 44 //
45 // destructor
46 //
47}
48
49void AliHLTTPCVertex::SetZero()
50{
51 // set vertex to zero
52 SetX(0);
53 SetY(0);
54 SetZ(0);
55 SetXErr(1);
56 SetYErr(1);
57 SetZErr(1);
58 fR=0;
59 fPhi=0;
60 fMWxy = 1.;
61}
62
63void AliHLTTPCVertex::Read(const AliHLTTPCVertexData *vertex)
64{
65 // read vertex
66 SetX(vertex->fX);
67 SetY(vertex->fY);
68 SetZ(vertex->fZ);
69 SetXErr(vertex->fXErr);
70 SetYErr(vertex->fYErr);
71 SetZErr(vertex->fZErr);
72 fR=0;
73 fPhi=0;
74 fMWxy = 1.;
75}