![]() |
PandaRoot
|
RecoHit interface template class. Provides comfortable interface to create RecoHits. More...
#include <GFRecoHitIfc.h>
Public Member Functions | |
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 > | getHMatrix (const GFAbsTrackRep *stateVector)=0 |
Get transformation matrix. Transformation between hit coordinates and track representation coordinates. 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 GFAbsRecoHit * | clone ()=0 |
Get clone of this object. More... | |
virtual void | Print () |
Print raw hit coordinates. More... | |
int | getNparHit () |
Protected Attributes | |
HitPolicy | fPolicy |
![]() | |
TMatrixT< double > | fHitCoord |
Vector of raw coordinates of hit. More... | |
TMatrixT< double > | fHitCov |
Covariance of raw hit coordinates. More... | |
RecoHit interface template class. Provides comfortable interface to create RecoHits.
This class defines a comfortable interface to create hit classes in genfit. It is a template class. The template parameter is used to specify a certain basic type of hit:
To create a hit for a detector simply inherit from one of the options above and fill in your data. For details look at the respective HitPolicy documentations. You can also directly inherit from GFAbsRecoHit though this is not recommended. If a new hit geometry is needed one should think about implementing a new HitPolicy for this type of hit.
Implementation details: The actual implementations of the methods declared here can be found in the HitPolicy objects.
Definition at line 58 of file GFRecoHitIfc.h.
|
inline |
Constructor specifying dimension of hit coordinate vector.
Definition at line 65 of file GFRecoHitIfc.h.
|
inlinevirtual |
Definition at line 66 of file GFRecoHitIfc.h.
GFRecoHitIfc< HitPolicy >::ClassDef | ( | GFRecoHitIfc< HitPolicy > | , |
1 | |||
) |
Referenced by GFRecoHitIfc< GFPlanarHitPolicy >::getPolicyName().
|
inlinevirtual |
Returns the detector plane object for this hit and a given track representation.
The actutal code for this method depends on the hit geometry and is implemented in the HitPolicy
Implements GFAbsRecoHit.
Definition at line 77 of file GFRecoHitIfc.h.
|
inlinevirtual |
Get hit coordinates in a specific detector plane.
Implementation in the HitPolicy
Implements GFAbsRecoHit.
Definition at line 83 of file GFRecoHitIfc.h.
|
inlinevirtual |
Get hit covariances in a specific detector plane.
Implementation in the HitPolicy
Implements GFAbsRecoHit.
Definition at line 89 of file GFRecoHitIfc.h.
|
inlinevirtual |
|
protected |
Definition at line 60 of file GFRecoHitIfc.h.