108 Double_t dx {0.0001};
112 std::vector<CbmStsHit> hitVect {};
116 for (
unsigned long iPoint = 0; iPoint < pointVect.size(); ++iPoint) {
119 detID = pointVect.at(iPoint).GetDetectorID();
122 x = 0.5 * (pointVect.at(iPoint).GetXOut() + pointVect.at(iPoint).GetXIn());
123 y = 0.5 * (pointVect.at(iPoint).GetYOut() + pointVect.at(iPoint).GetYIn());
124 z = 0.5 * (pointVect.at(iPoint).GetZOut() + pointVect.at(iPoint).GetZIn());
128 dpos.SetXYZ(dx, dx, 0.);
130 hitVect.emplace_back(detID,
pos,
dpos, 0., iPoint, iPoint, 0., 0.);