]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/AliHLTTPCVertex.cxx
L3 becomes HLT
[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
23AliHLTTPCVertex::AliHLTTPCVertex(){
24 //
25 // default constructor for the AliHLTTPCVertex class.
26 //
27
28 SetZero();
29}
30
31AliHLTTPCVertex::~AliHLTTPCVertex(){
32 //
33 // destructor
34 //
35}
36
37void AliHLTTPCVertex::SetZero()
38{
39 // set vertex to zero
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 fMWxy = 1.;
49}
50
51void AliHLTTPCVertex::Read(const AliHLTTPCVertexData *vertex)
52{
53 // read vertex
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 fMWxy = 1.;
63}
64