FairRoot/PandaRoot
Public Member Functions | Protected Attributes | List of all members
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)
 
void swap (MeasuredStateOnPlane &other)
 
void swap (StateOnPlane &other)
 
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
 
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...
 
TMatrixDSym cov_
 
TVectorD state_
 
TVectorD auxInfo_
 
SharedPlanePtr sharedPlane_
 

Detailed Description

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

Definition at line 35 of file KalmanFittedStateOnPlane.h.

Constructor & Destructor Documentation

genfit::KalmanFittedStateOnPlane::KalmanFittedStateOnPlane ( )
inline

Definition at line 71 of file KalmanFittedStateOnPlane.h.

71  :
73 {
74  ;
75 }
double ndf_
Degrees of freedom. Needs to be a double because of DAF.
MeasuredStateOnPlane(const AbsTrackRep *rep=NULL)
genfit::KalmanFittedStateOnPlane::KalmanFittedStateOnPlane ( const TVectorD &  state,
const TMatrixDSym &  cov,
const SharedPlanePtr plane,
const AbsTrackRep rep,
double  chiSquareIncrement,
double  ndf 
)
inline

Definition at line 77 of file KalmanFittedStateOnPlane.h.

77  :
78  MeasuredStateOnPlane(state, cov, plane, rep), chiSquareIncrement_(chiSquareIncrement), ndf_(ndf)
79 {
80  ;
81 }
double ndf_
Degrees of freedom. Needs to be a double because of DAF.
MeasuredStateOnPlane(const AbsTrackRep *rep=NULL)
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 83 of file KalmanFittedStateOnPlane.h.

83  :
84  MeasuredStateOnPlane(state, cov, plane, rep, auxInfo), chiSquareIncrement_(chiSquareIncrement), ndf_(ndf)
85 {
86  ;
87 }
double ndf_
Degrees of freedom. Needs to be a double because of DAF.
MeasuredStateOnPlane(const AbsTrackRep *rep=NULL)
genfit::KalmanFittedStateOnPlane::KalmanFittedStateOnPlane ( const MeasuredStateOnPlane state,
double  chiSquareIncrement,
double  ndf 
)
inline

Definition at line 89 of file KalmanFittedStateOnPlane.h.

89  :
90  MeasuredStateOnPlane(state), chiSquareIncrement_(chiSquareIncrement), ndf_(ndf)
91 {
92  ;
93 }
double ndf_
Degrees of freedom. Needs to be a double because of DAF.
MeasuredStateOnPlane(const AbsTrackRep *rep=NULL)
virtual genfit::KalmanFittedStateOnPlane::~KalmanFittedStateOnPlane ( )
inlinevirtual

Definition at line 47 of file KalmanFittedStateOnPlane.h.

47 {}

Member Function Documentation

void genfit::MeasuredStateOnPlane::blowUpCov ( double  blowUpFac,
bool  resetOffDiagonals = true,
double  maxVal = -1. 
)
inherited

Blow up covariance matrix with blowUpFac. Per default, off diagonals are reset to 0 and the maximum values are limited to maxVal.

double genfit::StateOnPlane::extrapolateBy ( double  step,
bool  stopAtBoundary = false,
bool  calcJacobianNoise = false 
)
inlineinherited

Definition at line 97 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateBy(), and genfit::StateOnPlane::rep_.

99  {return rep_->extrapolateBy(*this, step, stopAtBoundary, calcJacobianNoise);}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
virtual double extrapolateBy(StateOnPlane &state, double step, bool stopAtBoundary=false, bool calcJacobianNoise=false) const =0
Extrapolates the state by step (cm) and returns the extrapolation length and, via reference...
double genfit::StateOnPlane::extrapolateToCylinder ( double  radius,
const TVector3 &  linePoint = TVector3(0.,0.,0.),
const TVector3 &  lineDirection = TVector3(0.,0.,1.),
bool  stopAtBoundary = false,
bool  calcJacobianNoise = false 
)
inlineinherited

Definition at line 88 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToCylinder(), and genfit::StateOnPlane::rep_.

