QwAnalysis
QwVertex Class Reference

Contains vertex information. More...

#include <QwVertex.h>

Inherits TObject.

Public Member Functions

 QwVertex ()
 
 QwVertex (const TVector3 &position)
 
 QwVertex (const QwTrack &track1, const QwTrack &track2)
 
 QwVertex (double x, double y, double z)
 
virtual ~QwVertex ()
 
double GetDistance ()
 Return the distance between the tracks at the vertex. More...
 

Data Fields

double fCoord [3]
 coordinates of vertex More...
 
double fCov [3][3]
 error matrix More...
 
double maxresidue
 max residue of tracks More...
 
int fNTracks
 number of tracks in vertex More...
 

Detailed Description

Contains vertex information.

A QwVertex contains the coordinates and uncertainties of a vertex. It could link back to the tracks and partial tracks that intersect at this vertex.

Definition at line 23 of file QwVertex.h.

Constructor & Destructor Documentation

QwVertex::QwVertex ( )

Definition at line 5 of file QwVertex.cc.

6 {
7  // TODO
8 }
QwVertex::QwVertex ( const TVector3 &  position)

Definition at line 10 of file QwVertex.cc.

References fCoord.

11 {
12  fCoord[0] = position.X();
13  fCoord[1] = position.Y();
14  fCoord[2] = position.Z();
15 }
double fCoord[3]
coordinates of vertex
Definition: QwVertex.h:38
QwVertex::QwVertex ( const QwTrack track1,
const QwTrack track2 
)

Definition at line 17 of file QwVertex.cc.

18 {
19  // TODO
20 }
QwVertex::QwVertex ( double  x,
double  y,
double  z 
)

Definition at line 22 of file QwVertex.cc.

References fCoord.

23 {
24  fCoord[0] = x;
25  fCoord[1] = y;
26  fCoord[2] = z;
27 }
double fCoord[3]
coordinates of vertex
Definition: QwVertex.h:38
virtual QwVertex::~QwVertex ( )
inlinevirtual

Definition at line 31 of file QwVertex.h.

31 { };

Member Function Documentation

double QwVertex::GetDistance ( )

Return the distance between the tracks at the vertex.

Field Documentation

double QwVertex::fCoord[3]

coordinates of vertex

Definition at line 38 of file QwVertex.h.

Referenced by QwVertex().

double QwVertex::fCov[3][3]

error matrix

Definition at line 39 of file QwVertex.h.

int QwVertex::fNTracks

number of tracks in vertex

Definition at line 41 of file QwVertex.h.

double QwVertex::maxresidue

max residue of tracks

Definition at line 40 of file QwVertex.h.


The documentation for this class was generated from the following files: