SND@LHC Software
|
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. | |
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. | |
unsigned int | getNumMeasurements () const |
std::vector< double > | getWeights () const |
Get weights of measurements. | |
bool | areWeightsFixed () const |
Are the weights fixed? | |
const MeasuredStateOnPlane & | getFittedState (bool biased=true) const |
Get unbiased or biased (default) smoothed state. | |
MeasurementOnPlane | getResidual (unsigned int iMeasurement=0, bool biased=false, bool onlyMeasurementErrors=true) const |
Get unbiased (default) or biased residual from ith measurement. | |
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. | |
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 |
![]() | |
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) |
Private Attributes | |
boost::scoped_ptr< ReferenceStateOnPlane > | referenceState_ |
Reference state. Used by KalmanFitterRefTrack. | |
boost::scoped_ptr< MeasuredStateOnPlane > | forwardPrediction_ |
boost::scoped_ptr< KalmanFittedStateOnPlane > | forwardUpdate_ |
boost::scoped_ptr< MeasuredStateOnPlane > | backwardPrediction_ |
boost::scoped_ptr< KalmanFittedStateOnPlane > | backwardUpdate_ |
boost::scoped_ptr< MeasuredStateOnPlane > | fittedStateUnbiased_ |
boost::scoped_ptr< MeasuredStateOnPlane > | fittedStateBiased_ |
cache | |
std::vector< MeasurementOnPlane * > | measurementsOnPlane_ |
cache | |
bool | fixWeights_ |
Additional Inherited Members | |
![]() | |
const TrackPoint * | trackPoint_ |
const AbsTrackRep * | rep_ |
No ownership. | |
SharedPlanePtr | sharedPlane_ |
No ownership. | |
Collects information needed and produced by a AbsKalmanFitter implementations and is specific to one AbsTrackRep of the Track.
Definition at line 46 of file KalmanFitterInfo.h.
genfit::KalmanFitterInfo::KalmanFitterInfo | ( | ) |
Definition at line 36 of file KalmanFitterInfo.cc.
genfit::KalmanFitterInfo::KalmanFitterInfo | ( | const TrackPoint * | trackPoint, |
const AbsTrackRep * | rep | ||
) |
Definition at line 42 of file KalmanFitterInfo.cc.
|
virtual |
Definition at line 48 of file KalmanFitterInfo.cc.
void genfit::KalmanFitterInfo::addMeasurementOnPlane | ( | MeasurementOnPlane * | measurementOnPlane | ) |
Definition at line 366 of file KalmanFitterInfo.cc.
void genfit::KalmanFitterInfo::addMeasurementsOnPlane | ( | const std::vector< genfit::MeasurementOnPlane * > & | measurementsOnPlane | ) |
Definition at line 373 of file KalmanFitterInfo.cc.
|
inline |
|
virtual |
Implements genfit::AbsFitterInfo.
Definition at line 480 of file KalmanFitterInfo.cc.
|
virtual |
Deep copy ctor for polymorphic class.
Implements genfit::AbsFitterInfo.
Definition at line 53 of file KalmanFitterInfo.cc.
|
virtual |
Implements genfit::AbsFitterInfo.
Definition at line 428 of file KalmanFitterInfo.cc.
|
virtual |
Implements genfit::AbsFitterInfo.
Definition at line 421 of file KalmanFitterInfo.cc.
|
virtual |
Implements genfit::AbsFitterInfo.
Definition at line 442 of file KalmanFitterInfo.cc.
void genfit::KalmanFitterInfo::deletePredictions | ( | ) |
Definition at line 435 of file KalmanFitterInfo.cc.
|
inlinevirtual |
Implements genfit::AbsFitterInfo.
Definition at line 107 of file KalmanFitterInfo.h.
|
inline |
Definition at line 101 of file KalmanFitterInfo.h.
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) |
Definition at line 77 of file KalmanFitterInfo.cc.
|
inline |
Definition at line 58 of file KalmanFitterInfo.h.
|
inline |
Definition at line 61 of file KalmanFitterInfo.h.
MeasurementOnPlane * genfit::KalmanFitterInfo::getClosestMeasurementOnPlane | ( | const StateOnPlane * | sop | ) | const |
Get measurements which is closest to state.
Definition at line 138 of file KalmanFitterInfo.cc.
|
virtual |
Get unbiased or biased (default) smoothed state.
Implements genfit::AbsFitterInfo.
Definition at line 178 of file KalmanFitterInfo.cc.
|
inline |
Definition at line 57 of file KalmanFitterInfo.h.
|
inline |
Definition at line 60 of file KalmanFitterInfo.h.
|
inline |
Definition at line 64 of file KalmanFitterInfo.h.
|
inline |
Definition at line 63 of file KalmanFitterInfo.h.
|
inline |
Definition at line 70 of file KalmanFitterInfo.h.
|
inline |
Definition at line 59 of file KalmanFitterInfo.h.
|
inline |
Definition at line 56 of file KalmanFitterInfo.h.
|
virtual |
Get unbiased (default) or biased residual from ith measurement.
Implements genfit::AbsFitterInfo.
Definition at line 264 of file KalmanFitterInfo.cc.
|
inline |
Definition at line 62 of file KalmanFitterInfo.h.
std::vector< double > genfit::KalmanFitterInfo::getWeights | ( | ) | const |
Get weights of measurements.
Definition at line 167 of file KalmanFitterInfo.cc.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Definition at line 87 of file KalmanFitterInfo.h.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Reimplemented from genfit::AbsFitterInfo.
Definition at line 451 of file KalmanFitterInfo.cc.
void genfit::KalmanFitterInfo::setBackwardPrediction | ( | MeasuredStateOnPlane * | backwardPrediction | ) |
Definition at line 332 of file KalmanFitterInfo.cc.
void genfit::KalmanFitterInfo::setBackwardUpdate | ( | KalmanFittedStateOnPlane * | backwardUpdate | ) |
Definition at line 348 of file KalmanFitterInfo.cc.
void genfit::KalmanFitterInfo::setForwardPrediction | ( | MeasuredStateOnPlane * | forwardPrediction | ) |
Definition at line 324 of file KalmanFitterInfo.cc.
void genfit::KalmanFitterInfo::setForwardUpdate | ( | KalmanFittedStateOnPlane * | forwardUpdate | ) |
Definition at line 340 of file KalmanFitterInfo.cc.
void genfit::KalmanFitterInfo::setMeasurementsOnPlane | ( | const std::vector< genfit::MeasurementOnPlane * > & | measurementsOnPlane | ) |
Definition at line 357 of file KalmanFitterInfo.cc.
|
inline |
Definition at line 92 of file KalmanFitterInfo.h.
void genfit::KalmanFitterInfo::setReferenceState | ( | ReferenceStateOnPlane * | referenceState | ) |
Definition at line 300 of file KalmanFitterInfo.cc.
|
virtual |
Reimplemented from genfit::AbsFitterInfo.
Definition at line 380 of file KalmanFitterInfo.cc.
|
inline |
Definition at line 95 of file KalmanFitterInfo.h.
void genfit::KalmanFitterInfo::setWeights | ( | const std::vector< double > & | weights | ) |
Set weights of measurements.
Definition at line 404 of file KalmanFitterInfo.cc.
|
private |
Definition at line 122 of file KalmanFitterInfo.h.
|
private |
Definition at line 123 of file KalmanFitterInfo.h.
|
mutableprivate |
cache
Definition at line 125 of file KalmanFitterInfo.h.
|
mutableprivate |
Definition at line 124 of file KalmanFitterInfo.h.
|
private |
Definition at line 151 of file KalmanFitterInfo.h.
|
private |
Definition at line 120 of file KalmanFitterInfo.h.
|
private |
Definition at line 121 of file KalmanFitterInfo.h.
|
private |
cache
Definition at line 150 of file KalmanFitterInfo.h.
|
private |
Reference state. Used by KalmanFitterRefTrack.
Definition at line 119 of file KalmanFitterInfo.h.