GFRaveTrackParameters class Contains a pointer to the original genfit::Track, the weight of the track in the vertex, and smoothed (with the vertex information) state and covariance of the track.
More...
#include <GFRaveTrackParameters.h>
GFRaveTrackParameters class Contains a pointer to the original genfit::Track, the weight of the track in the vertex, and smoothed (with the vertex information) state and covariance of the track.
Definition at line 51 of file GFRaveTrackParameters.h.
◆ GFRaveTrackParameters() [1/3]
genfit::GFRaveTrackParameters::GFRaveTrackParameters |
( |
| ) |
|
◆ GFRaveTrackParameters() [2/3]
genfit::GFRaveTrackParameters::GFRaveTrackParameters |
( |
const Track * |
track, |
|
|
MeasuredStateOnPlane * |
originalState, |
|
|
double |
weight, |
|
|
const TVectorD & |
state6, |
|
|
const TMatrixDSym & |
cov6x6, |
|
|
bool |
isSmoothed |
|
) |
| |
Definition at line 42 of file GFRaveTrackParameters.cc.
42 :
48{
49 if (
state_.GetNrows() != 6) {
50 Exception exc("GFRaveTrackParameters ==> State is not 6D!",__LINE__,__FILE__);
51 throw exc;
52 }
53 if (
cov_.GetNrows()!=6) {
54 Exception exc("GFRaveTrackParameters ==> Covariance is not 6D!",__LINE__,__FILE__);
55 throw exc;
56 }
57
58}
◆ GFRaveTrackParameters() [3/3]
genfit::GFRaveTrackParameters::GFRaveTrackParameters |
( |
const Track * |
track, |
|
|
MeasuredStateOnPlane * |
originalState, |
|
|
double |
weight |
|
) |
| |
◆ getCharge()
double genfit::GFRaveTrackParameters::getCharge |
( |
| ) |
const |
Definition at line 85 of file GFRaveTrackParameters.cc.
85 {
87}
double getCharge() const
Get the fitted charge.
const Track * getTrack() const
FitStatus * getFitStatus(const AbsTrackRep *rep=NULL) const
Get FitStatus for a AbsTrackRep. Per default, return FitStatus for cardinalRep.
◆ getCov()
const TMatrixDSym & genfit::GFRaveTrackParameters::getCov |
( |
| ) |
const |
|
inline |
◆ getMom()
TVector3 genfit::GFRaveTrackParameters::getMom |
( |
| ) |
const |
◆ getPdg()
double genfit::GFRaveTrackParameters::getPdg |
( |
| ) |
const |
Definition at line 91 of file GFRaveTrackParameters.cc.
91 {
94 else {
95 Exception exc("GFRaveTrackParameters::getPdg() ==> no genfit::Track available!",__LINE__,__FILE__);
96 throw exc;
97 }
98}
int getPDG() const
Get the pdg code.
AbsTrackRep * getCardinalRep() const
Get cardinal track representation.
◆ getPos()
TVector3 genfit::GFRaveTrackParameters::getPos |
( |
| ) |
const |
◆ getState()
TVectorD genfit::GFRaveTrackParameters::getState |
( |
| ) |
const |
|
inline |
◆ getTrack()
const Track * genfit::GFRaveTrackParameters::getTrack |
( |
| ) |
const |
|
inline |
◆ GetUniqueID()
UInt_t genfit::GFRaveTrackParameters::GetUniqueID |
( |
| ) |
const |
|
inline |
◆ getWeight()
double genfit::GFRaveTrackParameters::getWeight |
( |
| ) |
const |
|
inline |
◆ hasSmoothedData()
bool genfit::GFRaveTrackParameters::hasSmoothedData |
( |
| ) |
const |
|
inline |
◆ hasTrack()
bool genfit::GFRaveTrackParameters::hasTrack |
( |
| ) |
const |
|
inline |
◆ Print()
void genfit::GFRaveTrackParameters::Print |
( |
const Option_t * |
= "" | ) |
const |
Definition at line 102 of file GFRaveTrackParameters.cc.
102 {
103 std::cout <<
"weight: " <<
getWeight() <<
"\n";
105 std::cout <<
"state: ";
getState().Print();
106 std::cout <<
"cov: ";
getCov().Print();
108 else std::cout << "NO genfit::Track pointer \n";
109}
const TMatrixDSym & getCov() const
TVectorD getState() const
void Print(const Option_t *="") const
◆ cov_
TMatrixDSym genfit::GFRaveTrackParameters::cov_ |
|
private |
◆ hasSmoothedData_
bool genfit::GFRaveTrackParameters::hasSmoothedData_ |
|
private |
◆ originalTrack_
const TRef genfit::GFRaveTrackParameters::originalTrack_ |
|
private |
◆ state_
TVectorD genfit::GFRaveTrackParameters::state_ |
|
private |
◆ weight_
double genfit::GFRaveTrackParameters::weight_ |
|
private |
The documentation for this class was generated from the following files: