FairRoot/PandaRoot
Public Member Functions | Protected Attributes | List of all members
genfit::ReferenceStateOnPlane Class Reference

StateOnPlane with linearized transport to that ReferenceStateOnPlane from previous and next ReferenceStateOnPlane More...

#include <ReferenceStateOnPlane.h>

Inheritance diagram for genfit::ReferenceStateOnPlane:
genfit::StateOnPlane

Public Member Functions

 ReferenceStateOnPlane ()
 
 ReferenceStateOnPlane (const TVectorD &state, const SharedPlanePtr &plane, const AbsTrackRep *rep)
 
 ReferenceStateOnPlane (const TVectorD &state, const SharedPlanePtr &plane, const AbsTrackRep *rep, const TVectorD &auxInfo)
 
 ReferenceStateOnPlane (const StateOnPlane &state)
 
StateOnPlaneoperator= (ReferenceStateOnPlane other)
 
void swap (ReferenceStateOnPlane &other)
 
virtual ~ReferenceStateOnPlane ()
 
void setForwardSegmentLength (double len)
 
void setBackwardSegmentLength (double len)
 
void setForwardTransportMatrix (const TMatrixD &mat)
 
void setBackwardTransportMatrix (const TMatrixD &mat)
 
void setTransportMatrix (const TMatrixD &mat, int direction)
 
void setForwardNoiseMatrix (const TMatrixDSym &mat)
 
void setBackwardNoiseMatrix (const TMatrixDSym &mat)
 
void setNoiseMatrix (const TMatrixDSym &mat, int direction)
 
void setForwardDeltaState (const TVectorD &mat)
 
void setBackwardDeltaState (const TVectorD &mat)
 
void setDeltaState (const TVectorD &mat, int direction)
 
double getForwardSegmentLength () const
 
double getBackwardSegmentLength () const
 
const TMatrixDgetForwardTransportMatrix () const
 
const TMatrixDgetBackwardTransportMatrix () const
 
const TMatrixDgetTransportMatrix (int direction) const
 
const TMatrixDSym & getForwardNoiseMatrix () const
 
const TMatrixDSym & getBackwardNoiseMatrix () const
 
const TMatrixDSym & getNoiseMatrix (int direction) const
 
const TVectorD & getForwardDeltaState () const
 
const TVectorD & getBackwardDeltaState () const
 
const TVectorD & getDeltaState (int direction) const
 
void resetForward ()
 
void resetBackward ()
 
virtual void Print (Option_t *option="") const
 
void swap (StateOnPlane &other)
 
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 forwardSegmentLength_
 
double backwardSegmentLength_
 
TMatrixD forwardTransportMatrix_
 
TMatrixD backwardTransportMatrix_
 
TMatrixDSym forwardNoiseMatrix_
 
TMatrixDSym backwardNoiseMatrix_
 
TVectorD forwardDeltaState_
 
TVectorD backwardDeltaState_
 
TVectorD state_
 
TVectorD auxInfo_
 
SharedPlanePtr sharedPlane_
 

Detailed Description

StateOnPlane with linearized transport to that ReferenceStateOnPlane from previous and next ReferenceStateOnPlane

Transport matrices describe transport TO that plane. We have transport matrix F, noise matrix N and delta state c. Now, state p and covariance C follow this mathematics:

p = F * p_old + c C = F * C_old * F^T + N

Definition at line 43 of file ReferenceStateOnPlane.h.

Constructor & Destructor Documentation

genfit::ReferenceStateOnPlane::ReferenceStateOnPlane ( )
genfit::ReferenceStateOnPlane::ReferenceStateOnPlane ( const TVectorD &  state,
const SharedPlanePtr plane,
const AbsTrackRep rep 
)
genfit::ReferenceStateOnPlane::ReferenceStateOnPlane ( const TVectorD &  state,
const SharedPlanePtr plane,
const AbsTrackRep rep,
const TVectorD &  auxInfo 
)
genfit::ReferenceStateOnPlane::ReferenceStateOnPlane ( const StateOnPlane state)
virtual genfit::ReferenceStateOnPlane::~ReferenceStateOnPlane ( )
inlinevirtual

Definition at line 60 of file ReferenceStateOnPlane.h.

60 {}

Member Function Documentation

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
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
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_;}
const TVectorD& genfit::ReferenceStateOnPlane::getBackwardDeltaState ( ) const
inline

Definition at line 84 of file ReferenceStateOnPlane.h.

References backwardDeltaState_.

const TMatrixDSym& genfit::ReferenceStateOnPlane::getBackwardNoiseMatrix ( ) const
inline

Definition at line 81 of file ReferenceStateOnPlane.h.

References backwardNoiseMatrix_.

double genfit::ReferenceStateOnPlane::getBackwardSegmentLength ( ) const
inline

Definition at line 76 of file ReferenceStateOnPlane.h.

References backwardSegmentLength_.

const TMatrixD& genfit::ReferenceStateOnPlane::getBackwardTransportMatrix ( ) const
inline

Definition at line 78 of file ReferenceStateOnPlane.h.

References backwardTransportMatrix_.

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 ...
const TVectorD& genfit::ReferenceStateOnPlane::getDeltaState ( int  direction) const
inline

Definition at line 85 of file ReferenceStateOnPlane.h.

References backwardDeltaState_, and forwardDeltaState_.

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
const TVectorD& genfit::ReferenceStateOnPlane::getForwardDeltaState ( ) const
inline

Definition at line 83 of file ReferenceStateOnPlane.h.

References forwardDeltaState_.

const TMatrixDSym& genfit::ReferenceStateOnPlane::getForwardNoiseMatrix ( ) const
inline

Definition at line 80 of file ReferenceStateOnPlane.h.

References forwardNoiseMatrix_.

double genfit::ReferenceStateOnPlane::getForwardSegmentLength ( ) const
inline

Definition at line 75 of file ReferenceStateOnPlane.h.

References forwardSegmentLength_.

const TMatrixD& genfit::ReferenceStateOnPlane::getForwardTransportMatrix ( ) const
inline

Definition at line 77 of file ReferenceStateOnPlane.h.

References forwardTransportMatrix_.

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
const TMatrixDSym& genfit::ReferenceStateOnPlane::getNoiseMatrix ( int  direction) const
inline

Definition at line 82 of file ReferenceStateOnPlane.h.

References backwardNoiseMatrix_, and forwardNoiseMatrix_.

82 {if (direction >= 0) return forwardNoiseMatrix_; return backwardNoiseMatrix_;}
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.
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
const TMatrixD& genfit::ReferenceStateOnPlane::getTransportMatrix ( int  direction) const
inline
StateOnPlane& genfit::ReferenceStateOnPlane::operator= ( ReferenceStateOnPlane  other)
virtual void genfit::ReferenceStateOnPlane::Print ( Option_t *  option = "") const
virtual

Reimplemented from genfit::StateOnPlane.

void genfit::ReferenceStateOnPlane::resetBackward ( )
void genfit::ReferenceStateOnPlane::resetForward ( )
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::ReferenceStateOnPlane::setBackwardDeltaState ( const TVectorD &  mat)
inline

Definition at line 71 of file ReferenceStateOnPlane.h.

References backwardDeltaState_.

Referenced by setDeltaState().

void genfit::ReferenceStateOnPlane::setBackwardNoiseMatrix ( const TMatrixDSym &  mat)
inline

Definition at line 68 of file ReferenceStateOnPlane.h.

References backwardNoiseMatrix_.

Referenced by setNoiseMatrix().

void genfit::ReferenceStateOnPlane::setBackwardSegmentLength ( double  len)
inline

Definition at line 63 of file ReferenceStateOnPlane.h.

References backwardSegmentLength_.

void genfit::ReferenceStateOnPlane::setBackwardTransportMatrix ( const TMatrixD mat)
inline

Definition at line 65 of file ReferenceStateOnPlane.h.

References backwardTransportMatrix_.

Referenced by setTransportMatrix().

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::ReferenceStateOnPlane::setDeltaState ( const TVectorD &  mat,
int  direction 
)
inline

Definition at line 72 of file ReferenceStateOnPlane.h.

References setBackwardDeltaState(), and setForwardDeltaState().

72 {if (direction >= 0) setForwardDeltaState(mat); else setBackwardDeltaState(mat);}
void setBackwardDeltaState(const TVectorD &mat)
void setForwardDeltaState(const TVectorD &mat)
void genfit::ReferenceStateOnPlane::setForwardDeltaState ( const TVectorD &  mat)
inline

