Public Member Functions | Protected Attributes | Static Private Attributes | List of all members
genf::GFPlanarHitPolicy Class Reference

#include <GFPlanarHitPolicy.h>

Inheritance diagram for genf::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_t > hitCoord (GFAbsRecoHit *, const GFDetPlane &)
 Hit coordinates in detector plane. More...
 
TMatrixT< Double_t > hitCov (GFAbsRecoHit *, const GFDetPlane &)
 Hit covariances in detector plane. More...
 
virtual ~GFPlanarHitPolicy ()
 
const std::stringgetName ()
 

Protected Attributes

GFDetPlane fPhysicalDetPlane
 Physical detector plane. Given by detector hardware. More...
 

Static Private Attributes

static const std::string fPolicyName = "GFPlanarHitPolicy"
 

Detailed Description

Definition at line 53 of file GFPlanarHitPolicy.h.

Constructor & Destructor Documentation

genf::GFPlanarHitPolicy::GFPlanarHitPolicy ( )
inline

Definition at line 57 of file GFPlanarHitPolicy.h.

57 {}
virtual genf::GFPlanarHitPolicy::~GFPlanarHitPolicy ( )
inlinevirtual

Definition at line 87 of file GFPlanarHitPolicy.h.

87 {;}

Member Function Documentation

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

Returns the physical detector plane.

Definition at line 38 of file GFPlanarHitPolicy.cxx.

39 {
40  return fPhysicalDetPlane;
41 }
GFDetPlane fPhysicalDetPlane
Physical detector plane. Given by detector hardware.
const std::string& genf::GFPlanarHitPolicy::getName ( )
inline

Definition at line 89 of file GFPlanarHitPolicy.h.

89 {return fPolicyName;}
static const std::string fPolicyName
TMatrixT< Double_t > genf::GFPlanarHitPolicy::hitCoord ( GFAbsRecoHit hit,
const GFDetPlane  
)

Hit coordinates in detector plane.

Definition at line 26 of file GFPlanarHitPolicy.cxx.

27 {
28  return hit->getRawHitCoord();
29 }
Detector simulation of raw signals on wires.
TMatrixT< Double_t > genf::GFPlanarHitPolicy::hitCov ( GFAbsRecoHit hit,
const GFDetPlane  
)

Hit covariances in detector plane.

Definition at line 32 of file GFPlanarHitPolicy.cxx.

33 {
34  return hit->getRawHitCov();
35 }
Detector simulation of raw signals on wires.
void genf::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 76 of file GFPlanarHitPolicy.h.

p
Definition: test.py:223
GFDetPlane fPhysicalDetPlane
Physical detector plane. Given by detector hardware.

Member Data Documentation

GFDetPlane genf::GFPlanarHitPolicy::fPhysicalDetPlane
protected

Physical detector plane. Given by detector hardware.

Definition at line 100 of file GFPlanarHitPolicy.h.

const std::string genf::GFPlanarHitPolicy::fPolicyName = "GFPlanarHitPolicy"
staticprivate

Definition at line 92 of file GFPlanarHitPolicy.h.


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