![]() |
PandaRoot
|
Policy class implementing a planar hit geometry. More...
#include <GFPlanarHitPolicy.h>
Public Member Functions | |
GFPlanarHitPolicy () | |
const GFDetPlane & | detPlane (GFAbsRecoHit *, const GFAbsTrackRep *) |
Returns the physical detector plane. More... | |
void | setDetPlane (const GFDetPlane &p) |
Set physical detector plane. Needs to be called before hit can be used. 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 | ~GFPlanarHitPolicy () |
const std::string & | getName () |
Protected Attributes | |
GFDetPlane | fPhysicalDetPlane |
Physical detector plane. Given by detector hardware. More... | |
Policy class implementing a planar hit geometry.
RecoHits for planar detectors should inherit from RecoHitIfc<GFPlanarHitPolicy>.
The main feature of this type of hit is, that the detector plane is completely defined by the detector hardware. Derived RecoHits need only to supply the physical detector plane from their geometry database.
Definition at line 50 of file GFPlanarHitPolicy.h.
|
inline |
|
inlinevirtual |
Definition at line 81 of file GFPlanarHitPolicy.h.
const GFDetPlane& GFPlanarHitPolicy::detPlane | ( | GFAbsRecoHit * | , |
const GFAbsTrackRep * | |||
) |
Returns the physical detector plane.
Referenced by GFPlanarHitPolicy().
|
inline |
Definition at line 83 of file GFPlanarHitPolicy.h.
TMatrixT<double> GFPlanarHitPolicy::hitCoord | ( | GFAbsRecoHit * | , |
const GFDetPlane & | |||
) |
Hit coordinates in detector plane.
Referenced by setDetPlane().
TMatrixT<double> GFPlanarHitPolicy::hitCov | ( | GFAbsRecoHit * | , |
const GFDetPlane & | |||
) |
Hit covariances in detector plane.
Referenced by setDetPlane().
|
inline |
Set physical detector plane. Needs to be called before hit can be used.
For the planar detector the detector plane is fixed by the geometry of the detector hardware. This method should be called in the constructor of any derived RecoHit in order to setup the geometry of this hit.
Definition at line 70 of file GFPlanarHitPolicy.h.
References fPhysicalDetPlane, hitCoord(), and hitCov().
|
protected |
Physical detector plane. Given by detector hardware.
Definition at line 93 of file GFPlanarHitPolicy.h.
Referenced by setDetPlane().