92  {return rep_->extrapolateToCylinder(*this, radius, linePoint, lineDirection, stopAtBoundary, calcJacobianNoise);}
virtual double extrapolateToCylinder(StateOnPlane &state, double radius, const TVector3 &linePoint=TVector3(0., 0., 0.), const TVector3 &lineDirection=TVector3(0., 0., 1.), bool stopAtBoundary=false, bool calcJacobianNoise=false) const =0
Extrapolates the state to the cylinder surface, and returns the extrapolation length and...
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
double genfit::StateOnPlane::extrapolateToLine ( const TVector3 &  linePoint,
const TVector3 &  lineDirection,
bool  stopAtBoundary = false,
bool  calcJacobianNoise = false 
)
inlineinherited

Definition at line 77 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToLine(), and genfit::StateOnPlane::rep_.

80  {return rep_->extrapolateToLine(*this, linePoint, lineDirection, stopAtBoundary, calcJacobianNoise);}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
virtual double extrapolateToLine(StateOnPlane &state, const TVector3 &linePoint, const TVector3 &lineDirection, bool stopAtBoundary=false, bool calcJacobianNoise=false) const =0
Extrapolates the state to the POCA to a line, and returns the extrapolation length and...
double genfit::StateOnPlane::extrapolateToMeasurement ( const AbsMeasurement measurement,
bool  stopAtBoundary = false,
bool  calcJacobianNoise = false 
)
inlineinherited

Definition at line 100 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToMeasurement(), and genfit::StateOnPlane::rep_.

102  {return rep_->extrapolateToMeasurement(*this, measurement, stopAtBoundary, calcJacobianNoise);}
double extrapolateToMeasurement(StateOnPlane &state, const AbsMeasurement *measurement, bool stopAtBoundary=false, bool calcJacobianNoise=false) const
extrapolate to an AbsMeasurement
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
double genfit::StateOnPlane::extrapolateToPlane ( const SharedPlanePtr plane,
bool  stopAtBoundary = false,
bool  calcJacobianNoise = false 
)
inlineinherited

Definition at line 74 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToPlane(), and genfit::StateOnPlane::rep_.

76  {return rep_->extrapolateToPlane(*this, plane, stopAtBoundary, calcJacobianNoise);}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
virtual double extrapolateToPlane(StateOnPlane &state, const genfit::SharedPlanePtr &plane, bool stopAtBoundary=false, bool calcJacobianNoise=false) const =0
Extrapolates the state to plane, and returns the extrapolation length and, via reference, the extrapolated state.
double genfit::StateOnPlane::extrapolateToPoint ( const TVector3 &  point,
bool  stopAtBoundary = false,
bool  calcJacobianNoise = false 
)
inlineinherited

Definition at line 81 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToPoint(), and genfit::StateOnPlane::rep_.

83  {return rep_->extrapolateToPoint(*this, point, stopAtBoundary, calcJacobianNoise);}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
virtual double extrapolateToPoint(StateOnPlane &state, const TVector3 &point, bool stopAtBoundary=false, bool calcJacobianNoise=false) const =0
Extrapolates the state to the POCA to a point, and returns the extrapolation length and...
PndSdsMCPoint * point
Definition: anaLmdCluster.C:72
double genfit::StateOnPlane::extrapolateToPoint ( const TVector3 &  point,
const TMatrixDSym &  G,
bool  stopAtBoundary = false,
bool  calcJacobianNoise = false 
)
inlineinherited

Definition at line 84 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToPoint(), and genfit::StateOnPlane::rep_.

87  {return rep_->extrapolateToPoint(*this, point, G, stopAtBoundary, calcJacobianNoise);}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
virtual double extrapolateToPoint(StateOnPlane &state, const TVector3 &point, bool stopAtBoundary=false, bool calcJacobianNoise=false) const =0
Extrapolates the state to the POCA to a point, and returns the extrapolation length and...
PndSdsMCPoint * point
Definition: anaLmdCluster.C:72
double genfit::StateOnPlane::extrapolateToSphere ( double  radius,
const TVector3 &  point = TVector3(0.,0.,0.),
bool  stopAtBoundary = false,
bool  calcJacobianNoise = false 
)
inlineinherited

Definition at line 93 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToSphere(), point, and genfit::StateOnPlane::rep_.

