66 if (dynamic_cast<const genf::RKTrackRep*>(stateVector) !=
nullptr){
76 TMatrixT<Double_t> HMatrix(5,5);
78 Double_t C = 0.0136/betac*sqrt(dist/14.0)*(1+0.038*log(dist/14.0));
113 else if(dynamic_cast<const genf::SlTrackRep*>(stateVector)){
114 TMatrixT<Double_t> HMatrix(2,4);
130 std::cerr <<
"PointHit can only handle state"
131 <<
" vectors of type genf::RKTrackRep or genf::SlTrackRep -> throw" << std::endl;
140 if (dynamic_cast<const genf::RKTrackRep*>(stateVector) !=
nullptr){
149 TMatrixT<Double_t> HMatrix(2,5);
167 else if(dynamic_cast<const genf::SlTrackRep*>(stateVector)){
168 TMatrixT<Double_t> HMatrix(2,4);
184 std::cerr <<
"PointHit can only handle state"
185 <<
" vectors of type genf::RKTrackRep or genf::SlTrackRep -> throw" << std::endl;
BEGIN_PROLOG could also be cerr
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...
constexpr double dist(const TReal *x, const TReal *y, const unsigned int dimension)
virtual GFAbsRecoHit * clone()
Get clone of this object.
TMatrixT< Double_t > fHitCov
Covariance of raw hit coordinates.