74 std::ostringstream os;
78 os << cq <<
id <<
'\0';
79 std::string sid(os.str());
81 ostr.unsetf(std::ios::fixed);
82 ostr.setf(std::ios::scientific | std::ios::right | std::ios::showpoint);
84 ostr << std::setw(6) << sid;
85 ostr <<
" : X(" << std::setw(9) << std::setprecision(2) <<
position.x() / mm
86 <<
"," << std::setw(9) << std::setprecision(2) <<
position.y() / mm
87 <<
"," << std::setw(9) << std::setprecision(2) <<
position.z() / mm
88 <<
"," << std::setw(9) << std::setprecision(2) << time / ns <<
")";
89 ostr.unsetf(std::ios::scientific);
90 ostr <<
"@" << volumeName <<
"-" << volumeNumber <<
"%" << creatorProcessName
93 ostr <<
" " << std::setw(4) << inParticleTrackID <<
"-> ";
94 std::size_t np = outParticleTrackIDList.size();
95 for(std::size_t i = 0; i < np; ++i)
96 ostr << outParticleTrackIDList[i] <<
", ";