]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/src/AliL3Vertex.cxx
Comments formatted the way THtml likes it.
[u/mrichter/AliRoot.git] / HLT / src / AliL3Vertex.cxx
CommitLineData
b661165c 1// Author: Uli Frankenfeld <mailto:franken@fi.uib.no>
2//*-- Copyright &copy Uli
108615fc 3
4#include "AliL3RootTypes.h"
5#include <iostream.h>
6#include "AliL3Logging.h"
7#include "AliL3Vertex.h"
8
9//_____________________________________________________________
108615fc 10// AliL3Vertex
11//
b661165c 12// Stores the information of the vertex position
108615fc 13//
14
15
16ClassImp(AliL3Vertex)
17AliL3Vertex::AliL3Vertex(){
18 //
19 // default constructor for the AliL3Vertex class.
20 //
21
22 //Set vertex to zero.
23 SetZero();
24}
25
26AliL3Vertex::~AliL3Vertex(){
27 //
28 // destructor
29 //
30}
31
32void AliL3Vertex::SetZero(){
33 // doit
34 SetX(0);
35 SetY(0);
36 SetZ(0);
37 SetXErr(1);
38 SetYErr(1);
39 SetZErr(1);
40 fR=0;
41 fPhi=0;
42
43 fMWxy = 1.;
44}
45
46void AliL3Vertex::Read(AliL3VertexData *vertex){
47 // doit
48 SetX(vertex->fX);
49 SetY(vertex->fY);
50 SetZ(vertex->fZ);
51 SetXErr(vertex->fXErr);
52 SetYErr(vertex->fYErr);
53 SetZErr(vertex->fZErr);
54 fR=0;
55 fPhi=0;
56
57 fMWxy = 1.;
58}
59