89 std::vector<CbmStsHit> hitVect {};
93 for (
unsigned long iPoint = 0; iPoint < pointVect.size(); ++iPoint) {
96 detID = pointVect.at(iPoint).GetDetectorID();
99 x = 0.5 * (pointVect.at(iPoint).GetXOut() + pointVect.at(iPoint).GetXIn());
100 y = 0.5 * (pointVect.at(iPoint).GetYOut() + pointVect.at(iPoint).GetYIn());
101 z = 0.5 * (pointVect.at(iPoint).GetZOut() + pointVect.at(iPoint).GetZIn());
105 dpos.SetXYZ(dx, dx, 0.);
107 hitVect.emplace_back(detID,
pos,
dpos, 0., iPoint, iPoint, 0., 0.);