Produce good_tracks_tpc file, tested to work in HEAD and v4-01-Release.
[u/mrichter/AliRoot.git] / HLT / src / AliL3Vertex.cxx
CommitLineData
3e87ef69 1// @(#) $Id$
2
b661165c 3// Author: Uli Frankenfeld <mailto:franken@fi.uib.no>
3e87ef69 4//*-- Copyright &copy ALICE HLT Group
108615fc 5
118c26c3 6#include "AliL3StandardIncludes.h"
7
108615fc 8#include "AliL3RootTypes.h"
108615fc 9#include "AliL3Logging.h"
10#include "AliL3Vertex.h"
11
3e87ef69 12/** \class AliL3Vertex
13<pre>
108615fc 14//_____________________________________________________________
108615fc 15// AliL3Vertex
16//
b661165c 17// Stores the information of the vertex position
108615fc 18//
3e87ef69 19</pre>
20*/
108615fc 21
22ClassImp(AliL3Vertex)
23AliL3Vertex::AliL3Vertex(){
24 //
25 // default constructor for the AliL3Vertex class.
26 //
27
28 //Set vertex to zero.
29 SetZero();
30}
31
32AliL3Vertex::~AliL3Vertex(){
33 //
34 // destructor
35 //
36}
37
38void 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
52void 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