EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
genfit::KalmanFitterInfo Class Reference

Collects information needed and produced by a AbsKalmanFitter implementations and is specific to one AbsTrackRep of the Track. More...

#include <fun4all_GenFit/blob/master/fitters/include/KalmanFitterInfo.h>

+ Inheritance diagram for genfit::KalmanFitterInfo:
+ Collaboration diagram for genfit::KalmanFitterInfo:

Public Member Functions

 KalmanFitterInfo ()
 
 KalmanFitterInfo (const TrackPoint *trackPoint, const AbsTrackRep *rep)
 
virtual ~KalmanFitterInfo ()
 
virtual KalmanFitterInfoclone () const override
 Deep copy ctor for polymorphic class.
 
ReferenceStateOnPlanegetReferenceState () const
 
MeasuredStateOnPlanegetForwardPrediction () const
 
MeasuredStateOnPlanegetBackwardPrediction () const
 
MeasuredStateOnPlanegetPrediction (int direction) const
 
KalmanFittedStateOnPlanegetForwardUpdate () const
 
KalmanFittedStateOnPlanegetBackwardUpdate () const
 
KalmanFittedStateOnPlanegetUpdate (int direction) const
 
const std::vector
< genfit::MeasurementOnPlane * > & 
getMeasurementsOnPlane () const
 
MeasurementOnPlanegetMeasurementOnPlane (int i=0) const
 
MeasurementOnPlane getAvgWeightedMeasurementOnPlane (bool ignoreWeights=false) const
 
MeasurementOnPlanegetClosestMeasurementOnPlane (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 MeasuredStateOnPlanegetFittedState (bool biased=true) const override
 Get unbiased or biased (default) smoothed state.
 
MeasurementOnPlane getResidual (unsigned int iMeasurement=0, bool biased=false, bool onlyMeasurementErrors=true) const override
 Get unbiased (default) or biased residual from ith measurement.
 
double getSmoothedChi2 (unsigned int iMeasurement=0) const
 
bool hasMeasurements () const override
 
bool hasReferenceState () const override
 
bool hasForwardPrediction () const override
 
bool hasBackwardPrediction () const override
 
bool hasForwardUpdate () const override
 
bool hasBackwardUpdate () const override
 
bool hasUpdate (int direction) const override
 
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) override
 
void deleteForwardInfo () override
 
void deleteBackwardInfo () override
 
void deletePredictions ()
 
void deleteReferenceInfo () override
 
void deleteMeasurementInfo () override
 
virtual void Print (const Option_t *="") const override
 
virtual bool checkConsistency (const genfit::PruneFlags *=nullptr) const override
 
- Public Member Functions inherited from genfit::AbsFitterInfo
 AbsFitterInfo ()
 
 AbsFitterInfo (const TrackPoint *trackPoint, const AbsTrackRep *rep)
 
virtual ~AbsFitterInfo ()
 
const TrackPointgetTrackPoint () const
 
const AbsTrackRepgetRep () const
 
void setTrackPoint (const TrackPoint *tp)
 
virtual bool hasPrediction (int direction) const
 
const SharedPlanePtrgetPlane () const
 
void setPlane (const SharedPlanePtr &plane)
 

Private Attributes

std::unique_ptr
< ReferenceStateOnPlane
referenceState_
 Reference state. Used by KalmanFitterRefTrack.
 
std::unique_ptr
< MeasuredStateOnPlane
forwardPrediction_
 
std::unique_ptr
< KalmanFittedStateOnPlane
forwardUpdate_
 
std::unique_ptr
< MeasuredStateOnPlane
backwardPrediction_
 
std::unique_ptr
< KalmanFittedStateOnPlane
backwardUpdate_
 
std::unique_ptr
< MeasuredStateOnPlane
fittedStateUnbiased_
 
std::unique_ptr
< MeasuredStateOnPlane
fittedStateBiased_
 cache
 
std::vector< MeasurementOnPlane * > measurementsOnPlane_
 cache
 
bool fixWeights_
 

Additional Inherited Members

- Protected Attributes inherited from genfit::AbsFitterInfo
const TrackPointtrackPoint_
 
const AbsTrackReprep_
 No ownership.
 
SharedPlanePtr sharedPlane_
 No ownership.
 

