![]() |
PandaRoot
|
#include <PndSdsRecoHit.h>
Public Member Functions | |
PndSdsRecoHit () | |
PndSdsRecoHit (PndSdsMCPoint *point) | |
PndSdsRecoHit (PndSdsHit *hit) | |
virtual | ~PndSdsRecoHit () |
virtual GFAbsRecoHit * | clone () |
Get clone of this object. More... | |
virtual TMatrixT< double > | getHMatrix (const GFAbsTrackRep *stateVector) |
Get transformation matrix. Transformation between hit coordinates and track representation coordinates. More... | |
virtual Double_t | residualScalar (GFAbsTrackRep *stateVector, const TMatrixT< Double_t > &state) |
![]() | |
GFRecoHitIfc (int dim) | |
Constructor specifying dimension of hit coordinate vector. More... | |
virtual | ~GFRecoHitIfc () |
virtual const GFDetPlane & | getDetPlane (GFAbsTrackRep *rep) |
Returns the detector plane object for this hit and a given track representation. More... | |
virtual TMatrixT< double > | getHitCoord (const GFDetPlane &plane) |
Get hit coordinates in a specific detector plane. More... | |
virtual TMatrixT< double > | getHitCov (const GFDetPlane &plane) |
Get hit covariances in a specific detector plane. More... | |
const std::string & | getPolicyName () |
ClassDef (GFRecoHitIfc, 1) | |
![]() | |
virtual | ~GFAbsRecoHit () |
GFAbsRecoHit (int NparHit) | |
Constructor specifying dimension of coordinate vector. More... | |
GFAbsRecoHit () | |
Default constructor needed for compatibility with ROOT. More... | |
virtual TMatrixT< double > | residualVector (const GFAbsTrackRep *stateVector, const TMatrixT< double > &state, const GFDetPlane &d) |
Calculate residual with respect to a track representation. More... | |
TMatrixT< double > | getRawHitCov () const |
Get raw hit covariances. More... | |
TMatrixT< double > | getRawHitCoord () const |
Get raw hit coordinates. More... | |
virtual void | Print () |
Print raw hit coordinates. More... | |
int | getNparHit () |
Additional Inherited Members | |
![]() | |
GFPlanarHitPolicy | fPolicy |
![]() | |
TMatrixT< double > | fHitCoord |
Vector of raw coordinates of hit. More... | |
TMatrixT< double > | fHitCov |
Covariance of raw hit coordinates. More... | |
Definition at line 36 of file PndSdsRecoHit.h.
PndSdsRecoHit::PndSdsRecoHit | ( | ) |
Referenced by clone().
PndSdsRecoHit::PndSdsRecoHit | ( | PndSdsMCPoint * | point | ) |
PndSdsRecoHit::PndSdsRecoHit | ( | PndSdsHit * | hit | ) |
|
virtual |
|
inlinevirtual |
Get clone of this object.
Virtual abstract method. Has to be implemented by inherting classes. Creates a deep copy of this object. Ownership is trandsferred to the caller!
Implements GFAbsRecoHit.
Definition at line 46 of file PndSdsRecoHit.h.
References getHMatrix(), PndSdsRecoHit(), and residualScalar().
|
virtual |
Get transformation matrix. Transformation between hit coordinates and track representation coordinates.
This is a virtual abstract method which has to be implemented in the child classes.
In general there is a linear transformation between the coordinate system of the hit (which is defined by the detector plane) and the coordinates of the track representation in that plane. In the most simple case the track representation has 5 parameters (space + momentum) while a hit usually has less (one to three space coordinates).
The transformation matrix is then simply projecting out the space-components of the track representation.
Its dimensions are NxM. Where N is the number of dimensions of the hit in the detector plane (usually 2 or 1) and M is the dimension of the track representation.
In this method a hit has to define with which track representations it can work together. It should be the only point where this explicit coordination is necessary.
For example code see implementing classes below:
Implements GFAbsRecoHit.
Referenced by clone().
|
virtual |
Referenced by clone().