#include "TrLinearExtrapolator.h"
Public Methods | |
TrLinearExtrapolator (const std::string &type, const std::string &name, const IInterface *parent) | |
Constructor. More... | |
virtual | ~TrLinearExtrapolator () |
Destructor. More... | |
virtual const HepMatrix & | transportMatrix () const |
Retrieve transport matrix. More... | |
virtual StatusCode | propagate (TrState *state, double z=0, ParticleID partId=ParticleID(211)) |
Propagate a TrState to a given z-position. More... | |
virtual StatusCode | propagate (TrState *state, HepPlane plane, ParticleID partId=ParticleID(211)) |
Propagate a TrState to the intersection point with a given plane. More... | |
virtual StatusCode | positionAndMomentum (TrState *state, double z=0, ParticleID partId=ParticleID(211), HepPoint3D pos, HepVector3D mom, HepSymMatrix cov6D) |
Retrieve the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6) for a state at a given z-position. More... | |
virtual StatusCode | positionAndMomentum (TrState *state, HepPlane plane, ParticleID partId=ParticleID(211), HepPoint3D pos, HepVector3D mom, HepSymMatrix cov6D) |
Retrieve the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6) at the intersection of a state with a given plane. More... | |
virtual StatusCode | positionAndMomentum (TrTrack *track, double z=0, ParticleID partId=ParticleID(211), HepPoint3D pos, HepVector3D mom, HepSymMatrix cov6D) |
Retrieve the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6) of a track at a given z-position. More... | |
virtual StatusCode | positionAndMomentum (TrTrack *track, HepPlane plane, ParticleID partId=ParticleID(211), HepPoint3D pos, HepVector3D mom, HepSymMatrix cov6D) |
Retrieve the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6) at the intersection of a track with a given plane. More... | |
virtual StatusCode | position (TrState *state, double z=0, ParticleID partId=ParticleID(211), HepPoint3D pos) |
Retrieve the 3D-position vector of a state at a given z-position. More... | |
virtual StatusCode | position (TrState *state, double z=0, ParticleID partId=ParticleID(211), HepPoint3D pos, std::vector errPos) |
Retrieve the 3D-position vector and errors of a state at a given z-position. More... | |
virtual StatusCode | position (TrState *state, HepPlane plane, ParticleID partId=ParticleID(211), HepPoint3D pos) |
Retrieve the 3D-position vector at the intersection of a state with a given plane. More... | |
virtual StatusCode | position (TrTrack *track, double z=0, ParticleID partId=ParticleID(211), HepPoint3D pos) |
Retrieve the 3D-position vector of a track at a given z-position. More... | |
virtual StatusCode | position (TrTrack *track, HepPlane plane, ParticleID partId=ParticleID(211), HepPoint3D pos) |
Retrieve the 3D-position vector at the intersection of a track with a given plane. More... | |
virtual StatusCode | slopes (TrState *state, double z=0, ParticleID partId=ParticleID(211), HepVector3D slopes) |
Retrieve the slopes (dx/dz,dy/dz,1) of a state at a given z-position. More... | |
virtual StatusCode | slopes (TrState *state, double z=0, ParticleID partId=ParticleID(211), HepVector3D slopes, std::vector errSlopes) |
Retrieve the slopes (dx/dz,dy/dz,1) and errors of a state at a given z-position. More... | |
virtual StatusCode | slopes (TrState *state, HepPlane plane, ParticleID partId=ParticleID(211), HepVector3D slopes) |
Retrieve the slopes (dx/dz,dy/dz,1) at the intersection of a state with a given plane. More... | |
virtual StatusCode | slopes (TrState *state, double z=0, ParticleID partId=ParticleID(211), HepVector3D slopes) |
Retrieve the slopes (dx/dz,dy/dz,1) of a state at a given z-position. More... | |
virtual StatusCode | slopes (TrTrack *track, HepPlane plane, ParticleID partId=ParticleID(211), HepVector3D slopes) |
Retrieve the slopes (dx/dz,dy/dz,1) at the intersection of a state with a given plane. More... | |
virtual StatusCode | posMomCovariance (TrState *state, double z=0, ParticleID partId=ParticleID(211), HepSymMatrix cov6D) |
Retrieve the 6D covariance matrix (x,y,z,px,py,pz) of a state at a given z-position. More... | |
virtual StatusCode | posMomCovariance (TrState *state, HepPlane plane, ParticleID partId=ParticleID(211), HepSymMatrix cov6D) |
Retrieve the 6D covariance matrix (x,y,z,px,py,pz) at the intersection of a state with a given plane. More... | |
virtual StatusCode | errPosition (TrState *state, double z=0, ParticleID partId=ParticleID(211), std::vector errPosition) |
Retrieve the errors on the 3D-position vector of a state at a given z-position. More... | |
virtual StatusCode | errPosition (TrState *state, HepPlane plane, ParticleID partId=ParticleID(211), std::vector errPosition) |
Retrieve the errors on the 3D-position vector at the intersection of a state with a given plane. More... | |
virtual StatusCode | errSlopes (TrState *state, double z=0, ParticleID partId=ParticleID(211), std::vector errPosition) |
Retrieve the errors on the slopes (errors on dx/dz,dy/dz) of a state at a given z-position. More... | |
virtual StatusCode | errSlopes (TrState *state, HepPlane plane, ParticleID partId=ParticleID(211), std::vector errSlopes) |
Retrieve the errors on the slopes (errors on dx/dz,dy/dz) at the intersection of a state with a given plane. More... | |
virtual StatusCode | p (TrState *state, double z=0, ParticleID partId=ParticleID(211), double p) |
Retrieve the momentum of a state at a given z-position. More... | |
virtual StatusCode | p (TrState *state, HepPlane plane, ParticleID partId=ParticleID(211), double p) |
Retrieve the momentum at the intersection of a state with a given plane. More... | |
virtual StatusCode | pt (TrState *state, double z=0, ParticleID partId=ParticleID(211), double pt) |
Retrieve the transverse momentum of a state at a given z-position. More... | |
virtual StatusCode | pt (TrState *state, HepPlane plane, ParticleID partId=ParticleID(211), double pt) |
Retrieve the transverse momentum at the intersection of a state with a given plane. More... | |
virtual StatusCode | momentum (TrState *state, double z=0, ParticleID partId=ParticleID(211), HepVector3D) |
Retrieve the momentum vector of a state at a given z-position. More... | |
virtual StatusCode | momentum (TrState *state, HepPlane plane, ParticleID partId=ParticleID(211), HepVector3D) |
Retrieve the momentum vector at the intersection of a state with a given plane. More... | |
virtual StatusCode | errMomentum (TrState *state, double z=0, ParticleID partId=ParticleID(211), std::vector errMomentum) |
Retrieve the errors on the momentum vector of a state at a given z-position. More... | |
virtual StatusCode | errMomentum (TrState *state, HepPlane plane, ParticleID partId=ParticleID(211), std::vector errMomentum) |
Retrieve the errors on the momentum vector at the intersection of a state with a given plane. More... | |
Private Methods | |
void | extrapolate (TrState *state) const |
Extrapolatation method. More... | |
Private Attributes | |
HepMatrix | m_F |
Transport matrix. More... |
|
Constructor.
|
|
Destructor.
00043 { 00044 } |
|
Retrieve the errors on the momentum vector at the intersection of a state with a given plane.
|
|
Retrieve the errors on the momentum vector of a state at a given z-position.
|
|
Retrieve the errors on the 3D-position vector at the intersection of a state with a given plane.
|
|
Retrieve the errors on the 3D-position vector of a state at a given z-position.
|
|
Retrieve the errors on the slopes (errors on dx/dz,dy/dz) at the intersection of a state with a given plane.
|
|
Retrieve the errors on the slopes (errors on dx/dz,dy/dz) of a state at a given z-position.
|
|
Extrapolatation method. Extrapolate the TrState 'state' to z=zNew using the transport matrix m_F. (i.e. it performs the mathematical calculation).
|
|
Retrieve the momentum vector at the intersection of a state with a given plane.
|
|
Retrieve the momentum vector of a state at a given z-position.
|
|
Retrieve the momentum at the intersection of a state with a given plane.
|
|
Retrieve the momentum of a state at a given z-position.
|
|
Retrieve the 3D-position vector at the intersection of a track with a given plane.
|
|
Retrieve the 3D-position vector of a track at a given z-position.
|
|
Retrieve the 3D-position vector at the intersection of a state with a given plane.
|
|
Retrieve the 3D-position vector and errors of a state at a given z-position.
|
|
Retrieve the 3D-position vector of a state at a given z-position.
|
|
Retrieve the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6) at the intersection of a track with a given plane.
|
|
Retrieve the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6) of a track at a given z-position.
|
|
Retrieve the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6) at the intersection of a state with a given plane.
|
|
Retrieve the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6) for a state at a given z-position.
|
|
Retrieve the 6D covariance matrix (x,y,z,px,py,pz) at the intersection of a state with a given plane.
|
|
Retrieve the 6D covariance matrix (x,y,z,px,py,pz) of a state at a given z-position.
|
|
Propagate a TrState to the intersection point with a given plane.
|
|
Propagate a TrState to a given z-position.
00063 { 00064 00065 // check for state 00066 if (!state) { 00067 return Error("propagate should be called with a pntr to a TrState !", StatusCode::FAILURE); 00068 } 00069 00070 // create transport matrix 00071 m_F = HepMatrix(5, 5, 1); 00072 00073 // check current z-position 00074 double dz = zNew - state->z(); 00075 if (fabs(dz) > TrGeneral::hiTolerance) { 00076 m_F[0][2] = dz; // tx*dz 00077 m_F[1][3] = dz; // ty*dz 00078 // extrapolate 00079 extrapolate(state); 00080 state->setZ(zNew); 00081 } 00082 00083 return StatusCode::SUCCESS; 00084 } |
|
Retrieve the transverse momentum at the intersection of a state with a given plane.
|
|
Retrieve the transverse momentum of a state at a given z-position.
|
|
Retrieve the slopes (dx/dz,dy/dz,1) at the intersection of a state with a given plane.
|
|
Retrieve the slopes (dx/dz,dy/dz,1) of a state at a given z-position.
|
|
Retrieve the slopes (dx/dz,dy/dz,1) at the intersection of a state with a given plane.
|
|
Retrieve the slopes (dx/dz,dy/dz,1) and errors of a state at a given z-position.
|
|
Retrieve the slopes (dx/dz,dy/dz,1) of a state at a given z-position.
|
|
Retrieve transport matrix.
00087 { 00088 return m_F; 00089 } |
|
Transport matrix.
|