Detailed Description

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.

View newest version in sPHENIX GitHub at line 44 of file KalmanFitterInfo.h

Constructor & Destructor Documentation

genfit::KalmanFitterInfo::KalmanFitterInfo ( )

Definition at line 37 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 37 of file KalmanFitterInfo.cc

Referenced by clone().

+ Here is the caller graph for this function:

genfit::KalmanFitterInfo::KalmanFitterInfo ( const TrackPoint trackPoint,
const AbsTrackRep rep 
)

Definition at line 43 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 43 of file KalmanFitterInfo.cc

genfit::KalmanFitterInfo::~KalmanFitterInfo ( )
virtual

Definition at line 49 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 49 of file KalmanFitterInfo.cc

References deleteMeasurementInfo().

+ Here is the call graph for this function:

Member Function Documentation

void genfit::KalmanFitterInfo::addMeasurementOnPlane ( MeasurementOnPlane measurementOnPlane)

Definition at line 425 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 425 of file KalmanFitterInfo.cc

References genfit::StateOnPlane::getPlane(), measurementsOnPlane_, and genfit::AbsFitterInfo::setPlane().

Referenced by addMeasurementsOnPlane(), clone(), and setMeasurementsOnPlane().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void genfit::KalmanFitterInfo::addMeasurementsOnPlane ( const std::vector< genfit::MeasurementOnPlane * > &  measurementsOnPlane)

Definition at line 432 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 432 of file KalmanFitterInfo.cc

References addMeasurementOnPlane(), and Acts::UnitConstants::m.

Referenced by genfit::KalmanFitterRefTrack::prepareTrack(), PHGenFit::Track::updateOneMeasurementKalman(), and PHGenFit2::Track::updateOneMeasurementKalman().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool genfit::KalmanFitterInfo::areWeightsFixed ( ) const
inline

Are the weights fixed?

Definition at line 72 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 72 of file KalmanFitterInfo.h

References fixWeights_.

Referenced by genfit::DAF::calcWeights(), and genfit::KalmanFitterRefTrack::prepareTrack().

+ Here is the caller graph for this function:

bool genfit::KalmanFitterInfo::checkConsistency ( const genfit::PruneFlags flags = nullptr) const
overridevirtual

Implements genfit::AbsFitterInfo.

Definition at line 539 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 539 of file KalmanFitterInfo.cc

References backwardPrediction_, backwardUpdate_, Acts::Test::dim, genfit::errorOut, forwardPrediction_, forwardUpdate_, genfit::AbsTrackRep::getDim(), genfit::AbsFitterInfo::getPlane(), genfit::PruneFlags::hasFlags(), it, measurementsOnPlane_, Acts::PrimitivesView3DTest::plane, referenceState_, genfit::AbsFitterInfo::rep_, and genfit::AbsFitterInfo::trackPoint_.

Referenced by genfit::AbsKalmanFitter::isTrackFitted(), genfit::AbsKalmanFitter::isTrackPrepared(), genfit::KalmanFitterRefTrack::processTrackPoint(), and genfit::KalmanFitterRefTrack::processTrackPointSqrt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

KalmanFitterInfo * genfit::KalmanFitterInfo::clone ( ) const
overridevirtual
void genfit::KalmanFitterInfo::deleteBackwardInfo ( )
overridevirtual

Implements genfit::AbsFitterInfo.

Definition at line 487 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 487 of file KalmanFitterInfo.cc

References fittedStateBiased_, fittedStateUnbiased_, setBackwardPrediction(), and setBackwardUpdate().

+ Here is the call graph for this function:

void genfit::KalmanFitterInfo::deleteForwardInfo ( )
overridevirtual

Implements genfit::AbsFitterInfo.

Definition at line 480 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 480 of file KalmanFitterInfo.cc

References fittedStateBiased_, fittedStateUnbiased_, setForwardPrediction(), and setForwardUpdate().

+ Here is the call graph for this function:

void genfit::KalmanFitterInfo::deleteMeasurementInfo ( )
overridevirtual

Implements genfit::AbsFitterInfo.

Definition at line 501 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 501 of file KalmanFitterInfo.cc

References measurementsOnPlane_.

Referenced by genfit::KalmanFitterRefTrack::prepareTrack(), setMeasurementsOnPlane(), and ~KalmanFitterInfo().

