#include <MyVertex.h>
Public Member Functions | |
| MyVertex (void) | |
| MyVertex (const TVector3 &position, const TVector3 &position_error, const double &chi2, const unsigned int &ndof, const unsigned int &ind, const double &E_t, const unsigned int &nb_tracks) | |
| TVector3 | position (void) const |
| get the position of the vertex | |
| TVector3 | positionError (void) const |
| double | chi2 (void) const |
| get the $^2$ of the vertex fit | |
| unsigned int | numberOfDegressOfFreedom (void) const |
| int | index (void) const |
| double | Et (void) const |
| unsigned int | numberOfTracks (void) const |
Private Member Functions | |
| void | init (const TVector3 &position, const TVector3 &position_error, const double &chi2, const unsigned int &ndof, const unsigned int &ind, const double &E_t, const unsigned int &nb_tracks) |
Private Attributes | |
| TVector3 | m_position |
| TVector3 | m_position_error |
| double | m_chi2 |
| unsigned int | m_ndof |
| int | m_index |
| double | m_Et |
| unsigned int | m_nb_tracks |
Definition at line 31 of file MyVertex.h.
| MyVertex::MyVertex | ( | void | ) | [inline] |
Default constructor. A vertex a (0, 0, 0) with 0 errors and the vertex index 0 is created. The $^2$ and the number of degrees of freedom of the vertex are set to 0.
Definition at line 35 of file MyVertex.h.
| MyVertex::MyVertex | ( | const TVector3 & | position, | |
| const TVector3 & | position_error, | |||
| const double & | chi2, | |||
| const unsigned int & | ndof, | |||
| const unsigned int & | ind, | |||
| const double & | E_t, | |||
| const unsigned int & | nb_tracks | |||
| ) | [inline] |
Constructor.
| position | Position of the vertex in global cartesian coordinates. | |
| position_error | Errors of the cartesian coordinates of the vertex. | |
| chi2 | $^2$ of the vertex fit. | |
| ndof | Number of degrees of freedom of the vertex fit. | |
| ind | Index of the vertex in the original vertex array. | |
| E_t | Transverse energy associated with the vertex. | |
| nb_tracks | Number of tracks emerging from the vertex. |
Definition at line 42 of file MyVertex.h.
| TVector3 MyVertex::positionError | ( | void | ) | const [inline] |
get the error of the coordinates of the position vector
Definition at line 51 of file MyVertex.ixx.
| unsigned int MyVertex::numberOfDegressOfFreedom | ( | void | ) | const [inline] |
get the number of degrees of freedom in the vertex fit
Definition at line 75 of file MyVertex.ixx.
| int MyVertex::index | ( | void | ) | const [inline] |
get the index of the vertex in the original vertex array
Definition at line 87 of file MyVertex.ixx.
| double MyVertex::Et | ( | void | ) | const [inline] |
get the transverse energy of the vertex
Definition at line 99 of file MyVertex.ixx.
| unsigned int MyVertex::numberOfTracks | ( | void | ) | const [inline] |
get the number of tracks emerging from the vertex
Definition at line 111 of file MyVertex.ixx.
1.5.1