PandaRoot
GFWirepointHitPolicy Class Reference

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

#include <GFWirepointHitPolicy.h>

Inheritance diagram for GFWirepointHitPolicy:

Public Member Functions

 GFWirepointHitPolicy ()
 
const GFDetPlanedetPlane (GFAbsRecoHit *, GFAbsTrackRep *)
 Get detector plane. 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 ~GFWirepointHitPolicy ()
 
double getMaxDistance ()
 
void setMaxDistance (double d)
 
const std::string & getName ()
 
 ClassDef (GFWirepointHitPolicy, 1)
 

Detailed Description

policy class for hits in wire detectors (STT and DCH) which can 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 8 coordinates: w_x1, w_y1, w_z1, w_x2, w_y2, w_z2, rdrift, zreco 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) and zreco = coordinate along the wire (in the plane reference frame, v coordinate).

Definition at line 50 of file GFWirepointHitPolicy.h.

Constructor & Destructor Documentation

◆ GFWirepointHitPolicy()

GFWirepointHitPolicy::GFWirepointHitPolicy ( )

◆ ~GFWirepointHitPolicy()

virtual GFWirepointHitPolicy::~GFWirepointHitPolicy ( )
inlinevirtual

Definition at line 71 of file GFWirepointHitPolicy.h.

71 { ; }

Member Function Documentation

◆ checkPlane()

void GFWirepointHitPolicy::checkPlane ( GFAbsRecoHit ,
const GFDetPlane  
)

Check if the detector plane is valid.

◆ ClassDef()

GFWirepointHitPolicy::ClassDef ( GFWirepointHitPolicy  ,
 
)

Referenced by getName().

◆ detPlane()

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

Get detector plane.

◆ getMaxDistance()

double GFWirepointHitPolicy::getMaxDistance ( )
inline

Definition at line 73 of file GFWirepointHitPolicy.h.

73 { return fMaxdistance; }

◆ getName()

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

Definition at line 76 of file GFWirepointHitPolicy.h.

References ClassDef().

76 { return fPolicyName; }

◆ hitCoord()

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

Hit coordinates in detector plane.

◆ hitCov()

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

Hit covariances in detector plane.

◆ setMaxDistance()

void GFWirepointHitPolicy::setMaxDistance ( double  d)
inline

Definition at line 74 of file GFWirepointHitPolicy.h.

74 { fMaxdistance = d; }

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