Definition at line 70 of file ReferenceStateOnPlane.h.

References forwardDeltaState_.

Referenced by setDeltaState().

void genfit::ReferenceStateOnPlane::setForwardNoiseMatrix ( const TMatrixDSym &  mat)
inline

Definition at line 67 of file ReferenceStateOnPlane.h.

References forwardNoiseMatrix_.

Referenced by setNoiseMatrix().

void genfit::ReferenceStateOnPlane::setForwardSegmentLength ( double  len)
inline

Definition at line 62 of file ReferenceStateOnPlane.h.

References forwardSegmentLength_.

void genfit::ReferenceStateOnPlane::setForwardTransportMatrix ( const TMatrixD mat)
inline

Definition at line 64 of file ReferenceStateOnPlane.h.

References forwardTransportMatrix_.

Referenced by setTransportMatrix().

void genfit::ReferenceStateOnPlane::setNoiseMatrix ( const TMatrixDSym &  mat,
int  direction 
)
inline

Definition at line 69 of file ReferenceStateOnPlane.h.

References setBackwardNoiseMatrix(), and setForwardNoiseMatrix().

69 {if (direction >= 0) setForwardNoiseMatrix(mat); else setBackwardNoiseMatrix(mat);}
void setForwardNoiseMatrix(const TMatrixDSym &mat)
void setBackwardNoiseMatrix(const TMatrixDSym &mat)
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::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::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::ReferenceStateOnPlane::setTransportMatrix ( const TMatrixD mat,
int  direction 
)
inline

Definition at line 66 of file ReferenceStateOnPlane.h.

References setBackwardTransportMatrix(), and setForwardTransportMatrix().

66 {if (direction >= 0) setForwardTransportMatrix(mat); else setBackwardTransportMatrix(mat);}
void setBackwardTransportMatrix(const TMatrixD &mat)
void setForwardTransportMatrix(const TMatrixD &mat)
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
void genfit::ReferenceStateOnPlane::swap ( ReferenceStateOnPlane other)

Member Data Documentation

TVectorD genfit::StateOnPlane::auxInfo_
protectedinherited
TVectorD genfit::ReferenceStateOnPlane::backwardDeltaState_
protected
TMatrixDSym genfit::ReferenceStateOnPlane::backwardNoiseMatrix_
protected

noise matrix N for transport from next referenceState

Definition at line 99 of file ReferenceStateOnPlane.h.

Referenced by getBackwardNoiseMatrix(), getNoiseMatrix(), and setBackwardNoiseMatrix().

double genfit::ReferenceStateOnPlane::backwardSegmentLength_
protected

Segment length from next referenceState

Definition at line 95 of file ReferenceStateOnPlane.h.

Referenced by getBackwardSegmentLength(), and setBackwardSegmentLength().

TMatrixD genfit::ReferenceStateOnPlane::backwardTransportMatrix_
protected

transport matrix F from next referenceState

Definition at line 97 of file ReferenceStateOnPlane.h.

Referenced by getBackwardTransportMatrix(), getTransportMatrix(), and setBackwardTransportMatrix().

TVectorD genfit::ReferenceStateOnPlane::forwardDeltaState_
protected

c

Definition at line 100 of file ReferenceStateOnPlane.h.

Referenced by getDeltaState(), getForwardDeltaState(), and setForwardDeltaState().

TMatrixDSym genfit::ReferenceStateOnPlane::forwardNoiseMatrix_
protected

noise matrix N for transport from previous referenceState

Definition at line 98 of file ReferenceStateOnPlane.h.

Referenced by getForwardNoiseMatrix(), getNoiseMatrix(), and setForwardNoiseMatrix().

double genfit::ReferenceStateOnPlane::forwardSegmentLength_
protected

Segment length from previous referenceState

Definition at line 94 of file ReferenceStateOnPlane.h.

Referenced by getForwardSegmentLength(), and setForwardSegmentLength().

TMatrixD genfit::ReferenceStateOnPlane::forwardTransportMatrix_
protected

transport matrix F from previous referenceState

Definition at line 96 of file ReferenceStateOnPlane.h.

Referenced by getForwardTransportMatrix(), getTransportMatrix(), and setForwardTransportMatrix().

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

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