48 : inParticleTrackID(0),id(-1), time(0.),
49 volumeName(
""), volumeNumber(-1),
50 creatorProcessName(
"none"),
58 : inParticleTrackID(0), id(-1),
position(x), time(t),
59 volumeName(
""), volumeNumber(-1),
60 creatorProcessName(
"none"), storeFlag(false)
67 std::string vname,
int ncopy, std::string pname)
68 : inParticleTrackID(0), id(-1),
position(x), time(t),
69 volumeName(vname), volumeNumber(ncopy),
70 creatorProcessName(pname), storeFlag(false)
79 outParticleTrackIDList.clear();
86 std::ostringstream os;
89 os << cq <<
id <<
'\0';
90 std::string sid(os.str());
92 ostr.unsetf(std::ios::fixed);
93 ostr.setf(std::ios::scientific|std::ios::right|std::ios::showpoint);
95 ostr << std::setw(6) << sid;
96 ostr <<
" : X(" << std::setw(9) << std::setprecision(2)
98 <<
"," << std::setw(9) << std::setprecision(2)
100 <<
"," << std::setw(9) << std::setprecision(2)
102 <<
"," << std::setw(9) << std::setprecision(2)
104 ostr.unsetf(std::ios::scientific);
105 ostr <<
"@" << volumeName
106 <<
"-" << volumeNumber
107 <<
"%" << creatorProcessName
110 ostr <<
" " << std::setw(4) << inParticleTrackID <<
"-> ";
111 size_t np= outParticleTrackIDList.size();
112 for (
size_t i=0; i<np; i++) ostr << outParticleTrackIDList[i] <<
", ";
void Print(std::ostream &ostr=std::cout) const