GENFIT
Rev:NoNumberAvailable
|
A state with arbitrary dimension defined in a DetPlane. More...
#include <StateOnPlane.h>
Public Member Functions | |
StateOnPlane (const AbsTrackRep *rep=NULL) | |
StateOnPlane (const TVectorD &state, const SharedPlanePtr &plane, const AbsTrackRep *rep) | |
state is defined by the TrackReps parameterization More... | |
StateOnPlane (const TVectorD &state, const SharedPlanePtr &plane, const AbsTrackRep *rep, const TVectorD &auxInfo) | |
StateOnPlane & | operator= (StateOnPlane other) |
void | swap (StateOnPlane &other) |
virtual | ~StateOnPlane () |
virtual StateOnPlane * | clone () const |
const TVectorD & | getState () const |
TVectorD & | getState () |
const TVectorD & | getAuxInfo () const |
TVectorD & | getAuxInfo () |
const SharedPlanePtr & | getPlane () const |
const AbsTrackRep * | getRep () const |
void | setState (const TVectorD &state) |
void | setPlane (const SharedPlanePtr &plane) |
void | setStatePlane (const TVectorD &state, const SharedPlanePtr &plane) |
void | setAuxInfo (const TVectorD &auxInfo) |
void | setRep (const AbsTrackRep *rep) |
double | extrapolateToPlane (const SharedPlanePtr &plane, bool stopAtBoundary=false, bool calcJacobianNoise=false) |
double | extrapolateToLine (const TVector3 &linePoint, const TVector3 &lineDirection, bool stopAtBoundary=false, bool calcJacobianNoise=false) |
double | extrapolateToPoint (const TVector3 &point, bool stopAtBoundary=false, bool calcJacobianNoise=false) |
double | extrapolateToPoint (const TVector3 &point, const TMatrixDSym &G, bool stopAtBoundary=false, bool calcJacobianNoise=false) |
double | extrapolateToCylinder (double radius, const TVector3 &linePoint=TVector3(0., 0., 0.), const TVector3 &lineDirection=TVector3(0., 0., 1.), bool stopAtBoundary=false, bool calcJacobianNoise=false) |
double | extrapolateToCone (double openingAngle, const TVector3 &conePoint=TVector3(0., 0., 0.), const TVector3 &coneDirection=TVector3(0., 0., 1.), bool stopAtBoundary=false, bool calcJacobianNoise=false) |
double | extrapolateToSphere (double radius, const TVector3 &point=TVector3(0., 0., 0.), bool stopAtBoundary=false, bool calcJacobianNoise=false) |
double | extrapolateBy (double step, bool stopAtBoundary=false, bool calcJacobianNoise=false) |
double | extrapolateToMeasurement (const AbsMeasurement *measurement, bool stopAtBoundary=false, bool calcJacobianNoise=false) |
TVector3 | getPos () const |
TVector3 | getMom () const |
TVector3 | getDir () const |
void | getPosMom (TVector3 &pos, TVector3 &mom) const |
void | getPosDir (TVector3 &pos, TVector3 &dir) const |
TVectorD | get6DState () const |
double | getMomMag () const |
int | getPDG () const |
double | getCharge () const |
double | getQop () const |
double | getMass () const |
double | getTime () const |
void | setPosMom (const TVector3 &pos, const TVector3 &mom) |
void | setPosMom (const TVectorD &state6) |
void | setChargeSign (double charge) |
void | setQop (double qop) |
void | setTime (double time) |
virtual void | Print (Option_t *option="") const |
Protected Attributes | |
TVectorD | state_ |
TVectorD | auxInfo_ |
SharedPlanePtr | sharedPlane_ |
Private Attributes | |
const AbsTrackRep * | rep_ |
Shared ownership. '!' in order to silence ROOT, custom streamer writes and reads this. More... | |
A state with arbitrary dimension defined in a DetPlane.
The dimension and meaning of the state_ vector are defined by the track parameterization of the rep_. sharedPlane_ is a shared_pointer, the ownership over that plane is shared between all StateOnPlane objects defined in that plane. The definition of the state is bound to the TrackRep rep_. Therefore, the StateOnPlane contains a pointer to a AbsTrackRep. It will provide functionality to extrapolate it and translate the state it into cartesian coordinates. Shortcuts to all functions of the AbsTrackRep which use this StateOnPlane are also provided here.
Definition at line 45 of file StateOnPlane.h.
|
inline |
Definition at line 153 of file StateOnPlane.h.
References genfit::AbsTrackRep::getDim(), and state_.
Referenced by clone().
|
inline |
state is defined by the TrackReps parameterization
Definition at line 161 of file StateOnPlane.h.
References sharedPlane_.
|
inline |
Definition at line 168 of file StateOnPlane.h.
References sharedPlane_.
|
inlinevirtual |
Definition at line 58 of file StateOnPlane.h.
|
inlinevirtual |
Reimplemented in genfit::MeasuredStateOnPlane.
Definition at line 59 of file StateOnPlane.h.
References StateOnPlane().
|
inline |
Definition at line 103 of file StateOnPlane.h.
References genfit::AbsTrackRep::extrapolateBy(), and rep_.
|
inline |
Definition at line 94 of file StateOnPlane.h.
References genfit::AbsTrackRep::extrapolateToCone(), and rep_.
|
inline |
Definition at line 89 of file StateOnPlane.h.
References genfit::AbsTrackRep::extrapolateToCylinder(), and rep_.
|
inline |
Definition at line 78 of file StateOnPlane.h.
References genfit::AbsTrackRep::extrapolateToLine(), and rep_.
|
inline |
Definition at line 106 of file StateOnPlane.h.
References genfit::AbsTrackRep::extrapolateToMeasurement(), and rep_.
|
inline |
Definition at line 75 of file StateOnPlane.h.
References genfit::AbsTrackRep::extrapolateToPlane(), and rep_.
Referenced by genfit::GblFitter::constructGblInfo(), and genfit::GblFitter::sortHits().
|
inline |
Definition at line 82 of file StateOnPlane.h.
References genfit::AbsTrackRep::extrapolateToPoint(), and rep_.
Referenced by genfit::SpacepointMeasurement::constructPlane().
|
inline |
Definition at line 85 of file StateOnPlane.h.
References genfit::AbsTrackRep::extrapolateToPoint(), and rep_.
|
inline |
Definition at line 99 of file StateOnPlane.h.
References genfit::AbsTrackRep::extrapolateToSphere(), and rep_.
|
inline |
Definition at line 116 of file StateOnPlane.h.
References genfit::AbsTrackRep::get6DState(), and rep_.
Referenced by genfit::Track::udpateSeed().
|
inline |
Definition at line 64 of file StateOnPlane.h.
References auxInfo_.
|
inline |
Definition at line 63 of file StateOnPlane.h.
References auxInfo_.
Referenced by genfit::calcAverageState(), genfit::RKTrackRep::extrapolateBy(), genfit::RKTrackRep::extrapolateToCone(), genfit::RKTrackRep::extrapolateToCylinder(), genfit::RKTrackRep::extrapolateToLine(), genfit::RKTrackRep::extrapolateToSphere(), genfit::RKTrackRep::extrapToPoint(), genfit::RKTrackRep::getSpu(), genfit::RKTrackRep::getTime(), genfit::RKTrackRep::initArrays(), genfit::KalmanFitter::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), genfit::RKTrackRep::setPosMom(), genfit::RKTrackRep::setSpu(), and genfit::RKTrackRep::setTime().
|
inline |
Definition at line 119 of file StateOnPlane.h.
References genfit::AbsTrackRep::getCharge(), and rep_.
Referenced by genfit::GblFitter::processTrackWithRep(), and genfit::Track::udpateSeed().
|
inline |
Definition at line 113 of file StateOnPlane.h.
References genfit::AbsTrackRep::getDir(), and rep_.
Referenced by genfit::GblFitterInfo::constructGblPoint().
|
inline |
Definition at line 121 of file StateOnPlane.h.
References genfit::AbsTrackRep::getMass(), and rep_.
|
inline |
Definition at line 112 of file StateOnPlane.h.
References genfit::AbsTrackRep::getMom(), and rep_.
|
inline |
Definition at line 117 of file StateOnPlane.h.
References genfit::AbsTrackRep::getMomMag(), and rep_.
|
inline |
Definition at line 118 of file StateOnPlane.h.
References genfit::AbsTrackRep::getPDG(), and rep_.
|
inline |
Definition at line 65 of file StateOnPlane.h.
References sharedPlane_.
Referenced by genfit::KalmanFitterInfo::addMeasurementOnPlane(), genfit::calcAverageState(), genfit::RKTrackRep::checkCache(), genfit::GblFitter::constructGblInfo(), genfit::GblFitterInfo::constructGblPoint(), genfit::FullMeasurement::constructMeasurementsOnPlane(), genfit::PlanarMeasurement::constructMeasurementsOnPlane(), genfit::WirePointMeasurement::constructMeasurementsOnPlane(), genfit::SpacepointMeasurement::constructMeasurementsOnPlane(), genfit::WireMeasurement::constructMeasurementsOnPlane(), genfit::WireMeasurementNew::constructMeasurementsOnPlane(), genfit::SpacepointMeasurement::constructPlane(), genfit::RKTrackRep::extrapolateBy(), genfit::RKTrackRep::extrapolateToCone(), genfit::RKTrackRep::extrapolateToCylinder(), genfit::RKTrackRep::extrapolateToLine(), genfit::RKTrackRep::extrapolateToPlane(), genfit::RKTrackRep::extrapolateToSphere(), genfit::RKTrackRep::extrapToPoint(), genfit::KalmanFitterInfo::getResidual(), genfit::RKTrackRep::getState5(), genfit::RKTrackRep::getState7(), genfit::Track::getTrackLen(), genfit::KalmanFitterRefTrack::prepareTrack(), genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), genfit::RKTrackRep::setPosMom(), genfit::RKTrackRep::setPosMomErr(), genfit::RKTrackRep::transformM6P(), genfit::RKTrackRep::transformM7P(), genfit::RKTrackRep::transformPM6(), genfit::RKTrackRep::transformPM7(), and genfit::GblFitterInfo::updateMeasurementAndPlane().
|
inline |
Definition at line 111 of file StateOnPlane.h.
References genfit::AbsTrackRep::getPos(), and rep_.
Referenced by genfit::GblFitter::constructGblInfo().
|
inline |
Definition at line 115 of file StateOnPlane.h.
References genfit::AbsTrackRep::getPosDir(), and rep_.
|
inline |
Definition at line 114 of file StateOnPlane.h.
References genfit::AbsTrackRep::getPosMom(), and rep_.
|
inline |
Definition at line 120 of file StateOnPlane.h.
References genfit::AbsTrackRep::getQop(), and rep_.
|
inline |
Definition at line 66 of file StateOnPlane.h.
References rep_.
Referenced by genfit::calcAverageState(), genfit::RKTrackRep::checkCache(), genfit::FullMeasurement::constructMeasurementsOnPlane(), genfit::PlanarMeasurement::constructMeasurementsOnPlane(), genfit::WirePointMeasurement::constructMeasurementsOnPlane(), genfit::SpacepointMeasurement::constructMeasurementsOnPlane(), genfit::WireMeasurement::constructMeasurementsOnPlane(), genfit::WireMeasurementNew::constructMeasurementsOnPlane(), genfit::ProlateSpacepointMeasurement::constructPlane(), genfit::WirePointMeasurement::constructPlane(), genfit::WireMeasurement::constructPlane(), genfit::WireMeasurementNew::constructPlane(), genfit::FullMeasurement::FullMeasurement(), genfit::MeasuredStateOnPlane::get6DCov(), genfit::MeasuredStateOnPlane::get6DStateCov(), genfit::MeasuredStateOnPlane::getMomVar(), genfit::MeasuredStateOnPlane::getPosMomCov(), genfit::KalmanFitterInfo::getResidual(), genfit::MeasuredStateOnPlane::Print(), Print(), genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), genfit::RKTrackRep::setPosMom(), genfit::MeasuredStateOnPlane::setPosMomCov(), and genfit::MeasuredStateOnPlane::setPosMomErr().
|
inline |
Definition at line 62 of file StateOnPlane.h.
References state_.
|
inline |
Definition at line 61 of file StateOnPlane.h.
References state_.
Referenced by genfit::calcAverageState(), genfit::AbsTrackRep::calcJacobianNumerically(), genfit::DAF::calcWeights(), genfit::RKTrackRep::checkCache(), genfit::GblFitterInfo::constructGblPoint(), genfit::WirePointMeasurement::constructMeasurementsOnPlane(), genfit::SpacepointMeasurement::constructMeasurementsOnPlane(), genfit::KalmanFitterInfo::getAvgWeightedMeasurementOnPlane(), genfit::RKTrackRep::getBackwardJacobianAndNoise(), genfit::RKTrackRep::getCharge(), genfit::KalmanFitterInfo::getClosestMeasurementOnPlane(), genfit::RKTrackRep::getForwardJacobianAndNoise(), genfit::RKTrackRep::getMomMag(), genfit::RKTrackRep::getMomVar(), genfit::RKTrackRep::getQop(), genfit::KalmanFitterInfo::getResidual(), genfit::KalmanFitterInfo::getSmoothedChi2(), genfit::RKTrackRep::getState5(), genfit::RKTrackRep::getState7(), genfit::GblFitterInfo::Print(), genfit::KalmanFitter::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), genfit::GFGbl::processTrackWithRep(), genfit::GblFitterInfo::recalculateJacobian(), genfit::KalmanFitterRefTrack::removeOutdated(), genfit::RKTrackRep::setChargeSign(), genfit::RKTrackRep::setPosMom(), genfit::RKTrackRep::setQop(), genfit::GblFitterInfo::setReferenceState(), genfit::RKTrackRep::transformPM6(), and genfit::RKTrackRep::transformPM7().
|
inline |
Definition at line 122 of file StateOnPlane.h.
References genfit::AbsTrackRep::getTime(), and rep_.
Referenced by genfit::Track::udpateSeed().
|
inline |
Definition at line 175 of file StateOnPlane.h.
References swap().
|
virtual |
Reimplemented in genfit::ReferenceStateOnPlane, genfit::MeasuredStateOnPlane, and genfit::MeasurementOnPlane.
Definition at line 30 of file StateOnPlane.cc.
References genfit::AbsTrackRep::getPosMom(), getRep(), genfit::printOut, sharedPlane_, and state_.
Referenced by genfit::ReferenceStateOnPlane::Print().
|
inline |
Definition at line 71 of file StateOnPlane.h.
References auxInfo_.
Referenced by genfit::KalmanFitterRefTrack::processTrackPoint(), and genfit::KalmanFitterRefTrack::processTrackPointSqrt().
|
inline |
Definition at line 126 of file StateOnPlane.h.
References rep_, and genfit::AbsTrackRep::setChargeSign().
|
inline |
Definition at line 69 of file StateOnPlane.h.
References sharedPlane_.
Referenced by genfit::RKTrackRep::extrapolateBy(), genfit::RKTrackRep::extrapolateToCone(), genfit::RKTrackRep::extrapolateToCylinder(), genfit::RKTrackRep::extrapolateToLine(), genfit::RKTrackRep::extrapolateToPlane(), genfit::RKTrackRep::extrapolateToSphere(), genfit::RKTrackRep::extrapToPoint(), and genfit::RKTrackRep::setPosMom().
|
inline |
Definition at line 124 of file StateOnPlane.h.
References rep_, and genfit::AbsTrackRep::setPosMom().
|
inline |
Definition at line 125 of file StateOnPlane.h.
References rep_, and genfit::AbsTrackRep::setPosMom().
|
inline |
Definition at line 127 of file StateOnPlane.h.
References rep_, and genfit::AbsTrackRep::setQop().
|
inline |
Definition at line 72 of file StateOnPlane.h.
References rep_.
|
inline |
Definition at line 68 of file StateOnPlane.h.
References state_.
Referenced by genfit::calcAverageState(), and genfit::MeasuredStateOnPlane::setStateCov().
|
inline |
Definition at line 70 of file StateOnPlane.h.
References sharedPlane_, and state_.
Referenced by genfit::RKTrackRep::checkCache(), and genfit::MeasuredStateOnPlane::setStateCovPlane().
|
inline |
Definition at line 128 of file StateOnPlane.h.
References rep_, and genfit::AbsTrackRep::setTime().
|
inline |
Definition at line 180 of file StateOnPlane.h.
References auxInfo_, rep_, sharedPlane_, and state_.
Referenced by operator=(), genfit::MeasuredStateOnPlane::swap(), and genfit::ReferenceStateOnPlane::swap().
|
protected |
Definition at line 136 of file StateOnPlane.h.
Referenced by getAuxInfo(), setAuxInfo(), and swap().
|
private |
Shared ownership. '!' in order to silence ROOT, custom streamer writes and reads this.
Pointer to TrackRep with respect to which StateOnPlane is defined
Definition at line 143 of file StateOnPlane.h.
Referenced by extrapolateBy(), extrapolateToCone(), extrapolateToCylinder(), extrapolateToLine(), extrapolateToMeasurement(), extrapolateToPlane(), extrapolateToPoint(), extrapolateToSphere(), get6DState(), getCharge(), getDir(), getMass(), getMom(), getMomMag(), getPDG(), getPos(), getPosDir(), getPosMom(), getQop(), getRep(), getTime(), setChargeSign(), setPosMom(), setQop(), setRep(), setTime(), and swap().
|
protected |
Definition at line 137 of file StateOnPlane.h.
Referenced by getPlane(), genfit::MeasurementOnPlane::Print(), genfit::MeasuredStateOnPlane::Print(), Print(), setPlane(), setStatePlane(), StateOnPlane(), and swap().
|
protected |
Definition at line 135 of file StateOnPlane.h.
Referenced by getState(), genfit::MeasurementOnPlane::Print(), genfit::MeasuredStateOnPlane::Print(), Print(), setState(), setStatePlane(), StateOnPlane(), and swap().