67 if (dynamic_cast<const genf::RKTrackRep*>(stateVector) !=
nullptr){
77 TMatrixT<Double_t> HMatrix(5,5);
79 Double_t C = 0.0136/betac*sqrt(dist/14.0)*(1+0.038*log(dist/14.0));
114 else if(dynamic_cast<const genf::SlTrackRep*>(stateVector)){
115 TMatrixT<Double_t> HMatrix(2,4);
131 std::cerr <<
"PointHit can only handle state" 132 <<
" vectors of type genf::RKTrackRep or genf::SlTrackRep -> throw" << std::endl;
141 if (dynamic_cast<const genf::RKTrackRep*>(stateVector) !=
nullptr){
150 TMatrixT<Double_t> HMatrix(2,5);
168 else if(dynamic_cast<const genf::SlTrackRep*>(stateVector)){
169 TMatrixT<Double_t> HMatrix(2,4);
185 std::cerr <<
"PointHit can only handle state" 186 <<
" vectors of type genf::RKTrackRep or genf::SlTrackRep -> throw" << std::endl;
TMatrixT< Double_t > fHitCoord
Vector of raw coordinates of hit.
Base Class for genfit track representations. Defines interface for track parameterizations.
virtual TMatrixT< Double_t > getHMatrix(const GFAbsTrackRep *stateVector)
Get transformation matrix. Transformation between hit coordinates and track representation coordinate...
static const int NparHitRep
virtual GFAbsRecoHit * clone()
Get clone of this object.
TMatrixT< Double_t > fHitCov
Covariance of raw hit coordinates.