PandaRoot
genfit::KalmanFittedStateOnPlane Class Reference

MeasuredStateOnPlane with additional info produced by a Kalman filter or DAF. More...

#include <KalmanFittedStateOnPlane.h>

Inheritance diagram for genfit::KalmanFittedStateOnPlane:
genfit::MeasuredStateOnPlane genfit::StateOnPlane

Public Member Functions

 KalmanFittedStateOnPlane ()
 
 KalmanFittedStateOnPlane (const TVectorD &state, const TMatrixDSym &cov, const SharedPlanePtr &plane, const AbsTrackRep *rep, double chiSquareIncrement, double ndf)
 
 KalmanFittedStateOnPlane (const TVectorD &state, const TMatrixDSym &cov, const SharedPlanePtr &plane, const AbsTrackRep *rep, const TVectorD &auxInfo, double chiSquareIncrement, double ndf)
 
 KalmanFittedStateOnPlane (const MeasuredStateOnPlane &state, double chiSquareIncrement, double ndf)
 
KalmanFittedStateOnPlaneoperator= (KalmanFittedStateOnPlane other)
 
void swap (KalmanFittedStateOnPlane &other)
 
virtual ~KalmanFittedStateOnPlane ()
 
double getChiSquareIncrement () const
 
double getNdf () const
 
void setChiSquareIncrement (double chiSquareIncrement)
 
void setNdf (double ndf)
 
- Public Member Functions inherited from genfit::MeasuredStateOnPlane
 MeasuredStateOnPlane (const AbsTrackRep *rep=nullptr)
 
 MeasuredStateOnPlane (const TVectorD &state, const TMatrixDSym &cov, const genfit::SharedPlanePtr &plane, const AbsTrackRep *rep)
 
 MeasuredStateOnPlane (const TVectorD &state, const TMatrixDSym &cov, const genfit::SharedPlanePtr &plane, const AbsTrackRep *rep, const TVectorD &auxInfo)
 
 MeasuredStateOnPlane (const MeasuredStateOnPlane &o)
 
 MeasuredStateOnPlane (const StateOnPlane &state, const TMatrixDSym &cov)
 
MeasuredStateOnPlaneoperator= (MeasuredStateOnPlane other)
 
void swap (MeasuredStateOnPlane &other)
 
virtual ~MeasuredStateOnPlane ()
 
const TMatrixDSym & getCov () const
 
TMatrixDSym & getCov ()
 
void blowUpCov (double blowUpFac, bool resetOffDiagonals=true, double maxVal=-1.)
 Blow up covariance matrix with blowUpFac. Per default, off diagonals are reset to 0 and the maximum values are limited to maxVal. More...
 
void setStateCov (const TVectorD &state, const TMatrixDSym &cov)
 
void setStateCovPlane (const TVectorD &state, const TMatrixDSym &cov, const SharedPlanePtr &plane)
 
void setCov (const TMatrixDSym &cov)
 
TMatrixDSym get6DCov () const
 
void getPosMomCov (TVector3 &pos, TVector3 &mom, TMatrixDSym &cov) const
 
void get6DStateCov (TVectorD &stateVec, TMatrixDSym &cov) const
 
double getMomVar () const
 
void setPosMomErr (const TVector3 &pos, const TVector3 &mom, const TVector3 &posErr, const TVector3 &momErr)
 
void setPosMomCov (const TVector3 &pos, const TVector3 &mom, const TMatrixDSym &cov6x6)
 
void setPosMomCov (const TVectorD &state6, const TMatrixDSym &cov6x6)
 
virtual void Print (Option_t *option="") const
 
- Public Member Functions inherited from genfit::StateOnPlane
 StateOnPlane (const AbsTrackRep *rep=nullptr)
 
 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)
 
StateOnPlaneoperator= (StateOnPlane other)
 
void swap (StateOnPlane &other)
 
virtual ~StateOnPlane ()
 
const TVectorD & getState () const
 
TVectorD & getState ()
 
const TVectorD & getAuxInfo () const
 
TVectorD & getAuxInfo ()
 
const SharedPlanePtrgetPlane () const
 
const AbsTrackRepgetRep () 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 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)
 

Protected Attributes

double chiSquareIncrement_
 
double ndf_
 Degrees of freedom. Needs to be a double because of DAF. More...
 
- Protected Attributes inherited from genfit::MeasuredStateOnPlane
TMatrixDSym cov_
 
- Protected Attributes inherited from genfit::StateOnPlane
TVectorD state_
 
TVectorD auxInfo_
 
SharedPlanePtr sharedPlane_
 

Detailed Description

MeasuredStateOnPlane with additional info produced by a Kalman filter or DAF.

Definition at line 33 of file KalmanFittedStateOnPlane.h.

Constructor & Destructor Documentation

◆ KalmanFittedStateOnPlane() [1/4]

genfit::KalmanFittedStateOnPlane::KalmanFittedStateOnPlane ( )
inline

Definition at line 63 of file KalmanFittedStateOnPlane.h.

64 {
65  ;
66 }
MeasuredStateOnPlane(const AbsTrackRep *rep=nullptr)
double ndf_
Degrees of freedom. Needs to be a double because of DAF.

