policy class for hits in wire detectors (STT and DCH) which do not measure the coordinate along the wire More...
#include <GFWireHitPolicy.h>
Public Member Functions | |
GFWireHitPolicy () | |
const GFDetPlane & | detPlane (GFAbsRecoHit *, GFAbsTrackRep *) |
Get detector plane Calls GFAbsTrackRep::extrapolateToLine for POCA. 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... | |
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 () |
Private Attributes | |
GFDetPlane | fDetPlane |
double | fMaxdistance |
Static Private Attributes | |
static const std::string | fPolicyName = "GFWireHitPolicy" |
policy class for hits in wire detectors (STT and DCH) which do not measure the coordinate along the wire
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 54 of file GFWireHitPolicy.h.
genf::GFWireHitPolicy::GFWireHitPolicy | ( | ) |
Definition at line 38 of file GFWireHitPolicy.cxx.
|
inlinevirtual |
Definition at line 78 of file GFWireHitPolicy.h.
void genf::GFWireHitPolicy::checkPlane | ( | GFAbsRecoHit * | hit, |
const GFDetPlane & | plane | ||
) |
const genf::GFDetPlane & genf::GFWireHitPolicy::detPlane | ( | GFAbsRecoHit * | hit, |
GFAbsTrackRep * | rep | ||
) |
Get detector plane Calls GFAbsTrackRep::extrapolateToLine for POCA.
Definition at line 93 of file GFWireHitPolicy.cxx.
|
inline |
Definition at line 80 of file GFWireHitPolicy.h.
|
inline |
Definition at line 83 of file GFWireHitPolicy.h.
TMatrixT< Double_t > genf::GFWireHitPolicy::hitCoord | ( | GFAbsRecoHit * | hit, |
const GFDetPlane & | plane | ||
) |
Hit coordinates in detector plane.
Definition at line 41 of file GFWireHitPolicy.cxx.
TMatrixT< Double_t > genf::GFWireHitPolicy::hitCov | ( | GFAbsRecoHit * | hit, |
const GFDetPlane & | plane | ||
) |
Hit covariances in detector plane.
Definition at line 55 of file GFWireHitPolicy.cxx.
|
inline |
Definition at line 81 of file GFWireHitPolicy.h.
|
private |
Definition at line 89 of file GFWireHitPolicy.h.
|
private |
Definition at line 90 of file GFWireHitPolicy.h.
|
staticprivate |
Definition at line 85 of file GFWireHitPolicy.h.