32 TMatrixT<double> returnMat(2,1);
34 TMatrixT<double> _D(3,1);
38 _D[0][0] = (plane.
getO())[0];
39 _D[1][0] = (plane.
getO())[1];
40 _D[2][0] = (plane.
getO())[2];
51 returnMat[0][0] = _D[0][0] * _U[0] + _D[1][0] * _U[1] + _D[2][0] * _U[2];
52 returnMat[1][0] = _D[0][0] * _V[0] + _D[1][0] * _V[1] + _D[2][0] * _V[2];
69 TMatrixT<double> jac(3,2);
79 TMatrixT<double> jac_orig = jac;
80 TMatrixT<double> jac_t = jac.T();
82 TMatrixT<double> result=jac_t * (rawCov * jac_orig);
92 TVector3
point(rawcoord[0][0],rawcoord[1][0],rawcoord[2][0]);
94 TVector3 poca,dirInPoca;
const GFDetPlane & detPlane(GFAbsRecoHit *, GFAbsTrackRep *)
Get detector plane perpendicular to track.
Base Class for genfit track representations. Defines interface for track parameterizations.
Detector plane genfit geometry class.
TMatrixT< double > hitCoord(GFAbsRecoHit *, const GFDetPlane &)
Hit coordinates in detector plane.
void setO(const TVector3 &o)
void setNormal(TVector3 n)
TMatrixT< double > getRawHitCoord() const
Get raw hit coordinates.
Policy class implementing a space point hit geometry.
Base Class for representing a Hit in GENFIT.
TMatrixT< double > hitCov(GFAbsRecoHit *, const GFDetPlane &)
Hit covariances in detector plane.
int hit(Int_t nEvents=0, TString inFile="sim.root", TString parFile="par.root", TString inDigi="digi.root", TString outFile="hit.root", Int_t timeBased=0)
static const std::string fPolicyName
virtual void extrapolateToPoint(const TVector3 &point, TVector3 &poca, TVector3 &normVec)
This method is to extrapolate the track to point of closest approach to a point in space...
TMatrixT< double > getRawHitCov() const
Get raw hit covariances.