LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "GFSpacepointHitPolicy.h"
Public Member Functions | |
GFSpacepointHitPolicy () | |
const GFDetPlane & | detPlane (GFAbsRecoHit *, GFAbsTrackRep *) |
Get detector plane perpendicular to track. More... | |
TMatrixT< double > | hitCoord (GFAbsRecoHit *, const GFDetPlane &) |
Hit coordinates in detector plane. More... | |
TMatrixT< double > | hitCoord (GFAbsRecoHit *, const GFDetPlane &, const GFDetPlane &) |
TMatrixT< double > | hitCov (GFAbsRecoHit *, const GFDetPlane &) |
Hit covariances in detector plane. More... | |
TMatrixT< double > | hitCov (GFAbsRecoHit *hit, const GFDetPlane &plane, const GFDetPlane &planePrev, const TMatrixT< Double_t > &state, const Double_t &mass) |
virtual | ~GFSpacepointHitPolicy () |
const std::string & | getName () |
Private Attributes | |
GFDetPlane | fPlane |
Static Private Attributes | |
static const std::string | fPolicyName = "GFSpacepointHitPolicy" |
Definition at line 55 of file GFSpacepointHitPolicy.h.
|
inline |
Definition at line 59 of file GFSpacepointHitPolicy.h.
References detPlane(), hitCoord(), and hitCov().
|
inlinevirtual |
Definition at line 79 of file GFSpacepointHitPolicy.h.
const genf::GFDetPlane & genf::GFSpacepointHitPolicy::detPlane | ( | GFAbsRecoHit * | hit, |
GFAbsTrackRep * | rep | ||
) |
Get detector plane perpendicular to track.
The detector plane is contructed from the position of the hit and the track representation. For this the track is extrapolated to the point of closest approach to the hit.
Definition at line 382 of file GFSpacepointHitPolicy.cxx.
References genf::GFAbsTrackRep::extrapolateToPoint(), fPlane, genf::GFAbsRecoHit::getRawHitCoord(), genf::GFDetPlane::setNormal(), and genf::GFDetPlane::setO().
Referenced by GFSpacepointHitPolicy().
|
inline |
Definition at line 81 of file GFSpacepointHitPolicy.h.
References fPolicyName.
TMatrixT< Double_t > genf::GFSpacepointHitPolicy::hitCoord | ( | GFAbsRecoHit * | hit, |
const GFDetPlane & | plane | ||
) |
Hit coordinates in detector plane.
Definition at line 29 of file GFSpacepointHitPolicy.cxx.
References genf::GFDetPlane::getO(), genf::GFAbsRecoHit::getRawHitCoord(), genf::GFDetPlane::getU(), and genf::GFDetPlane::getV().
Referenced by GFSpacepointHitPolicy().
TMatrixT< Double_t > genf::GFSpacepointHitPolicy::hitCoord | ( | GFAbsRecoHit * | hit, |
const GFDetPlane & | plane, | ||
const GFDetPlane & | |||
) |
Definition at line 59 of file GFSpacepointHitPolicy.cxx.
References genf::GFDetPlane::getO(), genf::GFAbsRecoHit::getRawHitCoord(), genf::GFDetPlane::getU(), and genf::GFDetPlane::getV().
TMatrixT< Double_t > genf::GFSpacepointHitPolicy::hitCov | ( | GFAbsRecoHit * | hit, |
const GFDetPlane & | plane | ||
) |
Hit covariances in detector plane.
Definition at line 89 of file GFSpacepointHitPolicy.cxx.
References genf::GFAbsRecoHit::getRawHitCov(), genf::GFDetPlane::getU(), and genf::GFDetPlane::getV().
Referenced by GFSpacepointHitPolicy().
TMatrixT< Double_t > genf::GFSpacepointHitPolicy::hitCov | ( | GFAbsRecoHit * | hit, |
const GFDetPlane & | plane, | ||
const GFDetPlane & | planePrev, | ||
const TMatrixT< Double_t > & | state, | ||
const Double_t & | mass | ||
) |
Definition at line 120 of file GFSpacepointHitPolicy.cxx.
References beta, genf::GFDetPlane::getNormal(), genf::GFDetPlane::getO(), genf::GFAbsRecoHit::getRawHitCov(), genf::GFDetPlane::getU(), genf::GFDetPlane::getV(), w, X, Y, and Z.
|
private |
Definition at line 87 of file GFSpacepointHitPolicy.h.
Referenced by detPlane().
|
staticprivate |
Definition at line 84 of file GFSpacepointHitPolicy.h.
Referenced by getName().