]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/Ref/AliHLTTPCVertex.cxx
Effective c++ corrections (T.Pocheptsov)
[u/mrichter/AliRoot.git] / HLT / TPCLib / Ref / AliHLTTPCVertex.cxx
CommitLineData
78001a73 1// @(#) $Id$
2
3// Author: Uli Frankenfeld <mailto:franken@fi.uib.no>
4//*-- Copyright &copy ALICE HLT Group
5
6#include "AliHLTTPCStandardIncludes.h"
7
8#include "AliHLTTPCRootTypes.h"
9#include "AliHLTTPCLogging.h"
10#include "AliHLTTPCVertex.h"
11
12/** \class AliHLTTPCVertex
13<pre>
14//_____________________________________________________________
15// AliHLTTPCVertex
16//
17// Stores the information of the vertex position
18//
19</pre>
20*/
21
22ClassImp(AliHLTTPCVertex)
23AliHLTTPCVertex::AliHLTTPCVertex(){
24 //
25 // default constructor for the AliHLTTPCVertex class.
26 //
27
28 //Set vertex to zero.
29 SetZero();
30}
31
32AliHLTTPCVertex::~AliHLTTPCVertex(){
33 //
34 // destructor
35 //
36}
37
38void AliHLTTPCVertex::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
52void AliHLTTPCVertex::Read(AliHLTTPCVertexData *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