243 std::cout << std::fixed;
249 std::cout <<
"#" << std::setw(4) <<
fStepNumber++ <<
" ";
254 gMC->TrackPosition(x, y, z);
255 std::cout << std::setw(8) << std::setprecision(3) << x <<
" " << std::setw(8) << std::setprecision(3) << y <<
" "
256 << std::setw(8) << std::setprecision(3) << z <<
" ";
260 Double_t px, py, pz, etot;
261 gMC->TrackMomentum(px, py, pz, etot);
262 Double_t ekin = etot -
gMC->TrackMass();
263 std::cout << std::setw(9) << std::setprecision(4) << ekin * 1e03 <<
" ";
267 std::cout << std::setw(9) << std::setprecision(4) <<
gMC->Edep() * 1e03 <<
" ";
271 std::cout << std::setw(8) << std::setprecision(3) <<
gMC->TrackStep() <<
" ";
275 std::cout << std::setw(8) << std::setprecision(3) <<
gMC->TrackLength() <<
" ";
279 if (
gMC->CurrentVolName() != 0)
280 std::cout << std::setw(4) <<
gMC->CurrentVolName() <<
" ";
282 std::cout << std::setw(4) <<
"None"
288 Int_t nofProcesses =
gMC->StepProcesses(processes);
289 if (nofProcesses > 0)
292 std::cout << std::endl;