![]() |
PandaRoot
|
Collects information needed and produced by a AbsKalmanFitter implementations and is specific to one AbsTrackRep of the Track. More...
#include <KalmanFitterInfo.h>
Public Member Functions | |
| KalmanFitterInfo () | |
| KalmanFitterInfo (const TrackPoint *trackPoint, const AbsTrackRep *rep) | |
| virtual | ~KalmanFitterInfo () |
| virtual KalmanFitterInfo * | clone () const |
| Deep copy ctor for polymorphic class. More... | |
| ReferenceStateOnPlane * | getReferenceState () const |
| MeasuredStateOnPlane * | getForwardPrediction () const |
| MeasuredStateOnPlane * | getBackwardPrediction () const |
| MeasuredStateOnPlane * | getPrediction (int direction) const |
| KalmanFittedStateOnPlane * | getForwardUpdate () const |
| KalmanFittedStateOnPlane * | getBackwardUpdate () const |
| KalmanFittedStateOnPlane * | getUpdate (int direction) const |
| const std::vector< genfit::MeasurementOnPlane * > & | getMeasurementsOnPlane () const |
| MeasurementOnPlane * | getMeasurementOnPlane (int i=0) const |
| MeasurementOnPlane | getAvgWeightedMeasurementOnPlane (bool ignoreWeights=false) const |
| MeasurementOnPlane * | getClosestMeasurementOnPlane (const StateOnPlane *) const |
| Get measurements which is closest to state. More... | |
| unsigned int | getNumMeasurements () const |
| std::vector< double > | getWeights () const |
| Get weights of measurements. More... | |
| bool | areWeightsFixed () const |
| Are the weights fixed? More... | |
| const MeasuredStateOnPlane & | getFittedState (bool biased=true) const |
| Get unbiased or biased (default) smoothed state. More... | |
| MeasurementOnPlane | getResidual (unsigned int iMeasurement=0, bool biased=false, bool onlyMeasurementErrors=true) const |
| Get unbiased (default) or biased residual from ith measurement. More... | |
| bool | hasMeasurements () const |
| bool | hasReferenceState () const |
| bool | hasForwardPrediction () const |
| bool | hasBackwardPrediction () const |
| bool | hasForwardUpdate () const |
| bool | hasBackwardUpdate () const |
| bool | hasUpdate (int direction) const |
| bool | hasPredictionsAndUpdates () const |
| void | setReferenceState (ReferenceStateOnPlane *referenceState) |
| void | setForwardPrediction (MeasuredStateOnPlane *forwardPrediction) |
| void | setBackwardPrediction (MeasuredStateOnPlane *backwardPrediction) |
| void | setPrediction (MeasuredStateOnPlane *prediction, int direction) |
| void | setForwardUpdate (KalmanFittedStateOnPlane *forwardUpdate) |
| void | setBackwardUpdate (KalmanFittedStateOnPlane *backwardUpdate) |
| void | setUpdate (KalmanFittedStateOnPlane *update, int direction) |
| void | setMeasurementsOnPlane (const std::vector< genfit::MeasurementOnPlane *> &measurementsOnPlane) |
| void | addMeasurementOnPlane (MeasurementOnPlane *measurementOnPlane) |
| void | addMeasurementsOnPlane (const std::vector< genfit::MeasurementOnPlane *> &measurementsOnPlane) |
| void | setWeights (const std::vector< double > &) |
| Set weights of measurements. More... | |
| void | fixWeights (bool arg=true) |
| void | setRep (const AbsTrackRep *rep) |
| void | deleteForwardInfo () |
| void | deleteBackwardInfo () |
| void | deletePredictions () |
| void | deleteReferenceInfo () |
| void | deleteMeasurementInfo () |
| virtual void | Print (const Option_t *="") const |
| virtual bool | checkConsistency (const genfit::PruneFlags *=nullptr) const |
Public Member Functions inherited from genfit::AbsFitterInfo | |
| AbsFitterInfo () | |
| AbsFitterInfo (const TrackPoint *trackPoint, const AbsTrackRep *rep) | |
| virtual | ~AbsFitterInfo () |
| const TrackPoint * | getTrackPoint () const |
| const AbsTrackRep * | getRep () const |
| void | setTrackPoint (const TrackPoint *tp) |
| virtual bool | hasPrediction (int direction) const |
| const SharedPlanePtr & | getPlane () const |
| void | setPlane (const SharedPlanePtr &plane) |
Additional Inherited Members | |
Protected Attributes inherited from genfit::AbsFitterInfo | |
| const TrackPoint * | trackPoint_ |
| const AbsTrackRep * | rep_ |
| No ownership. More... | |
| SharedPlanePtr | sharedPlane_ |
| No ownership. More... | |
Collects information needed and produced by a AbsKalmanFitter implementations and is specific to one AbsTrackRep of the Track.
Definition at line 44 of file KalmanFitterInfo.h.
| genfit::KalmanFitterInfo::KalmanFitterInfo | ( | ) |
| genfit::KalmanFitterInfo::KalmanFitterInfo | ( | const TrackPoint * | trackPoint, |
| const AbsTrackRep * | rep | ||
| ) |
|
virtual |
| void genfit::KalmanFitterInfo::addMeasurementOnPlane | ( | MeasurementOnPlane * | measurementOnPlane | ) |
Referenced by setUpdate().
| void genfit::KalmanFitterInfo::addMeasurementsOnPlane | ( | const std::vector< genfit::MeasurementOnPlane *> & | measurementsOnPlane | ) |
Referenced by setUpdate().
|
inline |
Are the weights fixed?
Definition at line 86 of file KalmanFitterInfo.h.
References getFittedState(), and getResidual().
|
virtual |
Implements genfit::AbsFitterInfo.
Referenced by deleteReferenceInfo().
|
virtual |
Deep copy ctor for polymorphic class.
Implements genfit::AbsFitterInfo.
|
virtual |
Implements genfit::AbsFitterInfo.
Referenced by fixWeights().
|
virtual |
Implements genfit::AbsFitterInfo.
Referenced by fixWeights().
|
virtual |
Implements genfit::AbsFitterInfo.
Referenced by deleteReferenceInfo().
| void genfit::KalmanFitterInfo::deletePredictions | ( | ) |
Referenced by fixWeights().
|
inlinevirtual |
Implements genfit::AbsFitterInfo.
Definition at line 137 of file KalmanFitterInfo.h.
References checkConsistency(), deleteMeasurementInfo(), Print(), and setReferenceState().
|
inline |
Definition at line 131 of file KalmanFitterInfo.h.
References deleteBackwardInfo(), deleteForwardInfo(), deletePredictions(), and setRep().
| MeasurementOnPlane genfit::KalmanFitterInfo::getAvgWeightedMeasurementOnPlane | ( | bool | ignoreWeights = false | ) | const |
Get weighted mean of all measurements.
| ignoreWeights | If set, the weights of the individual measurements will be ignored (they will be treated as if they all had weight 1) |
Referenced by getMeasurementOnPlane().
|
inline |
Definition at line 55 of file KalmanFitterInfo.h.
|
inline |
Definition at line 63 of file KalmanFitterInfo.h.
| MeasurementOnPlane* genfit::KalmanFitterInfo::getClosestMeasurementOnPlane | ( | const StateOnPlane * | ) | const |
Get measurements which is closest to state.
Referenced by getMeasurementOnPlane().
|
virtual |
Get unbiased or biased (default) smoothed state.
Implements genfit::AbsFitterInfo.
Referenced by areWeightsFixed().
|
inline |
Definition at line 54 of file KalmanFitterInfo.h.
|
inline |
Definition at line 62 of file KalmanFitterInfo.h.
|
inline |
Definition at line 71 of file KalmanFitterInfo.h.
References getAvgWeightedMeasurementOnPlane(), getClosestMeasurementOnPlane(), and i.
|
inline |
Definition at line 70 of file KalmanFitterInfo.h.
|
inline |
Definition at line 82 of file KalmanFitterInfo.h.
References getWeights().
Referenced by hasMeasurements().
|
inline |
Definition at line 56 of file KalmanFitterInfo.h.
|
inline |
Definition at line 53 of file KalmanFitterInfo.h.
|
virtual |
Get unbiased (default) or biased residual from ith measurement.
Implements genfit::AbsFitterInfo.
Referenced by areWeightsFixed().
|
inline |
Definition at line 64 of file KalmanFitterInfo.h.
| std::vector<double> genfit::KalmanFitterInfo::getWeights | ( | ) | const |
Get weights of measurements.
Referenced by getNumMeasurements().
|
inlinevirtual |
Implements genfit::AbsFitterInfo.
Definition at line 96 of file KalmanFitterInfo.h.
Referenced by hasPredictionsAndUpdates().
|
inlinevirtual |
Implements genfit::AbsFitterInfo.
Definition at line 98 of file KalmanFitterInfo.h.
Referenced by hasPredictionsAndUpdates(), and hasUpdate().
|
inlinevirtual |
Implements genfit::AbsFitterInfo.
Definition at line 95 of file KalmanFitterInfo.h.
Referenced by hasPredictionsAndUpdates().
|
inlinevirtual |
Implements genfit::AbsFitterInfo.
Definition at line 97 of file KalmanFitterInfo.h.
Referenced by hasPredictionsAndUpdates(), and hasUpdate().
|
inlinevirtual |
Implements genfit::AbsFitterInfo.
Definition at line 93 of file KalmanFitterInfo.h.
References getNumMeasurements().
|
inline |
Definition at line 105 of file KalmanFitterInfo.h.
References hasBackwardPrediction(), hasBackwardUpdate(), hasForwardPrediction(), hasForwardUpdate(), setBackwardPrediction(), setForwardPrediction(), and setReferenceState().
|
inlinevirtual |
Implements genfit::AbsFitterInfo.
Definition at line 94 of file KalmanFitterInfo.h.
|
inlinevirtual |
Reimplemented from genfit::AbsFitterInfo.
Definition at line 99 of file KalmanFitterInfo.h.
References hasBackwardUpdate(), and hasForwardUpdate().
|
virtual |
Reimplemented from genfit::AbsFitterInfo.
Referenced by deleteReferenceInfo().
| void genfit::KalmanFitterInfo::setBackwardPrediction | ( | MeasuredStateOnPlane * | backwardPrediction | ) |
Referenced by hasPredictionsAndUpdates(), and setPrediction().
| void genfit::KalmanFitterInfo::setBackwardUpdate | ( | KalmanFittedStateOnPlane * | backwardUpdate | ) |
Referenced by setPrediction(), and setUpdate().
| void genfit::KalmanFitterInfo::setForwardPrediction | ( | MeasuredStateOnPlane * | forwardPrediction | ) |
Referenced by hasPredictionsAndUpdates(), and setPrediction().
| void genfit::KalmanFitterInfo::setForwardUpdate | ( | KalmanFittedStateOnPlane * | forwardUpdate | ) |
Referenced by setPrediction(), and setUpdate().
| void genfit::KalmanFitterInfo::setMeasurementsOnPlane | ( | const std::vector< genfit::MeasurementOnPlane *> & | measurementsOnPlane | ) |
Referenced by setUpdate().
|
inline |
Definition at line 110 of file KalmanFitterInfo.h.
References setBackwardPrediction(), setBackwardUpdate(), setForwardPrediction(), and setForwardUpdate().
| void genfit::KalmanFitterInfo::setReferenceState | ( | ReferenceStateOnPlane * | referenceState | ) |
Referenced by deleteReferenceInfo(), and hasPredictionsAndUpdates().
|
virtual |
Reimplemented from genfit::AbsFitterInfo.
Referenced by fixWeights().
|
inline |
Definition at line 119 of file KalmanFitterInfo.h.
References addMeasurementOnPlane(), addMeasurementsOnPlane(), setBackwardUpdate(), setForwardUpdate(), setMeasurementsOnPlane(), and setWeights().
| void genfit::KalmanFitterInfo::setWeights | ( | const std::vector< double > & | ) |
Set weights of measurements.
Referenced by setUpdate().