PandaRoot
GFPlanarHitPolicy Class Reference

Policy class implementing a planar hit geometry. More...

#include <GFPlanarHitPolicy.h>

Inheritance diagram for GFPlanarHitPolicy:

Public Member Functions

 GFPlanarHitPolicy ()
 
const GFDetPlanedetPlane (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...
 

Detailed Description

Policy class implementing a planar hit geometry.

Author
Christian Höppner (Technische Universität München, original author)
Sebastian Neubert (Technische Universität München, original author)

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.

Constructor & Destructor Documentation

◆ GFPlanarHitPolicy()

GFPlanarHitPolicy::GFPlanarHitPolicy ( )
inline

Definition at line 53 of file GFPlanarHitPolicy.h.

References detPlane().

53 {}

◆ ~GFPlanarHitPolicy()

virtual GFPlanarHitPolicy::~GFPlanarHitPolicy ( )
inlinevirtual

Definition at line 81 of file GFPlanarHitPolicy.h.

81 { ; }

Member Function Documentation

◆ detPlane()

const GFDetPlane& GFPlanarHitPolicy::detPlane ( GFAbsRecoHit ,
const GFAbsTrackRep  
)

Returns the physical detector plane.

Referenced by GFPlanarHitPolicy().

◆ getName()

const std::string& GFPlanarHitPolicy::getName ( )
inline

Definition at line 83 of file GFPlanarHitPolicy.h.

83 { return fPolicyName; }

◆ hitCoord()

TMatrixT<double> GFPlanarHitPolicy::hitCoord ( GFAbsRecoHit ,
const GFDetPlane  
)

Hit coordinates in detector plane.

Referenced by setDetPlane().

◆ hitCov()

TMatrixT<double> GFPlanarHitPolicy::hitCov ( GFAbsRecoHit ,
const GFDetPlane  
)

Hit covariances in detector plane.

Referenced by setDetPlane().

◆ setDetPlane()

void GFPlanarHitPolicy::setDetPlane ( const GFDetPlane p)
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().

70 { fPhysicalDetPlane = p; }
GFDetPlane fPhysicalDetPlane
Physical detector plane. Given by detector hardware.

Member Data Documentation

◆ fPhysicalDetPlane

GFDetPlane GFPlanarHitPolicy::fPhysicalDetPlane
protected

Physical detector plane. Given by detector hardware.

Definition at line 93 of file GFPlanarHitPolicy.h.

Referenced by setDetPlane().


The documentation for this class was generated from the following file: