57 const Double_t& betac,
60 if (dynamic_cast<const genf::RKTrackRep*>(stateVector) !=
nullptr) {
69 TMatrixT<Double_t> HMatrix(5, 5);
72 0.0136 / betac * sqrt(dist / 14.0) * (1 + 0.038 * log(dist / 14.0));
106 else if (dynamic_cast<const genf::SlTrackRep*>(stateVector)) {
107 TMatrixT<Double_t> HMatrix(2, 4);
122 std::cerr <<
"PointHit can only handle state" 123 <<
" vectors of type genf::RKTrackRep or genf::SlTrackRep -> throw" << std::endl;
130 if (dynamic_cast<const genf::RKTrackRep*>(stateVector) !=
nullptr) {
138 TMatrixT<Double_t> HMatrix(2, 5);
156 else if (dynamic_cast<const genf::SlTrackRep*>(stateVector)) {
157 TMatrixT<Double_t> HMatrix(2, 4);
172 std::cerr <<
"PointHit can only handle state" 173 <<
" 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
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.