+ Here is the caller graph for this function:

void genfit::KalmanFitterInfo::deletePredictions ( )

Definition at line 494 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 494 of file KalmanFitterInfo.cc

References fittedStateBiased_, fittedStateUnbiased_, setBackwardPrediction(), and setForwardPrediction().

+ Here is the call graph for this function:

void genfit::KalmanFitterInfo::deleteReferenceInfo ( )
inlineoverridevirtual

Implements genfit::AbsFitterInfo.

Definition at line 106 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 106 of file KalmanFitterInfo.h

References setReferenceState().

Referenced by genfit::KalmanFitterRefTrack::prepareTrack(), and genfit::KalmanFitterRefTrack::removeOutdated().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void genfit::KalmanFitterInfo::fixWeights ( bool  arg = true)
inline

Definition at line 100 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 100 of file KalmanFitterInfo.h

References fixWeights_.

Referenced by genfit::Track::fixWeights(), and genfit::KalmanFitterRefTrack::prepareTrack().

+ Here is the caller graph for this function:

MeasurementOnPlane genfit::KalmanFitterInfo::getAvgWeightedMeasurementOnPlane ( bool  ignoreWeights = false) const

Get weighted mean of all measurements.

Parameters
ignoreWeightsIf set, the weights of the individual measurements will be ignored (they will be treated as if they all had weight 1)

Definition at line 78 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 78 of file KalmanFitterInfo.cc

References genfit::MeasuredStateOnPlane::getCov(), genfit::AbsFitterInfo::getPlane(), genfit::StateOnPlane::getState(), genfit::tools::invertMatrix(), measurementsOnPlane_, and genfit::MeasurementOnPlane::setWeight().

+ Here is the call graph for this function:

MeasuredStateOnPlane* genfit::KalmanFitterInfo::getBackwardPrediction ( ) const
inline

Definition at line 56 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 56 of file KalmanFitterInfo.h

References backwardPrediction_.

Referenced by clone(), genfit::EventDisplay::drawEvent(), and genfit::KalmanFitterRefTrack::processTrackWithRep().

+ Here is the caller graph for this function:

KalmanFittedStateOnPlane* genfit::KalmanFitterInfo::getBackwardUpdate ( ) const
inline

Definition at line 59 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 59 of file KalmanFitterInfo.h

References backwardUpdate_.

Referenced by clone(), genfit::EventDisplay::drawEvent(), genfit::AbsKalmanFitter::getChiSquNdf(), and genfit::KalmanFitterRefTrack::prepareTrack().

+ Here is the caller graph for this function:

MeasurementOnPlane * genfit::KalmanFitterInfo::getClosestMeasurementOnPlane ( const StateOnPlane sop) const

Get measurements which is closest to state.

Definition at line 139 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 139 of file KalmanFitterInfo.cc

References Acts::UnitConstants::e, getMeasurementOnPlane(), getNumMeasurements(), genfit::StateOnPlane::getState(), H, genfit::AbsHMatrix::Hv(), measurementsOnPlane_, and genfit::Exception::setFatal().

Referenced by genfit::AbsKalmanFitter::getMeasurements().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const MeasuredStateOnPlane & genfit::KalmanFitterInfo::getFittedState ( bool  biased = true) const
overridevirtual

Get unbiased or biased (default) smoothed state.

Implements genfit::AbsFitterInfo.

Definition at line 179 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 179 of file KalmanFitterInfo.cc

References backwardPrediction_, backwardUpdate_, genfit::calcAverageState(), genfit::debugOut, Acts::UnitConstants::e, fittedStateBiased_, fittedStateUnbiased_, forwardPrediction_, forwardUpdate_, genfit::Track::getFitStatus(), genfit::Track::getNumPoints(), genfit::Track::getPointWithFitterInfo(), genfit::FitStatus::getPruneFlags(), genfit::AbsFitterInfo::getRep(), genfit::TrackPoint::getTrack(), genfit::AbsFitterInfo::getTrackPoint(), genfit::PruneFlags::hasFlags(), genfit::PruneFlags::isPruned(), genfit::PruneFlags::Print(), and genfit::Exception::setFatal().

