Analysis Software
Documentation for sPHENIX simulation software
|
A state with arbitrary dimension defined in a DetPlane. More...
#include <GenFit/blob/master/core/include/StateOnPlane.h>
Public Member Functions | |
StateOnPlane (const genfit::StateOnPlane &)=default | |
StateOnPlane (const AbsTrackRep *rep=nullptr) | |
StateOnPlane (const TVectorD &state, const SharedPlanePtr &plane, const AbsTrackRep *rep) | |
state is defined by the TrackReps parameterization | |
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. | |
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 47 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 47 of file StateOnPlane.h
|
default |
|
inline |
Definition at line 156 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 156 of file StateOnPlane.h
References genfit::AbsTrackRep::getDim(), and state_.
|
inline |
state is defined by the TrackReps parameterization
Definition at line 164 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 164 of file StateOnPlane.h
References assert, and sharedPlane_.
|
inline |
Definition at line 171 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 171 of file StateOnPlane.h
References assert, and sharedPlane_.
|
inlinevirtual |
Definition at line 61 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 61 of file StateOnPlane.h
|
inlinevirtual |
Reimplemented in genfit::MeasuredStateOnPlane.
Definition at line 62 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 62 of file StateOnPlane.h
References StateOnPlane().
|
inline |
Definition at line 106 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 106 of file StateOnPlane.h
References genfit::AbsTrackRep::extrapolateBy(), and rep_.
Referenced by genfit::EventDisplay::drawEvent().
|
inline |
Definition at line 97 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 97 of file StateOnPlane.h
References genfit::AbsTrackRep::extrapolateToCone(), and rep_.
|
inline |
Definition at line 92 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 92 of file StateOnPlane.h
References genfit::AbsTrackRep::extrapolateToCylinder(), and rep_.
|
inline |
Definition at line 81 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 81 of file StateOnPlane.h
References genfit::AbsTrackRep::extrapolateToLine(), and rep_.
|
inline |
Definition at line 109 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 109 of file StateOnPlane.h
References genfit::AbsTrackRep::extrapolateToMeasurement(), and rep_.
|
inline |
Definition at line 78 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 78 of file StateOnPlane.h
References genfit::AbsTrackRep::extrapolateToPlane(), and rep_.
Referenced by genfit::GblFitter::constructGblInfo(), PHGenFitTrkFitter::MakeSvtxTrack(), and genfit::GblFitter::sortHits().
|
inline |
Definition at line 85 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 85 of file StateOnPlane.h
References genfit::AbsTrackRep::extrapolateToPoint(), and rep_.
Referenced by genfit::SpacepointMeasurement::constructPlane(), TpcPrototypeGenFitTrkFitter::MakeSvtxTrack(), and PHGenFitTrkFitter::MakeSvtxTrack().
|
inline |
Definition at line 88 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 88 of file StateOnPlane.h
References genfit::AbsTrackRep::extrapolateToPoint(), and rep_.
|
inline |
Definition at line 102 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 102 of file StateOnPlane.h
References genfit::AbsTrackRep::extrapolateToSphere(), and rep_.
|
inline |
Definition at line 119 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 119 of file StateOnPlane.h
References genfit::AbsTrackRep::get6DState(), and rep_.
Referenced by genfit::Track::udpateSeed().
|
inline |
Definition at line 66 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 66 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::KalmanFitterRefTrack::prepareTrack(), genfit::KalmanFitter::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), genfit::GblFitterInfo::recalculateJacobian(), genfit::RKTrackRep::setPosMom(), genfit::GblFitterInfo::setReferenceState(), genfit::RKTrackRep::setSpu(), genfit::RKTrackRep::setTime(), and PHGenFit::Track::updateOneMeasurementKalman().
|
inline |
Definition at line 67 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 67 of file StateOnPlane.h
References auxInfo_.
|
inline |
Definition at line 122 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 122 of file StateOnPlane.h
References genfit::AbsTrackRep::getCharge(), and rep_.
Referenced by genfit::EventDisplay::drawEvent(), genfit::GblFitter::processTrackWithRep(), and genfit::Track::udpateSeed().
|
inline |
Definition at line 116 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 116 of file StateOnPlane.h
References genfit::AbsTrackRep::getDir(), and rep_.
Referenced by genfit::GblFitterInfo::constructGblPoint().
|
inline |
Definition at line 124 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 124 of file StateOnPlane.h
References genfit::AbsTrackRep::getMass(), and rep_.
|
inline |
Definition at line 115 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 115 of file StateOnPlane.h
References genfit::AbsTrackRep::getMom(), and rep_.
Referenced by PHGenFit::Track::get_mom(), main(), PHG4TrackFastSim::MakeSvtxTrack(), and PHGenFitTrkFitter::MakeSvtxTrack().
|
inline |
Definition at line 120 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 120 of file StateOnPlane.h
References genfit::AbsTrackRep::getMomMag(), and rep_.
|
inline |
Definition at line 121 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 121 of file StateOnPlane.h
References genfit::AbsTrackRep::getPDG(), and rep_.
|
inline |
Definition at line 68 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 68 of file StateOnPlane.h
References sharedPlane_.
Referenced by genfit::KalmanFitterInfo::addMeasurementOnPlane(), genfit::calcAverageState(), genfit::RKTrackRep::checkCache(), checkErrorPropagation(), checkExtrapolateBy(), checkExtrapolateToCylinder(), checkExtrapolateToLine(), checkExtrapolateToPoint(), checkExtrapolateToSphere(), checkSetGetPosMom(), checkStopAtBoundary(), 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::EventDisplay::drawEvent(), 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(), main(), genfit::EventDisplay::makeLines(), PHGenFitTrkFitter::MakeSvtxTrack(), genfit::KalmanFitterRefTrack::prepareTrack(), genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), genfit::RKTrackRep::setPosMom(), genfit::RKTrackRep::setPosMomErr(), genfit::RKTrackRep::transformM6P(), genfit::RKTrackRep::transformPM6(), and genfit::GblFitterInfo::updateMeasurementAndPlane().
|
inline |
Definition at line 114 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 114 of file StateOnPlane.h
References genfit::AbsTrackRep::getPos(), and rep_.
Referenced by checkExtrapolateBy(), genfit::GblFitter::constructGblInfo(), genfit::EventDisplay::drawEvent(), GenFitTrackProp::fill_tree(), PHG4TrackFastSim::MakeSvtxTrack(), and PHGenFitTrkFitter::MakeSvtxTrack().
|
inline |
Definition at line 118 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 118 of file StateOnPlane.h
References genfit::AbsTrackRep::getPosDir(), and rep_.
|
inline |
Definition at line 117 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 117 of file StateOnPlane.h
References genfit::AbsTrackRep::getPosMom(), and rep_.
|
inline |
Definition at line 123 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 123 of file StateOnPlane.h
References genfit::AbsTrackRep::getQop(), and rep_.
|
inline |
Definition at line 69 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 69 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::KalmanFitterRefTrack::prepareTrack(), genfit::MeasuredStateOnPlane::Print(), Print(), genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), genfit::RKTrackRep::setPosMom(), genfit::MeasuredStateOnPlane::setPosMomCov(), and genfit::MeasuredStateOnPlane::setPosMomErr().
|
inline |
Definition at line 64 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 64 of file StateOnPlane.h
References state_.
Referenced by genfit::calcAverageState(), genfit::AbsTrackRep::calcJacobianNumerically(), genfit::DAF::calcWeights(), genfit::RKTrackRep::checkCache(), compareForthBackJacNoise(), genfit::GblFitterInfo::constructGblPoint(), genfit::WirePointMeasurement::constructMeasurementsOnPlane(), genfit::SpacepointMeasurement::constructMeasurementsOnPlane(), genfit::EventDisplay::drawEvent(), genfit::KalmanFitterInfo::getAvgWeightedMeasurementOnPlane(), genfit::RKTrackRep::getBackwardJacobianAndNoise(), genfit::MplTrackRep::getCharge(), 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(), main(), PHG4TrackFastSim::MakeSvtxTrack(), PHGenFitTrkFitter::MakeSvtxTrack(), genfit::KalmanFitterRefTrack::prepareTrack(), 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::TEST_F(), genfit::RKTrackRep::transformPM6(), and PHGenFit::Track::updateOneMeasurementKalman().
|
inline |
Definition at line 65 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 65 of file StateOnPlane.h
References state_.
|
inline |
Definition at line 125 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 125 of file StateOnPlane.h
References genfit::AbsTrackRep::getTime(), and rep_.
Referenced by genfit::Track::udpateSeed().
|
inline |
Definition at line 178 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 178 of file StateOnPlane.h
References swap().
|
virtual |
Reimplemented in genfit::ReferenceStateOnPlane, genfit::MeasuredStateOnPlane, and genfit::MeasurementOnPlane.
Definition at line 30 of file StateOnPlane.cc.
View newest version in sPHENIX GitHub at line 30 of file StateOnPlane.cc
References genfit::AbsTrackRep::getPosMom(), getRep(), Acts::Test::pos, genfit::printOut, sharedPlane_, and state_.
Referenced by checkExtrapolateBy(), checkExtrapolateToCylinder(), checkExtrapolateToLine(), checkExtrapolateToPoint(), checkExtrapolateToSphere(), checkSetGetPosMom(), checkStopAtBoundary(), compareForthBackExtrapolation(), and genfit::ReferenceStateOnPlane::Print().
|
inline |
Definition at line 74 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 74 of file StateOnPlane.h
References auxInfo_.
Referenced by genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), and PHGenFit::Track::updateOneMeasurementKalman().
|
inline |
Definition at line 129 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 129 of file StateOnPlane.h
References rep_, and genfit::AbsTrackRep::setChargeSign().
|
inline |
Definition at line 72 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 72 of file StateOnPlane.h
References Acts::PrimitivesView3DTest::plane, and 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 127 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 127 of file StateOnPlane.h
References rep_, and genfit::AbsTrackRep::setPosMom().
|
inline |
Definition at line 128 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 128 of file StateOnPlane.h
References rep_, and genfit::AbsTrackRep::setPosMom().
|
inline |
Definition at line 130 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 130 of file StateOnPlane.h
References rep_, and genfit::AbsTrackRep::setQop().
|
inline |
Definition at line 75 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 75 of file StateOnPlane.h
References rep_.
Referenced by PHGenFit::extrapolateToCylinder(), and genfit::KalmanFitterRefTrack::prepareTrack().
|
inline |
Definition at line 71 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 71 of file StateOnPlane.h
References filter::state, and state_.
Referenced by genfit::calcAverageState(), and genfit::MeasuredStateOnPlane::setStateCov().
|
inline |
Definition at line 73 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 73 of file StateOnPlane.h
References Acts::PrimitivesView3DTest::plane, sharedPlane_, filter::state, and state_.
Referenced by genfit::RKTrackRep::checkCache(), and genfit::MeasuredStateOnPlane::setStateCovPlane().
|
inline |
Definition at line 131 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 131 of file StateOnPlane.h
References rep_, and genfit::AbsTrackRep::setTime().
|
inline |
Definition at line 183 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 183 of file StateOnPlane.h
References auxInfo_, rep_, sharedPlane_, state_, and swap().
Referenced by operator=(), genfit::MeasuredStateOnPlane::swap(), and genfit::ReferenceStateOnPlane::swap().
|
protected |
Definition at line 139 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 139 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 146 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 146 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 140 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 140 of file StateOnPlane.h
Referenced by getPlane(), genfit::MeasurementOnPlane::Print(), genfit::MeasuredStateOnPlane::Print(), Print(), setPlane(), setStatePlane(), StateOnPlane(), and swap().
|
protected |
Definition at line 138 of file StateOnPlane.h.
View newest version in sPHENIX GitHub at line 138 of file StateOnPlane.h
Referenced by getState(), genfit::MeasurementOnPlane::Print(), genfit::MeasuredStateOnPlane::Print(), Print(), setState(), setStatePlane(), StateOnPlane(), and swap().