◆ KalmanFittedStateOnPlane() [2/4]

genfit::KalmanFittedStateOnPlane::KalmanFittedStateOnPlane ( const TVectorD &  state,
const TMatrixDSym &  cov,
const SharedPlanePtr plane,
const AbsTrackRep rep,
double  chiSquareIncrement,
double  ndf 
)
inline

Definition at line 68 of file KalmanFittedStateOnPlane.h.

70  : MeasuredStateOnPlane(state, cov, plane, rep), chiSquareIncrement_(chiSquareIncrement), ndf_(ndf)
71 {
72  ;
73 }
MeasuredStateOnPlane(const AbsTrackRep *rep=nullptr)
double ndf_
Degrees of freedom. Needs to be a double because of DAF.

◆ KalmanFittedStateOnPlane() [3/4]

genfit::KalmanFittedStateOnPlane::KalmanFittedStateOnPlane ( const TVectorD &  state,
const TMatrixDSym &  cov,
const SharedPlanePtr plane,
const AbsTrackRep rep,
const TVectorD &  auxInfo,
double  chiSquareIncrement,
double  ndf 
)
inline

Definition at line 75 of file KalmanFittedStateOnPlane.h.

77  : MeasuredStateOnPlane(state, cov, plane, rep, auxInfo), chiSquareIncrement_(chiSquareIncrement), ndf_(ndf)
78 {
79  ;
80 }
MeasuredStateOnPlane(const AbsTrackRep *rep=nullptr)
double ndf_
Degrees of freedom. Needs to be a double because of DAF.

◆ KalmanFittedStateOnPlane() [4/4]

genfit::KalmanFittedStateOnPlane::KalmanFittedStateOnPlane ( const MeasuredStateOnPlane state,
double  chiSquareIncrement,
double  ndf 
)
inline

Definition at line 82 of file KalmanFittedStateOnPlane.h.

83  : MeasuredStateOnPlane(state), chiSquareIncrement_(chiSquareIncrement), ndf_(ndf)
84 {
85  ;
86 }
MeasuredStateOnPlane(const AbsTrackRep *rep=nullptr)
double ndf_
Degrees of freedom. Needs to be a double because of DAF.

◆ ~KalmanFittedStateOnPlane()

virtual genfit::KalmanFittedStateOnPlane::~KalmanFittedStateOnPlane ( )
inlinevirtual

Definition at line 45 of file KalmanFittedStateOnPlane.h.

45 {}

Member Function Documentation

◆ getChiSquareIncrement()

double genfit::KalmanFittedStateOnPlane::getChiSquareIncrement ( ) const
inline

Definition at line 47 of file KalmanFittedStateOnPlane.h.

References chiSquareIncrement_.

◆ getNdf()

double genfit::KalmanFittedStateOnPlane::getNdf ( ) const
inline

Definition at line 48 of file KalmanFittedStateOnPlane.h.

References ndf_.

48 { return ndf_; }
double ndf_
Degrees of freedom. Needs to be a double because of DAF.

◆ operator=()

KalmanFittedStateOnPlane & genfit::KalmanFittedStateOnPlane::operator= ( KalmanFittedStateOnPlane  other)
inline

Definition at line 88 of file KalmanFittedStateOnPlane.h.

References swap().

89 {
90  swap(other);
91  return *this;
92 }
void swap(KalmanFittedStateOnPlane &other)

◆ setChiSquareIncrement()

void genfit::KalmanFittedStateOnPlane::setChiSquareIncrement ( double  chiSquareIncrement)
inline

Definition at line 50 of file KalmanFittedStateOnPlane.h.

References chiSquareIncrement_.

50 { chiSquareIncrement_ = chiSquareIncrement; }

◆ setNdf()

void genfit::KalmanFittedStateOnPlane::setNdf ( double  ndf)
inline

Definition at line 51 of file KalmanFittedStateOnPlane.h.

References ndf_.

51 { ndf_ = ndf; }
double ndf_
Degrees of freedom. Needs to be a double because of DAF.

◆ swap()

void genfit::KalmanFittedStateOnPlane::swap ( KalmanFittedStateOnPlane other)
inline

Definition at line 94 of file KalmanFittedStateOnPlane.h.

References chiSquareIncrement_, ndf_, and genfit::MeasuredStateOnPlane::swap().

Referenced by operator=().

95 {
97  std::swap(this->chiSquareIncrement_, other.chiSquareIncrement_);
98  std::swap(this->ndf_, other.ndf_);
99 }
void swap(MeasuredStateOnPlane &other)
double ndf_
Degrees of freedom. Needs to be a double because of DAF.

Member Data Documentation

◆ chiSquareIncrement_

double genfit::KalmanFittedStateOnPlane::chiSquareIncrement_
protected

Definition at line 54 of file KalmanFittedStateOnPlane.h.

Referenced by getChiSquareIncrement(), setChiSquareIncrement(), and swap().

◆ ndf_

double genfit::KalmanFittedStateOnPlane::ndf_
protected

Degrees of freedom. Needs to be a double because of DAF.

Definition at line 57 of file KalmanFittedStateOnPlane.h.

Referenced by getNdf(), setNdf(), and swap().


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