Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/reco/SQGenFit/GFTrack.h>
Public Member Functions | |
GFTrack () | |
GFTrack (SRecTrack &recTrack) | |
GFTrack (Tracklet &tracklet) | |
~GFTrack () | |
void | setVerbosity (unsigned int v) |
void | setTracklet (Tracklet &tracklet, double z_reference=590., bool wildseedcov=false) |
void | addMeasurements (std::vector< GFMeasurement * > &measurements) |
void | addMeasurement (GFMeasurement *measurement) |
double | getChi2 () |
double | getNDF () |
int | getCharge () |
int | getNearestMeasurementID (GFMeasurement *meas) |
double | extrapolateToLine (TVector3 &endPoint1, TVector3 &endPoint2, const int startPtID=0) |
double | extrapolateToPlane (TVector3 &pO, TVector3 &pU, TVector3 &pV, const int startPtID=0) |
double | extrapolateToPoint (TVector3 &point, bool update=false, const int startPtID=0) |
double | updatePropState (const TVectorD &meas, const TMatrixDSym &V) |
void | getExtrapPosMomCov (TVector3 &pos, TVector3 &mom, TMatrixDSym &cov) |
void | getExtrapPosMom (TVector3 &pos, TVector3 &mom) |
double | swimToVertex (double z, TVector3 *pos=nullptr, TVector3 *mom=nullptr, TMatrixDSym *cov=nullptr) |
void | checkConsistency () |
void | postFitUpdate (bool updateMeasurements=true) |
SRecTrack | getSRecTrack () |
void | print (unsigned int debugLvl=0) |
genfit::Track * | getGenFitTrack () |
genfit::AbsTrackRep * | getGenFitTrkRep () |
SQGenFit::GFTrack::GFTrack | ( | ) |
Definition at line 59 of file GFTrack.cxx.
SQGenFit::GFTrack::GFTrack | ( | SRecTrack & | recTrack | ) |
Definition at line 64 of file GFTrack.cxx.
References SRecTrack::getCharge(), SRecTrack::getGFAuxInfo(), SRecTrack::getGFCov(), SRecTrack::getGFPlaneO(), SRecTrack::getGFPlaneU(), SRecTrack::getGFPlaneV(), SRecTrack::getGFState(), SRecTrack::getMomentumVecSt1(), SRecTrack::getNHits(), and SRecTrack::getPositionVecSt1().
SQGenFit::GFTrack::GFTrack | ( | Tracklet & | tracklet | ) |
Definition at line 103 of file GFTrack.cxx.
References setTracklet().
SQGenFit::GFTrack::~GFTrack | ( | ) |
Definition at line 109 of file GFTrack.cxx.
void SQGenFit::GFTrack::addMeasurement | ( | GFMeasurement * | measurement | ) |
Definition at line 128 of file GFTrack.cxx.
References SQGenFit::GFMeasurement::getZ(), and SQGenFit::GFMeasurement::setTrackPtr().
Referenced by addMeasurements().
void SQGenFit::GFTrack::addMeasurements | ( | std::vector< GFMeasurement * > & | measurements | ) |
Definition at line 119 of file GFTrack.cxx.
References addMeasurement().
Referenced by setTracklet().
|
inline |
Definition at line 50 of file GFTrack.h.
Referenced by SQGenFit::GFFitter::processTrack(), and setTracklet().
double SQGenFit::GFTrack::extrapolateToLine | ( | TVector3 & | endPoint1, |
TVector3 & | endPoint2, | ||
const int | startPtID = 0 |
||
) |
Definition at line 180 of file GFTrack.cxx.
double SQGenFit::GFTrack::extrapolateToPlane | ( | TVector3 & | pO, |
TVector3 & | pU, | ||
TVector3 & | pV, | ||
const int | startPtID = 0 |
||
) |
Definition at line 205 of file GFTrack.cxx.
Referenced by swimToVertex().
double SQGenFit::GFTrack::extrapolateToPoint | ( | TVector3 & | point, |
bool | update = false , |
||
const int | startPtID = 0 |
||
) |
Definition at line 227 of file GFTrack.cxx.
|
inline |
Definition at line 36 of file GFTrack.h.
References Tracklet::getCharge().
Referenced by getSRecTrack().
double SQGenFit::GFTrack::getChi2 | ( | ) |
Definition at line 137 of file GFTrack.cxx.
Referenced by getSRecTrack().
|
inline |
Definition at line 46 of file GFTrack.h.
Referenced by swimToVertex().
|
inline |
Definition at line 45 of file GFTrack.h.
Referenced by swimToVertex().
|
inline |
Definition at line 57 of file GFTrack.h.
Referenced by SQGenFit::GFFitter::processTrack().
|
inline |
double SQGenFit::GFTrack::getNDF | ( | ) |
Definition at line 149 of file GFTrack.cxx.
int SQGenFit::GFTrack::getNearestMeasurementID | ( | GFMeasurement * | meas | ) |
Definition at line 161 of file GFTrack.cxx.
References SQGenFit::GFMeasurement::getZ().
SRecTrack SQGenFit::GFTrack::getSRecTrack | ( | ) |
Definition at line 394 of file GFTrack.cxx.
References getCharge(), getChi2(), SRecTrack::getVertexPos(), SRecTrack::insertChisq(), SRecTrack::insertCovariance(), SRecTrack::insertGFState(), SRecTrack::insertHitIndex(), SRecTrack::insertStateVector(), SRecTrack::insertZ(), SRecTrack::setChisq(), SRecTrack::setChisqDump(), SRecTrack::setChisqTarget(), SRecTrack::setChisqUpstream(), SRecTrack::setChisqVertex(), SRecTrack::setKalmanStatus(), SRecTrack::setVertexMom(), SRecTrack::setVertexPos(), swimToVertex(), and SRecTrack::swimToVertex().
Referenced by SQReco::fitTrackCand().
void SQGenFit::GFTrack::postFitUpdate | ( | bool | updateMeasurements = true | ) |
Definition at line 385 of file GFTrack.cxx.
Referenced by SQReco::fitTrackCand(), and main().
void SQGenFit::GFTrack::print | ( | unsigned int | debugLvl = 0 | ) |
Definition at line 467 of file GFTrack.cxx.
References Tracklet::print().
Referenced by SQReco::fitTrackCand(), and main().
void SQGenFit::GFTrack::setTracklet | ( | Tracklet & | tracklet, |
double | z_reference = 590. , |
||
bool | wildseedcov = false |
||
) |
Definition at line 338 of file GFTrack.cxx.
References addMeasurements(), checkConsistency(), Tracklet::getCharge(), Tracklet::getExpMomentum(), Tracklet::getExpPositionX(), Tracklet::getExpPositionY(), and Tracklet::hits.
Referenced by SQReco::fitTrackCand(), GFTrack(), and main().
void SQGenFit::GFTrack::setVerbosity | ( | unsigned int | v | ) |
Definition at line 114 of file GFTrack.cxx.
Referenced by main().
double SQGenFit::GFTrack::swimToVertex | ( | double | z, |
TVector3 * | pos = nullptr , |
||
TVector3 * | mom = nullptr , |
||
TMatrixDSym * | cov = nullptr |
||
) |
Definition at line 295 of file GFTrack.cxx.
References extrapolateToPlane(), getExtrapPosMom(), getExtrapPosMomCov(), and updatePropState().
Referenced by getSRecTrack().
double SQGenFit::GFTrack::updatePropState | ( | const TVectorD & | meas, |
const TMatrixDSym & | V | ||
) |
Definition at line 239 of file GFTrack.cxx.
Referenced by swimToVertex().