![]() |
PandaRoot
|
Policy class implementing a space point hit geometry. More...
#include <GFSpacepointHitPolicy.h>
Public Member Functions | |
GFSpacepointHitPolicy () | |
const GFDetPlane & | detPlane (GFAbsRecoHit *, GFAbsTrackRep *) |
Get detector plane perpendicular to track. More... | |
TMatrixT< double > | hitCoord (GFAbsRecoHit *, const GFDetPlane &) |
Hit coordinates in detector plane. More... | |
TMatrixT< double > | hitCov (GFAbsRecoHit *, const GFDetPlane &) |
Hit covariances in detector plane. More... | |
virtual | ~GFSpacepointHitPolicy () |
const std::string & | getName () |
ClassDef (GFSpacepointHitPolicy, 1) | |
Policy class implementing a space point hit geometry.
RecoHits for detectors measuring 3D space points should inherit from RecoHitIfc<GFSpacepointHitPolicy>.
For a space point the detector plane has to be defined with respect to a track representation. GFSpacepointHitPolicy implements a scheme where the detectorplane is chosen perpendicular to the track. In a track fit only 2 of the three coordinates of a space point are independent (the track is a one-dimensional object). Therefore the 3D data of the hit is used to define a proper detector plane into which the hit coordinates are then projected.
Definition at line 51 of file GFSpacepointHitPolicy.h.
|
inline |
Definition at line 53 of file GFSpacepointHitPolicy.h.
References detPlane(), hitCoord(), and hitCov().
|
inlinevirtual |
Definition at line 72 of file GFSpacepointHitPolicy.h.
GFSpacepointHitPolicy::ClassDef | ( | GFSpacepointHitPolicy | , |
1 | |||
) |
Referenced by getName().
const GFDetPlane& GFSpacepointHitPolicy::detPlane | ( | GFAbsRecoHit * | , |
GFAbsTrackRep * | |||
) |
Get detector plane perpendicular to track.
The detector plane is contructed from the position of the hit and the track representation. For this the track is extrapolated to the point of closest approach to the hit.
Referenced by GFSpacepointHitPolicy().
|
inline |
Definition at line 74 of file GFSpacepointHitPolicy.h.
References ClassDef().
TMatrixT<double> GFSpacepointHitPolicy::hitCoord | ( | GFAbsRecoHit * | , |
const GFDetPlane & | |||
) |
Hit coordinates in detector plane.
Referenced by GFSpacepointHitPolicy().
TMatrixT<double> GFSpacepointHitPolicy::hitCov | ( | GFAbsRecoHit * | , |
const GFDetPlane & | |||
) |
Hit covariances in detector plane.
Referenced by GFSpacepointHitPolicy().