Referenced by genfit::EventDisplay::drawEvent(), PHGenFit::Track::get_charge(), PHGenFit2::Track::get_charge(), PHGenFit::Track::get_mom(), PHGenFit2::Track::get_mom(), PHTpcTrackFollower::get_projected_coordinate(), PHGenFit2::Track::get_track_info(), PHTpcTrackFollower::get_track_layer(), getResidual(), PHGenFitTrkFitter::MakeSvtxTrack(), genfit::KalmanFitterRefTrack::prepareTrack(), genfit::KalmanFitter::processTrackPartially(), genfit::KalmanFitter::processTrackWithRep(), genfit::KalmanFitterRefTrack::removeOutdated(), PHGenFit2::Track::updateOneMeasurementKalman(), and PHGenFit::Track::updateOneMeasurementKalman().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

MeasuredStateOnPlane* genfit::KalmanFitterInfo::getForwardPrediction ( ) const
inline

Definition at line 55 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 55 of file KalmanFitterInfo.h

References forwardPrediction_.

Referenced by clone(), and genfit::EventDisplay::drawEvent().

+ Here is the caller graph for this function:

KalmanFittedStateOnPlane* genfit::KalmanFitterInfo::getForwardUpdate ( ) const
inline

Definition at line 58 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 58 of file KalmanFitterInfo.h

References forwardUpdate_.

Referenced by clone(), genfit::EventDisplay::drawEvent(), genfit::AbsKalmanFitter::getChiSquNdf(), and genfit::KalmanFitterRefTrack::processTrackWithRep().

+ Here is the caller graph for this function:

MeasurementOnPlane* genfit::KalmanFitterInfo::getMeasurementOnPlane ( int  i = 0) const
inline

Definition at line 62 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 62 of file KalmanFitterInfo.h

References measurementsOnPlane_.

Referenced by genfit::DAF::calcWeights(), genfit::EventDisplay::drawEvent(), getClosestMeasurementOnPlane(), getWeights(), and setWeights().

+ Here is the caller graph for this function:

const std::vector< genfit::MeasurementOnPlane* >& genfit::KalmanFitterInfo::getMeasurementsOnPlane ( ) const
inline

Definition at line 61 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 61 of file KalmanFitterInfo.h

References measurementsOnPlane_.

Referenced by genfit::AbsKalmanFitter::getMeasurements(), PHGenFit::Track::updateOneMeasurementKalman(), and PHGenFit2::Track::updateOneMeasurementKalman().

+ Here is the caller graph for this function:

unsigned int genfit::KalmanFitterInfo::getNumMeasurements ( ) const
inline

Definition at line 68 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 68 of file KalmanFitterInfo.h

References measurementsOnPlane_.

Referenced by genfit::DAF::calcWeights(), clone(), genfit::EventDisplay::drawEvent(), getClosestMeasurementOnPlane(), getWeights(), hasMeasurements(), genfit::KalmanFitterRefTrack::prepareTrack(), and setWeights().

+ Here is the caller graph for this function:

MeasuredStateOnPlane* genfit::KalmanFitterInfo::getPrediction ( int  direction) const
inline

Definition at line 57 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 57 of file KalmanFitterInfo.h

References backwardPrediction_, and forwardPrediction_.

Referenced by genfit::AbsKalmanFitter::getMeasurements(), genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), PHGenFit::Track::updateOneMeasurementKalman(), and PHGenFit2::Track::updateOneMeasurementKalman().

+ Here is the caller graph for this function:

ReferenceStateOnPlane* genfit::KalmanFitterInfo::getReferenceState ( ) const
inline

Definition at line 54 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 54 of file KalmanFitterInfo.h

References referenceState_.

Referenced by genfit::Track::checkConsistency(), clone(), genfit::EventDisplay::drawEvent(), genfit::AbsKalmanFitter::getMeasurements(), genfit::KalmanFitterRefTrack::prepareTrack(), genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), genfit::GFGbl::processTrackWithRep(), and genfit::KalmanFitterRefTrack::removeOutdated().

+ Here is the caller graph for this function:

MeasurementOnPlane genfit::KalmanFitterInfo::getResidual ( unsigned int  iMeasurement = 0,
bool  biased = false,
bool  onlyMeasurementErrors = true 
) const
overridevirtual

Get unbiased (default) or biased residual from ith measurement.

