EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
RecoHit interface template class. Provides comfortable interface to create RecoHits. More...
#include <EicRoot/blob/master/genfit/GFRecoHitIfc.h>
Public Member Functions | |
GFRecoHitIfc (int dim) | |
Constructor specifying dimension of hit coordinate vector. | |
virtual | ~GFRecoHitIfc () |
virtual const GFDetPlane & | getDetPlane (GFAbsTrackRep *rep) |
Returns the detector plane object for this hit and a given track representation. | |
virtual void | getMeasurement (const GFAbsTrackRep *rep, const GFDetPlane &pl, const TMatrixT< double > &statePred, const TMatrixT< double > &covPred, TMatrixT< double > &m, TMatrixT< double > &V) |
Get measurement m,V and HMatrix. | |
const std::string & | getPolicyName () |
ClassDef (GFRecoHitIfc, 1) | |
Public Member Functions inherited from GFAbsRecoHit | |
virtual | ~GFAbsRecoHit () |
GFAbsRecoHit (int NparHit) | |
Constructor specifying dimension of coordinate vector. | |
GFAbsRecoHit () | |
Default constructor needed for compatibility with ROOT. | |
virtual TMatrixT< double > | getHMatrix (const GFAbsTrackRep *stateVector)=0 |
Get transformation matrix. Transformation between hit coordinates and track representation coordinates. | |
TMatrixT< double > | getRawHitCov () const |
Get raw hit covariances. | |
TMatrixT< double > | getRawHitCoord () const |
Get raw hit coordinates. | |
double | getRho () |
void | setRho (double rho) |
virtual GFAbsRecoHit * | clone ()=0 |
Get clone of this object. | |
virtual void | Print (const Option_t *option="") const |
Print raw hit coordinates. | |
int | getNparHit () |
Protected Attributes | |
HitPolicy | fPolicy |
Protected Attributes inherited from GFAbsRecoHit | |
TMatrixT< double > | fHitCoord |
Vector of raw coordinates of hit. | |
TMatrixT< double > | fHitCov |
Covariance of raw hit coordinates. | |
double | fRho |
Sorting parameter used in GFTrack::sortHits() | |
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 60 of file GFRecoHitIfc.h.
View newest version in sPHENIX GitHub at line 60 of file GFRecoHitIfc.h
|
inline |
Constructor specifying dimension of hit coordinate vector.
Definition at line 68 of file GFRecoHitIfc.h.
View newest version in sPHENIX GitHub at line 68 of file GFRecoHitIfc.h
|
inlinevirtual |
Definition at line 69 of file GFRecoHitIfc.h.
View newest version in sPHENIX GitHub at line 69 of file GFRecoHitIfc.h
GFRecoHitIfc< HitPolicy >::ClassDef | ( | GFRecoHitIfc< HitPolicy > | , |
1 | |||
) |
|
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 80 of file GFRecoHitIfc.h.
View newest version in sPHENIX GitHub at line 80 of file GFRecoHitIfc.h
|
inlinevirtual |
Get measurement m,V and HMatrix.
Implementation in the HitPolicy
Implements GFAbsRecoHit.
Definition at line 86 of file GFRecoHitIfc.h.
View newest version in sPHENIX GitHub at line 86 of file GFRecoHitIfc.h
|
inlinevirtual |
Reimplemented from GFAbsRecoHit.
Definition at line 98 of file GFRecoHitIfc.h.
View newest version in sPHENIX GitHub at line 98 of file GFRecoHitIfc.h
|
protected |
Definition at line 62 of file GFRecoHitIfc.h.
View newest version in sPHENIX GitHub at line 62 of file GFRecoHitIfc.h
Referenced by GFRecoHitIfc< GFPlanarHitPolicy >::getDetPlane(), GFRecoHitIfc< GFPlanarHitPolicy >::getMeasurement(), and GFRecoHitIfc< GFPlanarHitPolicy >::getPolicyName().