96  {return rep_->extrapolateToSphere(*this, radius, point, stopAtBoundary, calcJacobianNoise);}
virtual double extrapolateToSphere(StateOnPlane &state, double radius, const TVector3 &point=TVector3(0., 0., 0.), bool stopAtBoundary=false, bool calcJacobianNoise=false) const =0
Extrapolates the state to the sphere surface, and returns the extrapolation length and...
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
PndSdsMCPoint * point
Definition: anaLmdCluster.C:72
TMatrixDSym genfit::MeasuredStateOnPlane::get6DCov ( ) const
inlineinherited

Definition at line 64 of file MeasuredStateOnPlane.h.

References genfit::AbsTrackRep::get6DCov(), and genfit::StateOnPlane::getRep().

64 {return getRep()->get6DCov(*this);};
const AbsTrackRep * getRep() const
Definition: StateOnPlane.h:65
virtual TMatrixDSym get6DCov(const MeasuredStateOnPlane &state) const =0
Get the 6D covariance.
TVectorD genfit::StateOnPlane::get6DState ( ) const
inlineinherited

Definition at line 110 of file StateOnPlane.h.

References genfit::AbsTrackRep::get6DState(), and genfit::StateOnPlane::rep_.

110 {return rep_->get6DState(*this);}
virtual TVectorD get6DState(const StateOnPlane &state) const
Get the 6D state vector (x, y, z, p_x, p_y, p_z).
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
void genfit::MeasuredStateOnPlane::get6DStateCov ( TVectorD &  stateVec,
TMatrixDSym &  cov 
) const
inlineinherited

Definition at line 66 of file MeasuredStateOnPlane.h.

References genfit::AbsTrackRep::get6DStateCov(), and genfit::StateOnPlane::getRep().

66 {getRep()->get6DStateCov(*this, stateVec, cov);}
virtual void get6DStateCov(const MeasuredStateOnPlane &state, TVectorD &stateVec, TMatrixDSym &cov) const
Translates MeasuredStateOnPlane into 6D state vector (x, y, z, p_x, p_y, p_z) and 6x6 covariance...
const AbsTrackRep * getRep() const
Definition: StateOnPlane.h:65
const TVectorD& genfit::StateOnPlane::getAuxInfo ( ) const
inlineinherited

Definition at line 62 of file StateOnPlane.h.

References genfit::StateOnPlane::auxInfo_.

Referenced by Genfit2Track2PndTrack().

62 {return auxInfo_;}
TVectorD& genfit::StateOnPlane::getAuxInfo ( )
inlineinherited

Definition at line 63 of file StateOnPlane.h.

References genfit::StateOnPlane::auxInfo_.

63 {return auxInfo_;}
double genfit::StateOnPlane::getCharge ( ) const
inlineinherited

Definition at line 113 of file StateOnPlane.h.

References genfit::AbsTrackRep::getCharge(), and genfit::StateOnPlane::rep_.