Implements genfit::AbsFitterInfo.

Definition at line 314 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 314 of file KalmanFitterInfo.cc

References genfit::AbsHMatrix::clone(), Acts::Test::cov, Acts::UnitConstants::e, genfit::MeasuredStateOnPlane::getCov(), getFittedState(), genfit::MeasurementOnPlane::getHMatrix(), genfit::StateOnPlane::getPlane(), genfit::StateOnPlane::getRep(), genfit::StateOnPlane::getState(), genfit::MeasurementOnPlane::getWeight(), H, genfit::AbsHMatrix::HMHt(), genfit::AbsHMatrix::Hv(), measurementsOnPlane_, and Acts::PrimitivesView3DTest::plane.

Referenced by genfit::DAF::calcWeights(), and getSmoothedChi2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double genfit::KalmanFitterInfo::getSmoothedChi2 ( unsigned int  iMeasurement = 0) const

Definition at line 350 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 350 of file KalmanFitterInfo.cc

References genfit::MeasuredStateOnPlane::getCov(), getResidual(), genfit::StateOnPlane::getState(), and genfit::tools::invertMatrix().

+ Here is the call graph for this function:

KalmanFittedStateOnPlane* genfit::KalmanFitterInfo::getUpdate ( int  direction) const
inline

Definition at line 60 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 60 of file KalmanFitterInfo.h

References backwardUpdate_, and forwardUpdate_.

Referenced by genfit::KalmanFitterRefTrack::fitTrack(), genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), PHGenFit::Track::updateOneMeasurementKalman(), and PHGenFit2::Track::updateOneMeasurementKalman().

+ Here is the caller graph for this function:

std::vector< double > genfit::KalmanFitterInfo::getWeights ( ) const

Get weights of measurements.

Definition at line 168 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 168 of file KalmanFitterInfo.cc

References getMeasurementOnPlane(), getNumMeasurements(), and genfit::MeasurementOnPlane::getWeight().

Referenced by genfit::KalmanFitterRefTrack::prepareTrack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool genfit::KalmanFitterInfo::hasBackwardPrediction ( ) const
inlineoverridevirtual

Implements genfit::AbsFitterInfo.

Definition at line 82 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 82 of file KalmanFitterInfo.h

References backwardPrediction_.

Referenced by clone(), genfit::EventDisplay::drawEvent(), hasPredictionsAndUpdates(), and genfit::KalmanFitterRefTrack::processTrackWithRep().

+ Here is the caller graph for this function:

bool genfit::KalmanFitterInfo::hasBackwardUpdate ( ) const
inlineoverridevirtual

Implements genfit::AbsFitterInfo.

Definition at line 84 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 84 of file KalmanFitterInfo.h

References backwardUpdate_.

Referenced by clone(), genfit::EventDisplay::drawEvent(), hasPredictionsAndUpdates(), hasUpdate(), genfit::AbsKalmanFitter::isTrackFitted(), and genfit::KalmanFitterRefTrack::prepareTrack().

+ Here is the caller graph for this function:

bool genfit::KalmanFitterInfo::hasForwardPrediction ( ) const
inlineoverridevirtual

Implements genfit::AbsFitterInfo.

Definition at line 81 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 81 of file KalmanFitterInfo.h

References forwardPrediction_.

Referenced by clone(), genfit::EventDisplay::drawEvent(), hasPredictionsAndUpdates(), and genfit::KalmanFitterRefTrack::prepareTrack().

+ Here is the caller graph for this function:

bool genfit::KalmanFitterInfo::hasForwardUpdate ( ) const
inlineoverridevirtual

Implements genfit::AbsFitterInfo.

Definition at line 83 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 83 of file KalmanFitterInfo.h

References forwardUpdate_.

Referenced by clone(), genfit::EventDisplay::drawEvent(), hasPredictionsAndUpdates(), hasUpdate(), and genfit::AbsKalmanFitter::isTrackFitted().

+ Here is the caller graph for this function:

bool genfit::KalmanFitterInfo::hasMeasurements ( ) const
inlineoverridevirtual

Implements genfit::AbsFitterInfo.

Definition at line 79 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 79 of file KalmanFitterInfo.h

References getNumMeasurements().

+ Here is the call graph for this function:

bool genfit::KalmanFitterInfo::hasPredictionsAndUpdates ( ) const
inline

Definition at line 86 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 86 of file KalmanFitterInfo.h

References hasBackwardPrediction(), hasBackwardUpdate(), hasForwardPrediction(), and hasForwardUpdate().

Referenced by genfit::EventDisplay::drawEvent(), genfit::KalmanFitterRefTrack::prepareTrack(), genfit::KalmanFitter::processTrackPartially(), genfit::KalmanFitter::processTrackWithRep(), and genfit::KalmanFitterRefTrack::removeOutdated().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool genfit::KalmanFitterInfo::hasReferenceState ( ) const
inlineoverridevirtual

Implements genfit::AbsFitterInfo.

Definition at line 80 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 80 of file KalmanFitterInfo.h

References referenceState_.

Referenced by genfit::Track::checkConsistency(), clone(), genfit::EventDisplay::drawEvent(), genfit::AbsKalmanFitter::getMeasurements(), genfit::AbsKalmanFitter::isTrackPrepared(), genfit::KalmanFitterRefTrack::prepareTrack(), genfit::GFGbl::processTrackWithRep(), and genfit::KalmanFitterRefTrack::removeOutdated().

+ Here is the caller graph for this function:

bool genfit::KalmanFitterInfo::hasUpdate ( int  direction) const
inlineoverridevirtual

Reimplemented from genfit::AbsFitterInfo.

Definition at line 85 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 85 of file KalmanFitterInfo.h

References hasBackwardUpdate(), and hasForwardUpdate().

Referenced by genfit::KalmanFitterRefTrack::fitTrack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void genfit::KalmanFitterInfo::Print ( const Option_t *  = "") const
overridevirtual
void genfit::KalmanFitterInfo::setBackwardPrediction ( MeasuredStateOnPlane backwardPrediction)

Definition at line 391 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 391 of file KalmanFitterInfo.cc

References backwardPrediction_, fittedStateBiased_, fittedStateUnbiased_, and genfit::AbsFitterInfo::setPlane().

Referenced by clone(), deleteBackwardInfo(), deletePredictions(), genfit::KalmanFitterRefTrack::processTrackWithRep(), and setPrediction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void genfit::KalmanFitterInfo::setBackwardUpdate ( KalmanFittedStateOnPlane backwardUpdate)

Definition at line 407 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 407 of file KalmanFitterInfo.cc

References backwardUpdate_, fittedStateBiased_, fittedStateUnbiased_, and genfit::AbsFitterInfo::setPlane().

Referenced by clone(), deleteBackwardInfo(), and setUpdate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void genfit::KalmanFitterInfo::setForwardPrediction ( MeasuredStateOnPlane forwardPrediction)

Definition at line 383 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 383 of file KalmanFitterInfo.cc

References fittedStateBiased_, fittedStateUnbiased_, forwardPrediction_, and genfit::AbsFitterInfo::setPlane().

Referenced by clone(), deleteForwardInfo(), deletePredictions(), genfit::KalmanFitterRefTrack::prepareTrack(), and setPrediction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void genfit::KalmanFitterInfo::setForwardUpdate ( KalmanFittedStateOnPlane forwardUpdate)

Definition at line 399 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 399 of file KalmanFitterInfo.cc

References fittedStateBiased_, fittedStateUnbiased_, forwardUpdate_, and genfit::AbsFitterInfo::setPlane().

Referenced by clone(), deleteForwardInfo(), setUpdate(), and PHRaveVertexing::TranslateSvtxToGenFitTrack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void genfit::KalmanFitterInfo::setMeasurementsOnPlane ( const std::vector< genfit::MeasurementOnPlane * > &  measurementsOnPlane)

Definition at line 416 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 416 of file KalmanFitterInfo.cc

References addMeasurementOnPlane(), deleteMeasurementInfo(), and Acts::UnitConstants::m.

+ Here is the call graph for this function:

void genfit::KalmanFitterInfo::setPrediction ( MeasuredStateOnPlane prediction,
int  direction 
)
inline

Definition at line 91 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 91 of file KalmanFitterInfo.h

References setBackwardPrediction(), and setForwardPrediction().

Referenced by genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), PHGenFit::Track::updateOneMeasurementKalman(), and PHGenFit2::Track::updateOneMeasurementKalman().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void genfit::KalmanFitterInfo::setReferenceState ( ReferenceStateOnPlane referenceState)

Definition at line 359 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 359 of file KalmanFitterInfo.cc

References referenceState_, and genfit::AbsFitterInfo::setPlane().

Referenced by clone(), deleteReferenceInfo(), and genfit::KalmanFitterRefTrack::prepareTrack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void genfit::KalmanFitterInfo::setRep ( const AbsTrackRep rep)
overridevirtual

Reimplemented from genfit::AbsFitterInfo.

Definition at line 439 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 439 of file KalmanFitterInfo.cc

References backwardPrediction_, backwardUpdate_, forwardPrediction_, forwardUpdate_, it, measurementsOnPlane_, referenceState_, and genfit::AbsFitterInfo::rep_.

void genfit::KalmanFitterInfo::setUpdate ( KalmanFittedStateOnPlane update,
int  direction 
)
inline

Definition at line 94 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 94 of file KalmanFitterInfo.h

References setBackwardUpdate(), and setForwardUpdate().

Referenced by genfit::KalmanFitterRefTrack::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), PHGenFit::Track::updateOneMeasurementKalman(), and PHGenFit2::Track::updateOneMeasurementKalman().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void genfit::KalmanFitterInfo::setWeights ( const std::vector< double > &  weights)

Set weights of measurements.

Definition at line 463 of file KalmanFitterInfo.cc.

View newest version in sPHENIX GitHub at line 463 of file KalmanFitterInfo.cc

References Acts::UnitConstants::e, genfit::errorOut, fixWeights_, getMeasurementOnPlane(), getNumMeasurements(), and genfit::MeasurementOnPlane::setWeight().

Referenced by genfit::KalmanFitterRefTrack::prepareTrack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::unique_ptr<MeasuredStateOnPlane> genfit::KalmanFitterInfo::backwardPrediction_
private

Definition at line 119 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 119 of file KalmanFitterInfo.h

Referenced by checkConsistency(), getBackwardPrediction(), getFittedState(), getPrediction(), hasBackwardPrediction(), Print(), setBackwardPrediction(), and setRep().

std::unique_ptr<KalmanFittedStateOnPlane> genfit::KalmanFitterInfo::backwardUpdate_
private

Definition at line 120 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 120 of file KalmanFitterInfo.h

Referenced by checkConsistency(), getBackwardUpdate(), getFittedState(), getUpdate(), hasBackwardUpdate(), Print(), setBackwardUpdate(), and setRep().

std::unique_ptr<MeasuredStateOnPlane> genfit::KalmanFitterInfo::fittedStateBiased_
mutableprivate
std::unique_ptr<MeasuredStateOnPlane> genfit::KalmanFitterInfo::fittedStateUnbiased_
mutableprivate
bool genfit::KalmanFitterInfo::fixWeights_
private

Definition at line 138 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 138 of file KalmanFitterInfo.h

Referenced by areWeightsFixed(), clone(), fixWeights(), Print(), and setWeights().

std::unique_ptr<MeasuredStateOnPlane> genfit::KalmanFitterInfo::forwardPrediction_
private

Definition at line 117 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 117 of file KalmanFitterInfo.h

Referenced by checkConsistency(), getFittedState(), getForwardPrediction(), getPrediction(), hasForwardPrediction(), Print(), setForwardPrediction(), and setRep().

std::unique_ptr<KalmanFittedStateOnPlane> genfit::KalmanFitterInfo::forwardUpdate_
private

Definition at line 118 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 118 of file KalmanFitterInfo.h

Referenced by checkConsistency(), getFittedState(), getForwardUpdate(), getUpdate(), hasForwardUpdate(), Print(), setForwardUpdate(), and setRep().

std::unique_ptr<ReferenceStateOnPlane> genfit::KalmanFitterInfo::referenceState_
private

Reference state. Used by KalmanFitterRefTrack.

Definition at line 116 of file KalmanFitterInfo.h.

View newest version in sPHENIX GitHub at line 116 of file KalmanFitterInfo.h

Referenced by checkConsistency(), getReferenceState(), hasReferenceState(), Print(), setReferenceState(), and setRep().


The documentation for this class was generated from the following files: