PandaRoot
GFWireHitPolicy Class Reference

policy class for hits in wire detectors (STT and DCH) which do not measure the coordinate along the wire More...

#include <GFWireHitPolicy.h>

Inheritance diagram for GFWireHitPolicy:

Public Member Functions

 GFWireHitPolicy ()
 
const GFDetPlanedetPlane (GFAbsRecoHit *, GFAbsTrackRep *)
 Get detector plane Calls GFAbsTrackRep::extrapolateToLine for POCA. 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...
 
void checkPlane (GFAbsRecoHit *, const GFDetPlane &)
 Check if the detector plane is valid. More...
 
virtual ~GFWireHitPolicy ()
 
double getMaxDistance ()
 
void setMaxDistance (double d)
 
const std::string & getName ()
 
 ClassDef (GFWireHitPolicy, 1)
 

Detailed Description

policy class for hits in wire detectors (STT and DCH) which do not measure the coordinate along the wire

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

This policy is not valid for any kind of plane orientation choice: to use it you MUST choose a plane described by u and v axes with v coincident with the wire (and u orthogonal to it, obviously). The hit will be described by 7 coordinates: w_x1, w_y1, w_z1, w_x2, w_y2, w_z2, rdrift where w_ji (with j = x, y, z and i = 1, 2) are the wire extremities coordinates; rdrift = distance from the wire (u coordinate in the plane)

Definition at line 50 of file GFWireHitPolicy.h.

Constructor & Destructor Documentation

◆ GFWireHitPolicy()

GFWireHitPolicy::GFWireHitPolicy ( )

◆ ~GFWireHitPolicy()

virtual GFWireHitPolicy::~GFWireHitPolicy ( )
inlinevirtual

Definition at line 72 of file GFWireHitPolicy.h.

72 { ; }

Member Function Documentation

◆ checkPlane()

void GFWireHitPolicy::checkPlane ( GFAbsRecoHit ,
const GFDetPlane  
)

Check if the detector plane is valid.

◆ ClassDef()

GFWireHitPolicy::ClassDef ( GFWireHitPolicy  ,
 
)

Referenced by getName().

◆ detPlane()

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

Get detector plane Calls GFAbsTrackRep::extrapolateToLine for POCA.

◆ getMaxDistance()

double GFWireHitPolicy::getMaxDistance ( )
inline

Definition at line 74 of file GFWireHitPolicy.h.

74 { return fMaxdistance; }

◆ getName()

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

Definition at line 77 of file GFWireHitPolicy.h.

References ClassDef().

77 { return fPolicyName; }

◆ hitCoord()

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

Hit coordinates in detector plane.

◆ hitCov()

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

Hit covariances in detector plane.

◆ setMaxDistance()

void GFWireHitPolicy::setMaxDistance ( double  d)
inline

Definition at line 75 of file GFWireHitPolicy.h.

75 { fMaxdistance = d; }

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