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

A state with arbitrary dimension defined in a DetPlane. More...

#include <StateOnPlane.h>

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

Public Member Functions

 StateOnPlane (const AbsTrackRep *rep=NULL)
 
 StateOnPlane (const TVectorD &state, const SharedPlanePtr &plane, const AbsTrackRep *rep)
 state is defined by the TrackReps parameterization More...
 
 StateOnPlane (const TVectorD &state, const SharedPlanePtr &plane, const AbsTrackRep *rep, const TVectorD &auxInfo)
 
StateOnPlaneoperator= (StateOnPlane other)
 
void swap (StateOnPlane &other)
 
virtual ~StateOnPlane ()
 
const TVectorD & getState () const
 
TVectorD & getState ()
 
const TVectorD & getAuxInfo () const
 
TVectorD & getAuxInfo ()
 
const SharedPlanePtrgetPlane () const
 
const AbsTrackRepgetRep () const
 
void setState (const TVectorD &state)
 
void setPlane (const SharedPlanePtr &plane)
 
void setStatePlane (const TVectorD &state, const SharedPlanePtr &plane)
 
void setAuxInfo (const TVectorD &auxInfo)
 
void setRep (const AbsTrackRep *rep)
 
double extrapolateToPlane (const SharedPlanePtr &plane, bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToLine (const TVector3 &linePoint, const TVector3 &lineDirection, bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToPoint (const TVector3 &point, bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToPoint (const TVector3 &point, const TMatrixDSym &G, bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToCylinder (double radius, const TVector3 &linePoint=TVector3(0., 0., 0.), const TVector3 &lineDirection=TVector3(0., 0., 1.), bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToSphere (double radius, const TVector3 &point=TVector3(0., 0., 0.), bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateBy (double step, bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToMeasurement (const AbsMeasurement *measurement, bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
TVector3 getPos () const
 
TVector3 getMom () const
 
TVector3 getDir () const
 
void getPosMom (TVector3 &pos, TVector3 &mom) const
 
void getPosDir (TVector3 &pos, TVector3 &dir) const
 
TVectorD get6DState () const
 
double getMomMag () const
 
int getPDG () const
 
double getCharge () const
 
double getQop () const
 
double getMass () const
 
double getTime () const
 
void setPosMom (const TVector3 &pos, const TVector3 &mom)
 
void setPosMom (const TVectorD &state6)
 
void setChargeSign (double charge)
 
void setQop (double qop)
 
void setTime (double time)
 
virtual void Print (Option_t *option="") const
 

Protected Attributes

TVectorD state_
 
TVectorD auxInfo_
 
SharedPlanePtr sharedPlane_
 

Private Attributes

const AbsTrackReprep_
 Shared ownership. '!' in order to silence ROOT, custom streamer writes and reads this. More...
 

Detailed Description

A state with arbitrary dimension defined in a DetPlane.

The dimension and meaning of the state_ vector are defined by the track parameterization of the rep_. sharedPlane_ is a shared_pointer, the ownership over that plane is shared between all StateOnPlane objects defined in that plane. The definition of the state is bound to the TrackRep rep_. Therefore, the StateOnPlane contains a pointer to a AbsTrackRep. It will provide functionality to extrapolate it and translate the state it into cartesian coordinates. Shortcuts to all functions of the AbsTrackRep which use this StateOnPlane are also provided here.

Definition at line 45 of file StateOnPlane.h.

Constructor & Destructor Documentation

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

Definition at line 147 of file StateOnPlane.h.

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

147  :
148  state_(0), auxInfo_(0), sharedPlane_(), rep_(rep)
149 {
150  if (rep != NULL) {
151  state_.ResizeTo(rep->getDim());
152  }
153 }
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
genfit::StateOnPlane::StateOnPlane ( const TVectorD &  state,
const SharedPlanePtr plane,
const AbsTrackRep rep 
)
inline

state is defined by the TrackReps parameterization

Definition at line 155 of file StateOnPlane.h.

References sharedPlane_.

155  :
156  state_(state), auxInfo_(0), sharedPlane_(plane), rep_(rep)
157 {
158  assert(rep != NULL);
159  assert(sharedPlane_.get() != NULL);
160 }
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
genfit::StateOnPlane::StateOnPlane ( const TVectorD &  state,
const SharedPlanePtr plane,
const AbsTrackRep rep,
const TVectorD &  auxInfo 
)
inline

Definition at line 162 of file StateOnPlane.h.

References sharedPlane_.

162  :
163  state_(state), auxInfo_(auxInfo), sharedPlane_(plane), rep_(rep)
164 {
165  assert(rep != NULL);
166  assert(sharedPlane_.get() != NULL);
167 }
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
virtual genfit::StateOnPlane::~StateOnPlane ( )
inlinevirtual

Definition at line 58 of file StateOnPlane.h.

58 {}

Member Function Documentation

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

Definition at line 97 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateBy(), and 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 
)
inline

Definition at line 88 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToCylinder(), and 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 
)
inline

Definition at line 77 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToLine(), and 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 
)
inline

Definition at line 100 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToMeasurement(), and 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 
)
inline

Definition at line 74 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToPlane(), and 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 
)
inline

Definition at line 81 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToPoint(), and 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 
)
inline

Definition at line 84 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToPoint(), and 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 
)
inline

Definition at line 93 of file StateOnPlane.h.

References genfit::AbsTrackRep::extrapolateToSphere(), point, and 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
inline

Definition at line 110 of file StateOnPlane.h.

References genfit::AbsTrackRep::get6DState(), and 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
inline

Definition at line 62 of file StateOnPlane.h.

References auxInfo_.

Referenced by Genfit2Track2PndTrack().

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

Definition at line 63 of file StateOnPlane.h.

References auxInfo_.

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

Definition at line 113 of file StateOnPlane.h.

References genfit::AbsTrackRep::getCharge(), and 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 ...
TVector3 genfit::StateOnPlane::getDir ( ) const
inline

Definition at line 107 of file StateOnPlane.h.

References genfit::AbsTrackRep::getDir(), and 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
inline

Definition at line 115 of file StateOnPlane.h.

References genfit::AbsTrackRep::getMass(), and 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
inline

Definition at line 106 of file StateOnPlane.h.

References genfit::AbsTrackRep::getMom(), and 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
inline

Definition at line 111 of file StateOnPlane.h.

References genfit::AbsTrackRep::getMomMag(), and 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
int genfit::StateOnPlane::getPDG ( ) const
inline

Definition at line 112 of file StateOnPlane.h.

References genfit::AbsTrackRep::getPDG(), and 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
inline

Definition at line 64 of file StateOnPlane.h.

References sharedPlane_.

Referenced by Genfit2Track2PndTrack().

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

Definition at line 105 of file StateOnPlane.h.

References genfit::AbsTrackRep::getPos(), and 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
inline

Definition at line 109 of file StateOnPlane.h.

References genfit::AbsTrackRep::getPosDir(), and 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
inline

Definition at line 108 of file StateOnPlane.h.

References genfit::AbsTrackRep::getPosMom(), and 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
inline

Definition at line 114 of file StateOnPlane.h.

References genfit::AbsTrackRep::getQop(), and 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
inline

Definition at line 65 of file StateOnPlane.h.

References rep_.

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

65 {return rep_;}
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::getState ( ) const
inline

Definition at line 60 of file StateOnPlane.h.

References state_.

Referenced by Genfit2Track2PndTrack(), genfit::RKTrackRep::getQop(), and genfit::RKTrackRep::setQop().

60 {return state_;}
TVectorD& genfit::StateOnPlane::getState ( )
inline

Definition at line 61 of file StateOnPlane.h.

References state_.

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

Definition at line 116 of file StateOnPlane.h.

References genfit::AbsTrackRep::getTime(), and 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
StateOnPlane & genfit::StateOnPlane::operator= ( StateOnPlane  other)
inline

Definition at line 169 of file StateOnPlane.h.

References swap().

169  {
170  swap(other);
171  return *this;
172 }
void swap(StateOnPlane &other)
Definition: StateOnPlane.h:174
virtual void genfit::StateOnPlane::Print ( Option_t *  option = "") const
virtual
void genfit::StateOnPlane::setAuxInfo ( const TVectorD &  auxInfo)
inline

Definition at line 70 of file StateOnPlane.h.

References auxInfo_.

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

Definition at line 120 of file StateOnPlane.h.

References 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::StateOnPlane::setPlane ( const SharedPlanePtr plane)
inline

Definition at line 68 of file StateOnPlane.h.

References sharedPlane_.

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

Definition at line 118 of file StateOnPlane.h.

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

Definition at line 119 of file StateOnPlane.h.

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

Definition at line 121 of file StateOnPlane.h.

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

Definition at line 71 of file StateOnPlane.h.

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

Definition at line 67 of file StateOnPlane.h.

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

Definition at line 69 of file StateOnPlane.h.

References sharedPlane_, and state_.

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

69 {state_ = state; sharedPlane_ = plane;}
SharedPlanePtr sharedPlane_
Definition: StateOnPlane.h:131
void genfit::StateOnPlane::setTime ( double  time)
inline

Definition at line 122 of file StateOnPlane.h.

References 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::StateOnPlane::swap ( StateOnPlane other)
inline

Definition at line 174 of file StateOnPlane.h.

References auxInfo_, rep_, sharedPlane_, and state_.

Referenced by 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_
protected

Definition at line 130 of file StateOnPlane.h.

Referenced by getAuxInfo(), setAuxInfo(), and swap().

const AbsTrackRep* genfit::StateOnPlane::rep_
private

Shared ownership. '!' in order to silence ROOT, custom streamer writes and reads this.

Pointer to TrackRep with respect to which StateOnPlane is defined

Definition at line 137 of file StateOnPlane.h.

Referenced by extrapolateBy(), extrapolateToCylinder(), extrapolateToLine(), extrapolateToMeasurement(), extrapolateToPlane(), extrapolateToPoint(), extrapolateToSphere(), get6DState(), getCharge(), getDir(), getMass(), getMom(), getMomMag(), getPDG(), getPos(), getPosDir(), getPosMom(), getQop(), getRep(), getTime(), setChargeSign(), setPosMom(), setQop(), setRep(), setTime(), and swap().

SharedPlanePtr genfit::StateOnPlane::sharedPlane_
protected

Definition at line 131 of file StateOnPlane.h.

Referenced by getPlane(), setPlane(), setStatePlane(), StateOnPlane(), and swap().

TVectorD genfit::StateOnPlane::state_
protected

Definition at line 129 of file StateOnPlane.h.

Referenced by getState(), setState(), setStatePlane(), StateOnPlane(), and swap().


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