113 {return rep_->getCharge(*this);}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
virtual double getCharge(const StateOnPlane &state) const =0
Get the (fitted) charge of a state. This is not always equal the pdg charge (e.g. if the charge sign ...
double genfit::KalmanFittedStateOnPlane::getChiSquareIncrement ( ) const
inline
const TMatrixDSym& genfit::MeasuredStateOnPlane::getCov ( ) const
inlineinherited

Definition at line 53 of file MeasuredStateOnPlane.h.

References genfit::MeasuredStateOnPlane::cov_.

Referenced by Genfit2Track2PndTrack().

53 {return cov_;}
TMatrixDSym& genfit::MeasuredStateOnPlane::getCov ( )
inlineinherited

Definition at line 54 of file MeasuredStateOnPlane.h.

References genfit::MeasuredStateOnPlane::cov_.

54 {return cov_;}
TVector3 genfit::StateOnPlane::getDir ( ) const
inlineinherited

Definition at line 107 of file StateOnPlane.h.

References genfit::AbsTrackRep::getDir(), and genfit::StateOnPlane::rep_.

107 {return rep_->getDir(*this);}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
TVector3 getDir(const StateOnPlane &state) const
Get the direction vector of a state.
Definition: AbsTrackRep.h:230
double genfit::StateOnPlane::getMass ( ) const
inlineinherited

Definition at line 115 of file StateOnPlane.h.

References genfit::AbsTrackRep::getMass(), and genfit::StateOnPlane::rep_.

115 {return rep_->getMass(*this);}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
double getMass(const StateOnPlane &state) const
Get tha particle mass in GeV/c^2.
TVector3 genfit::StateOnPlane::getMom ( ) const
inlineinherited

Definition at line 106 of file StateOnPlane.h.

References genfit::AbsTrackRep::getMom(), and genfit::StateOnPlane::rep_.

106 {return rep_->getMom(*this);}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
virtual TVector3 getMom(const StateOnPlane &state) const =0
Get the cartesian momentum vector of a state.
double genfit::StateOnPlane::getMomMag ( ) const
inlineinherited

Definition at line 111 of file StateOnPlane.h.

References genfit::AbsTrackRep::getMomMag(), and genfit::StateOnPlane::rep_.

111 {return rep_->getMomMag(*this);}
virtual double getMomMag(const StateOnPlane &state) const =0
get the magnitude of the momentum in GeV.
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
double genfit::MeasuredStateOnPlane::getMomVar ( ) const
inlineinherited

Definition at line 67 of file MeasuredStateOnPlane.h.

References genfit::AbsTrackRep::getMomVar(), and genfit::StateOnPlane::getRep().

67 {return getRep()->getMomVar(*this);}
const AbsTrackRep * getRep() const
Definition: StateOnPlane.h:65
virtual double getMomVar(const MeasuredStateOnPlane &state) const =0
get the variance of the absolute value of the momentum .
double genfit::KalmanFittedStateOnPlane::getNdf ( ) const
inline

Definition at line 50 of file KalmanFittedStateOnPlane.h.

References ndf_.

50 {return ndf_;}
double ndf_
Degrees of freedom. Needs to be a double because of DAF.
int genfit::StateOnPlane::getPDG ( ) const
inlineinherited

Definition at line 112 of file StateOnPlane.h.

References genfit::AbsTrackRep::getPDG(), and genfit::StateOnPlane::rep_.

112 {return rep_->getPDG();}
int getPDG() const
Get the pdg code.
Definition: AbsTrackRep.h:256
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
const SharedPlanePtr& genfit::StateOnPlane::getPlane ( ) const
inlineinherited

Definition at line 64 of file StateOnPlane.h.

References genfit::StateOnPlane::sharedPlane_.

Referenced by Genfit2Track2PndTrack().

64 {return sharedPlane_;}
SharedPlanePtr sharedPlane_
Definition: StateOnPlane.h:131
TVector3 genfit::StateOnPlane::getPos ( ) const
inlineinherited

Definition at line 105 of file StateOnPlane.h.

References genfit::AbsTrackRep::getPos(), and genfit::StateOnPlane::rep_.

105 {return rep_->getPos(*this);}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
virtual TVector3 getPos(const StateOnPlane &state) const =0
Get the cartesian position of a state.
void genfit::StateOnPlane::getPosDir ( TVector3 &  pos,
TVector3 &  dir 
) const
inlineinherited

Definition at line 109 of file StateOnPlane.h.

References genfit::AbsTrackRep::getPosDir(), and genfit::StateOnPlane::rep_.

109 {rep_->getPosDir(*this, pos, dir);}
TVector3 pos
void getPosDir(const StateOnPlane &state, TVector3 &pos, TVector3 &dir) const
Get cartesian position and direction vector of a state.
Definition: AbsTrackRep.h:236
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
void genfit::StateOnPlane::getPosMom ( TVector3 &  pos,
TVector3 &  mom 
) const
inlineinherited

Definition at line 108 of file StateOnPlane.h.

References genfit::AbsTrackRep::getPosMom(), and genfit::StateOnPlane::rep_.

108 {rep_->getPosMom(*this, pos, mom);}
TVector3 pos
Double_t mom
Definition: plot_dirc.C:14
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
virtual void getPosMom(const StateOnPlane &state, TVector3 &pos, TVector3 &mom) const =0
Get cartesian position and momentum vector of a state.
void genfit::MeasuredStateOnPlane::getPosMomCov ( TVector3 &  pos,
TVector3 &  mom,
TMatrixDSym &  cov 
) const
inlineinherited

Definition at line 65 of file MeasuredStateOnPlane.h.

References genfit::AbsTrackRep::getPosMomCov(), and genfit::StateOnPlane::getRep().

65 {getRep()->getPosMomCov(*this, pos, mom, cov);}
TVector3 pos
Double_t mom
Definition: plot_dirc.C:14
virtual void getPosMomCov(const MeasuredStateOnPlane &state, TVector3 &pos, TVector3 &mom, TMatrixDSym &cov) const =0
Translates MeasuredStateOnPlane into 3D position, momentum and 6x6 covariance.
const AbsTrackRep * getRep() const
Definition: StateOnPlane.h:65
double genfit::StateOnPlane::getQop ( ) const
inlineinherited

Definition at line 114 of file StateOnPlane.h.

References genfit::AbsTrackRep::getQop(), and genfit::StateOnPlane::rep_.

114 {return rep_->getQop(*this);}
virtual double getQop(const StateOnPlane &state) const =0
Get charge over momentum.
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
const AbsTrackRep* genfit::StateOnPlane::getRep ( ) const
inlineinherited
const TVectorD& genfit::StateOnPlane::getState ( ) const
inlineinherited
TVectorD& genfit::StateOnPlane::getState ( )
inlineinherited

Definition at line 61 of file StateOnPlane.h.

References genfit::StateOnPlane::state_.

61 {return state_;}
double genfit::StateOnPlane::getTime ( ) const
inlineinherited

Definition at line 116 of file StateOnPlane.h.

References genfit::AbsTrackRep::getTime(), and genfit::StateOnPlane::rep_.

116 {return rep_->getTime(*this);}
virtual double getTime(const StateOnPlane &) const =0
Get the time corresponding to the StateOnPlane. Extrapolation.
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
KalmanFittedStateOnPlane & genfit::KalmanFittedStateOnPlane::operator= ( KalmanFittedStateOnPlane  other)
inline

Definition at line 95 of file KalmanFittedStateOnPlane.h.

References swap().

95  {
96  swap(other);
97  return *this;
98 }
void swap(KalmanFittedStateOnPlane &other)
virtual void genfit::MeasuredStateOnPlane::Print ( Option_t *  option = "") const
virtualinherited

Reimplemented from genfit::StateOnPlane.

Reimplemented in genfit::MeasurementOnPlane.

void genfit::StateOnPlane::setAuxInfo ( const TVectorD &  auxInfo)
inlineinherited

Definition at line 70 of file StateOnPlane.h.

References genfit::StateOnPlane::auxInfo_.

70 {if(auxInfo_.GetNrows() == 0) auxInfo_.ResizeTo(auxInfo); auxInfo_ = auxInfo;}
void genfit::StateOnPlane::setChargeSign ( double  charge)
inlineinherited

Definition at line 120 of file StateOnPlane.h.

References genfit::StateOnPlane::rep_, and genfit::AbsTrackRep::setChargeSign().

120 {rep_->setChargeSign(*this, charge);}
virtual void setChargeSign(StateOnPlane &state, double charge) const =0
Set the sign of the charge according to charge.
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
void genfit::KalmanFittedStateOnPlane::setChiSquareIncrement ( double  chiSquareIncrement)
inline

Definition at line 52 of file KalmanFittedStateOnPlane.h.

References chiSquareIncrement_.

52 {chiSquareIncrement_ = chiSquareIncrement;}
void genfit::MeasuredStateOnPlane::setCov ( const TMatrixDSym &  cov)
inlineinherited
void genfit::KalmanFittedStateOnPlane::setNdf ( double  ndf)
inline

Definition at line 53 of file KalmanFittedStateOnPlane.h.

References ndf_.

53 {ndf_ = ndf;}
double ndf_
Degrees of freedom. Needs to be a double because of DAF.
void genfit::StateOnPlane::setPlane ( const SharedPlanePtr plane)
inlineinherited

Definition at line 68 of file StateOnPlane.h.

References genfit::StateOnPlane::sharedPlane_.

68 {sharedPlane_ = plane;}
SharedPlanePtr sharedPlane_
Definition: StateOnPlane.h:131
void genfit::StateOnPlane::setPosMom ( const TVector3 &  pos,
const TVector3 &  mom 
)
inlineinherited

Definition at line 118 of file StateOnPlane.h.

References genfit::StateOnPlane::rep_, and genfit::AbsTrackRep::setPosMom().

118 {rep_->setPosMom(*this, pos, mom);}
TVector3 pos
Double_t mom
Definition: plot_dirc.C:14
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
virtual void setPosMom(StateOnPlane &state, const TVector3 &pos, const TVector3 &mom) const =0
Set position and momentum of state.
void genfit::StateOnPlane::setPosMom ( const TVectorD &  state6)
inlineinherited

Definition at line 119 of file StateOnPlane.h.

References genfit::StateOnPlane::rep_, and genfit::AbsTrackRep::setPosMom().

119 {rep_->setPosMom(*this, state6);}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
virtual void setPosMom(StateOnPlane &state, const TVector3 &pos, const TVector3 &mom) const =0
Set position and momentum of state.
void genfit::MeasuredStateOnPlane::setPosMomCov ( const TVector3 &  pos,
const TVector3 &  mom,
const TMatrixDSym &  cov6x6 
)
inlineinherited

Definition at line 70 of file MeasuredStateOnPlane.h.

References genfit::StateOnPlane::getRep(), and genfit::AbsTrackRep::setPosMomCov().

70 {getRep()->setPosMomCov(*this, pos, mom, cov6x6);}
TVector3 pos
Double_t mom
Definition: plot_dirc.C:14
virtual void setPosMomCov(MeasuredStateOnPlane &state, const TVector3 &pos, const TVector3 &mom, const TMatrixDSym &cov6x6) const =0
Set position, momentum and covariance of state.
const AbsTrackRep * getRep() const
Definition: StateOnPlane.h:65
void genfit::MeasuredStateOnPlane::setPosMomCov ( const TVectorD &  state6,
const TMatrixDSym &  cov6x6 
)
inlineinherited

Definition at line 71 of file MeasuredStateOnPlane.h.

References genfit::StateOnPlane::getRep(), and genfit::AbsTrackRep::setPosMomCov().

71 {getRep()->setPosMomCov(*this, state6, cov6x6);}
virtual void setPosMomCov(MeasuredStateOnPlane &state, const TVector3 &pos, const TVector3 &mom, const TMatrixDSym &cov6x6) const =0
Set position, momentum and covariance of state.
const AbsTrackRep * getRep() const
Definition: StateOnPlane.h:65
void genfit::MeasuredStateOnPlane::setPosMomErr ( const TVector3 &  pos,
const TVector3 &  mom,
const TVector3 &  posErr,
const TVector3 &  momErr 
)
inlineinherited

Definition at line 69 of file MeasuredStateOnPlane.h.

References genfit::StateOnPlane::getRep(), and genfit::AbsTrackRep::setPosMomErr().

69 {getRep()->setPosMomErr(*this, pos, mom, posErr, momErr);}
TVector3 pos
Double_t mom
Definition: plot_dirc.C:14
virtual void setPosMomErr(MeasuredStateOnPlane &state, const TVector3 &pos, const TVector3 &mom, const TVector3 &posErr, const TVector3 &momErr) const =0
Set position and momentum and error of state.
const AbsTrackRep * getRep() const
Definition: StateOnPlane.h:65
void genfit::StateOnPlane::setQop ( double  qop)
inlineinherited

Definition at line 121 of file StateOnPlane.h.

References genfit::StateOnPlane::rep_, and genfit::AbsTrackRep::setQop().

121 {rep_->setQop(*this, qop);}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
virtual void setQop(StateOnPlane &state, double qop) const =0
Set charge/momentum.
void genfit::StateOnPlane::setRep ( const AbsTrackRep rep)
inlineinherited

Definition at line 71 of file StateOnPlane.h.

References genfit::StateOnPlane::rep_.

71 {rep_ = rep;}
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
void genfit::StateOnPlane::setState ( const TVectorD &  state)
inlineinherited

Definition at line 67 of file StateOnPlane.h.

References genfit::StateOnPlane::state_.

Referenced by genfit::MeasuredStateOnPlane::setStateCov().

67 {if(state_.GetNrows() == 0) state_.ResizeTo(state); state_ = state;}
void genfit::MeasuredStateOnPlane::setStateCov ( const TVectorD &  state,
const TMatrixDSym &  cov 
)
inlineinherited

Definition at line 59 of file MeasuredStateOnPlane.h.

References genfit::MeasuredStateOnPlane::setCov(), and genfit::StateOnPlane::setState().

59 {setState(state); setCov(cov);}
void setState(const TVectorD &state)
Definition: StateOnPlane.h:67
void setCov(const TMatrixDSym &cov)
void genfit::MeasuredStateOnPlane::setStateCovPlane ( const TVectorD &  state,
const TMatrixDSym &  cov,
const SharedPlanePtr plane 
)
inlineinherited

Definition at line 60 of file MeasuredStateOnPlane.h.

References genfit::MeasuredStateOnPlane::setCov(), and genfit::StateOnPlane::setStatePlane().

60 {setStatePlane(state, plane); setCov(cov);}
void setStatePlane(const TVectorD &state, const SharedPlanePtr &plane)
Definition: StateOnPlane.h:69
void setCov(const TMatrixDSym &cov)
void genfit::StateOnPlane::setStatePlane ( const TVectorD &  state,
const SharedPlanePtr plane 
)
inlineinherited
void genfit::StateOnPlane::setTime ( double  time)
inlineinherited

Definition at line 122 of file StateOnPlane.h.

References genfit::StateOnPlane::rep_, and genfit::AbsTrackRep::setTime().

122 {rep_->setTime(*this, time);}
virtual void setTime(StateOnPlane &state, double time) const =0
Set time at which the state was defined.
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
void genfit::KalmanFittedStateOnPlane::swap ( KalmanFittedStateOnPlane other)
inline

Definition at line 100 of file KalmanFittedStateOnPlane.h.

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

Referenced by operator=().

100  {
102  std::swap(this->chiSquareIncrement_, other.chiSquareIncrement_);
103  std::swap(this->ndf_, other.ndf_);
104 }
void swap(MeasuredStateOnPlane &other)
double ndf_
Degrees of freedom. Needs to be a double because of DAF.
void genfit::MeasuredStateOnPlane::swap ( MeasuredStateOnPlane other)
inlineinherited

Definition at line 92 of file MeasuredStateOnPlane.h.

References genfit::MeasuredStateOnPlane::cov_, and genfit::StateOnPlane::swap().

Referenced by genfit::MeasuredStateOnPlane::operator=(), and swap().

92  {
93  StateOnPlane::swap(other);
94  this->cov_.ResizeTo(other.cov_);
95  std::swap(this->cov_, other.cov_);
96 }
void swap(StateOnPlane &other)
Definition: StateOnPlane.h:174
void genfit::StateOnPlane::swap ( StateOnPlane other)
inlineinherited

Definition at line 174 of file StateOnPlane.h.

References genfit::StateOnPlane::auxInfo_, genfit::StateOnPlane::rep_, genfit::StateOnPlane::sharedPlane_, and genfit::StateOnPlane::state_.

Referenced by genfit::StateOnPlane::operator=(), and genfit::MeasuredStateOnPlane::swap().

174  {
175  this->state_.ResizeTo(other.state_);
176  std::swap(this->state_, other.state_);
177  this->auxInfo_.ResizeTo(other.auxInfo_);
178  std::swap(this->auxInfo_, other.auxInfo_);
179  this->sharedPlane_.swap(other.sharedPlane_);
180  std::swap(this->rep_, other.rep_);
181 }
const AbsTrackRep * rep_
Shared ownership. &#39;!&#39; in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
SharedPlanePtr sharedPlane_
Definition: StateOnPlane.h:131

Member Data Documentation

TVectorD genfit::StateOnPlane::auxInfo_
protectedinherited
double genfit::KalmanFittedStateOnPlane::chiSquareIncrement_
protected

Definition at line 58 of file KalmanFittedStateOnPlane.h.

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

TMatrixDSym genfit::MeasuredStateOnPlane::cov_
protectedinherited
double genfit::KalmanFittedStateOnPlane::ndf_
protected

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

Definition at line 61 of file KalmanFittedStateOnPlane.h.

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

SharedPlanePtr genfit::StateOnPlane::sharedPlane_
protectedinherited
TVectorD genfit::StateOnPlane::state_
protectedinherited

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