EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
GFRaveVertex class. More...
#include <fun4all_GenFit/blob/master/GFRave/include/GFRaveVertex.h>
Public Member Functions | |
GFRaveVertex () | |
GFRaveVertex (const TVector3 &pos, const TMatrixDSym &cov, const std::vector< genfit::GFRaveTrackParameters * > &smoothedTracks, double ndf, double chi2, int id=-1) | |
GFRaveVertex (const GFRaveVertex &) | |
GFRaveVertex & | operator= (GFRaveVertex) |
void | swap (GFRaveVertex &) |
~GFRaveVertex () | |
TVector3 | getPos () const |
get Position | |
TMatrixDSym | getCov () const |
get 3x3 covariance (error) of position. | |
double | getNdf () const |
double | getChi2 () const |
unsigned int | getNTracks () const |
Number of tracks the vertex is made of. | |
GFRaveTrackParameters * | getParameters (unsigned int i) const |
int | getId () const |
void | Print (const Option_t *="") const |
Private Attributes | |
TVector3 | pos_ |
TMatrixDSym | cov_ |
double | ndf_ |
double | chi2_ |
int | id_ |
std::vector < genfit::GFRaveTrackParameters * > | smoothedTracks_ |
GFRaveVertex class.
A Vertex contains information about its position and covariance. The tracks the vertex is consisting of are stored in smoothedTracks_. These GFRaveTrackParameters contain the weight of the corresponding track in the vertex, smoothed track parameters and a pointer to the original unaltered genfit::Track.
Definition at line 48 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 48 of file GFRaveVertex.h
genfit::GFRaveVertex::GFRaveVertex | ( | ) |
Definition at line 35 of file GFRaveVertex.cc.
View newest version in sPHENIX GitHub at line 35 of file GFRaveVertex.cc
genfit::GFRaveVertex::GFRaveVertex | ( | const TVector3 & | pos, |
const TMatrixDSym & | cov, | ||
const std::vector< genfit::GFRaveTrackParameters * > & | smoothedTracks, | ||
double | ndf, | ||
double | chi2, | ||
int | id = -1 |
||
) |
Definition at line 47 of file GFRaveVertex.cc.
View newest version in sPHENIX GitHub at line 47 of file GFRaveVertex.cc
References cov_.
genfit::GFRaveVertex::GFRaveVertex | ( | const GFRaveVertex & | vertex | ) |
Definition at line 68 of file GFRaveVertex.cc.
View newest version in sPHENIX GitHub at line 68 of file GFRaveVertex.cc
References smoothedTracks_.
genfit::GFRaveVertex::~GFRaveVertex | ( | ) |
Definition at line 105 of file GFRaveVertex.cc.
View newest version in sPHENIX GitHub at line 105 of file GFRaveVertex.cc
References smoothedTracks_.
|
inline |
Definition at line 73 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 73 of file GFRaveVertex.h
References chi2_.
Referenced by PHGenFitTrkFitter::FillSvtxVertexMap(), and Print().
|
inline |
get 3x3 covariance (error) of position.
Definition at line 70 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 70 of file GFRaveVertex.h
References cov_.
Referenced by PHGenFitTrkFitter::FillSvtxVertexMap(), and Print().
|
inline |
Definition at line 79 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 79 of file GFRaveVertex.h
References id_.
Referenced by Print().
|
inline |
Definition at line 72 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 72 of file GFRaveVertex.h
References ndf_.
Referenced by PHGenFitTrkFitter::FillSvtxVertexMap(), and Print().
|
inline |
Number of tracks the vertex is made of.
Definition at line 76 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 76 of file GFRaveVertex.h
References smoothedTracks_.
Referenced by PHGenFitTrkFitter::FillSvtxVertexMap(), main(), and Print().
|
inline |
Definition at line 77 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 77 of file GFRaveVertex.h
References smoothedTracks_.
Referenced by PHGenFitTrkFitter::FillSvtxVertexMap(), main(), and Print().
|
inline |
get Position
Definition at line 67 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 67 of file GFRaveVertex.h
References pos_.
Referenced by PHGenFitTrkFitter::FillSvtxVertexMap(), and Print().
GFRaveVertex & genfit::GFRaveVertex::operator= | ( | GFRaveVertex | other | ) |
Definition at line 88 of file GFRaveVertex.cc.
View newest version in sPHENIX GitHub at line 88 of file GFRaveVertex.cc
References swap().
void genfit::GFRaveVertex::Print | ( | const Option_t * | = "" | ) | const |
Definition at line 118 of file GFRaveVertex.cc.
View newest version in sPHENIX GitHub at line 118 of file GFRaveVertex.cc
References getChi2(), getCov(), getId(), getNdf(), getNTracks(), getParameters(), getPos(), and genfit::GFRaveTrackParameters::Print().
void genfit::GFRaveVertex::swap | ( | GFRaveVertex & | other | ) |
Definition at line 94 of file GFRaveVertex.cc.
View newest version in sPHENIX GitHub at line 94 of file GFRaveVertex.cc
References chi2_, cov_, id_, ndf_, pos_, smoothedTracks_, and boost::swap().
Referenced by operator=().
|
private |
Definition at line 89 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 89 of file GFRaveVertex.h
|
private |
Definition at line 87 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 87 of file GFRaveVertex.h
Referenced by getCov(), GFRaveVertex(), and swap().
|
private |
Definition at line 90 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 90 of file GFRaveVertex.h
|
private |
Definition at line 88 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 88 of file GFRaveVertex.h
|
private |
Definition at line 86 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 86 of file GFRaveVertex.h
|
private |
Definition at line 92 of file GFRaveVertex.h.
View newest version in sPHENIX GitHub at line 92 of file GFRaveVertex.h
Referenced by getNTracks(), getParameters(), GFRaveVertex(), swap(), and ~GFRaveVertex().