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

StateOnPlane with additional covariance matrix. More...

#include <MeasuredStateOnPlane.h>

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

Public Member Functions

 MeasuredStateOnPlane (const AbsTrackRep *rep=NULL)
 
 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
 
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

TMatrixDSym cov_
 
TVectorD state_
 
TVectorD auxInfo_
 
SharedPlanePtr sharedPlane_
 

Detailed Description

StateOnPlane with additional covariance matrix.

Definition at line 38 of file MeasuredStateOnPlane.h.

Constructor & Destructor Documentation

genfit::MeasuredStateOnPlane::MeasuredStateOnPlane ( const AbsTrackRep rep = NULL)
inline

Definition at line 98 of file MeasuredStateOnPlane.h.

References cov_, and genfit::AbsTrackRep::getDim().

98  :
99  StateOnPlane(rep), cov_(0,0)
100 {
101  if (rep != NULL) {
102  cov_.ResizeTo(rep->getDim(), rep->getDim());
103  }
104 }
StateOnPlane(const AbsTrackRep *rep=NULL)
Definition: StateOnPlane.h:147
genfit::MeasuredStateOnPlane::MeasuredStateOnPlane ( const TVectorD &  state,
const TMatrixDSym &  cov,
const genfit::SharedPlanePtr plane,
const AbsTrackRep rep 
)
inline

Definition at line 106 of file MeasuredStateOnPlane.h.

106  :
107  StateOnPlane(state, plane, rep), cov_(cov)
108 {
109  assert(rep != NULL);
110  //assert(cov_.GetNcols() == (signed)rep->getDim());
111 }
StateOnPlane(const AbsTrackRep *rep=NULL)
Definition: StateOnPlane.h:147
genfit::MeasuredStateOnPlane::MeasuredStateOnPlane ( const TVectorD &  state,
const TMatrixDSym &  cov,
const genfit::SharedPlanePtr plane,
const AbsTrackRep rep,
const TVectorD &  auxInfo 
)
inline

Definition at line 113 of file MeasuredStateOnPlane.h.

113  :
114  StateOnPlane(state, plane, rep, auxInfo), cov_(cov)
115 {
116  assert(rep != NULL);
117  //assert(cov_.GetNcols() == (signed)rep->getDim());
118 }
StateOnPlane(const AbsTrackRep *rep=NULL)
Definition: StateOnPlane.h:147
genfit::MeasuredStateOnPlane::MeasuredStateOnPlane ( const MeasuredStateOnPlane o)
inline

Definition at line 120 of file MeasuredStateOnPlane.h.

120  :
121  StateOnPlane(o), cov_(o.cov_)
122 {
123 }
StateOnPlane(const AbsTrackRep *rep=NULL)
Definition: StateOnPlane.h:147
genfit::MeasuredStateOnPlane::MeasuredStateOnPlane ( const StateOnPlane state,
const TMatrixDSym &  cov 
)
inline

Definition at line 125 of file MeasuredStateOnPlane.h.

125  :
126  StateOnPlane(state), cov_(cov)
127 {
128  //assert(cov_.GetNcols() == (signed)getRep()->getDim());
129 }
StateOnPlane(const AbsTrackRep *rep=NULL)
Definition: StateOnPlane.h:147
virtual genfit::MeasuredStateOnPlane::~MeasuredStateOnPlane ( )
inlinevirtual

Definition at line 51 of file MeasuredStateOnPlane.h.

51 {}

Member Function Documentation

void genfit::MeasuredStateOnPlane::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.

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. '!' 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. '!' 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. '!' 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. '!' 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. '!' 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. '!' in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
TClonesArray * point
Definition: anaLmdDigi.C:29
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...
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. '!' in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
TClonesArray * point
Definition: anaLmdDigi.C:29
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...
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. '!' in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
TClonesArray * point
Definition: anaLmdDigi.C:29
TMatrixDSym genfit::MeasuredStateOnPlane::get6DCov ( ) const
inline

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. '!' in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
void genfit::MeasuredStateOnPlane::get6DStateCov ( TVectorD &  stateVec,
TMatrixDSym &  cov 
) const
inline

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. '!' 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 TMatrixDSym& genfit::MeasuredStateOnPlane::getCov ( ) const
inline

Definition at line 53 of file MeasuredStateOnPlane.h.

References cov_.

Referenced by Genfit2Track2PndTrack().

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

Definition at line 54 of file MeasuredStateOnPlane.h.

References 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. '!' 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. '!' 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. '!' 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. '!' in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
double genfit::MeasuredStateOnPlane::getMomVar ( ) const
inline

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 .
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. '!' 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. '!' 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. '!' 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. '!' 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
inline

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. '!' in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
const AbsTrackRep* genfit::StateOnPlane::getRep ( ) const
inlineinherited

Definition at line 65 of file StateOnPlane.h.

References genfit::StateOnPlane::rep_.

Referenced by get6DCov(), get6DStateCov(), getMomVar(), getPosMomCov(), setPosMomCov(), and setPosMomErr().

65 {return rep_;}
const AbsTrackRep * rep_
Shared ownership. '!' in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
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. '!' in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
MeasuredStateOnPlane & genfit::MeasuredStateOnPlane::operator= ( MeasuredStateOnPlane  other)
inline

Definition at line 131 of file MeasuredStateOnPlane.h.

References swap().

131  {
132  swap(other);
133  return *this;
134 }
void swap(MeasuredStateOnPlane &other)
virtual void genfit::MeasuredStateOnPlane::Print ( Option_t *  option = "") const
virtual

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. '!' in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
void genfit::MeasuredStateOnPlane::setCov ( const TMatrixDSym &  cov)
inline

Definition at line 61 of file MeasuredStateOnPlane.h.

References cov_.

Referenced by setStateCov(), and setStateCovPlane().

61 {if(cov_.GetNrows() == 0) cov_.ResizeTo(cov); cov_ = cov;}
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. '!' 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. '!' 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 
)
inline

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 
)
inline

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 
)
inline

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. '!' 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. '!' 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 setStateCov().

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

Definition at line 59 of file MeasuredStateOnPlane.h.

References 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 
)
inline

Definition at line 60 of file MeasuredStateOnPlane.h.

References 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

Definition at line 69 of file StateOnPlane.h.

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

Referenced by setStateCovPlane().

69 {state_ = state; sharedPlane_ = plane;}
SharedPlanePtr sharedPlane_
Definition: StateOnPlane.h:131
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. '!' in order to silence ROOT, custom streamer writes and reads this.
Definition: StateOnPlane.h:137
void genfit::MeasuredStateOnPlane::swap ( MeasuredStateOnPlane other)
inline

Definition at line 92 of file MeasuredStateOnPlane.h.

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

Referenced by operator=(), and genfit::KalmanFittedStateOnPlane::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 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. '!' 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
TMatrixDSym genfit::MeasuredStateOnPlane::cov_
protected
SharedPlanePtr genfit::StateOnPlane::sharedPlane_
protectedinherited
TVectorD genfit::StateOnPlane::state_
protectedinherited

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