375{
377 {
378 return;
379 }
380
383
384
387 {
390#ifdef G4_USE_G4BESTUNIT_FOR_VERBOSE
391 G4cout << std::setw( 5) <<
"#TrackID" <<
" "
392 << std::setw( 5) << "#Step#" << " "
393 << std::setw( 8) << "X" << " " << std::setw( 8) << "Y" << " "
394 << std::setw( 8) << "Z" << " "
395 << std::setw( 9) << "KineE" << " " << std::setw( 8) << "dE" << " "
396 << std::setw(12) << "StepLeng" << " " << std::setw(12) << "TrackLeng" << " "
397 << std::setw(12) <<
"NextVolume" <<
" " << std::setw( 8) <<
"ProcName" <<
G4endl;
398#else
399 G4cout << std::setw( 5) <<
"#TrackID" <<
" "
400 << std::setw( 5) << "#Step#" << " "
401 << std::setw( 8) << "X(mm)" << " " << std::setw( 8) << "Y(mm)" << " "
402 << std::setw( 8) << "Z(mm)" << " "
403 << std::setw( 9) << "KinE(MeV)" << " " << std::setw( 8) << "dE(MeV)" << " "
404 << std::setw( 8) << "StepLeng" << " " << std::setw( 9) << "TrackLeng" << " "
405 << std::setw(11) <<
"NextVolume" <<
" " << std::setw( 8) <<
"ProcName" <<
G4endl;
406#endif
407 }
412 << " " << std::setw(8)
415 << " " << std::setw(8)
419 << " ";
420
421
423 {
425 }
426 else
427 {
428 G4cout << std::setw(11) <<
"OutOfWorld" <<
" ";
429 }
431 {
434 }
435 else
436 {
438 }
441 {
444 if(tN2ndariesTot > 0)
445 {
446 G4cout <<
" :----- List of 2ndaries - " <<
"#SpawnInStep="
447 << std::setw(3) << tN2ndariesTot << "(Rest=" << std::setw(2)
451 << std::setw(3) << (*fSecondary).size() << " ---------------"
453
454 for(std::size_t lp1=(*fSecondary).size()-tN2ndariesTot;
455 lp1<(*fSecondary).size(); ++lp1)
456 {
458 << std::setw( 9)
460 << std::setw( 9)
462 << std::setw( 9)
464 << std::setw( 9)
466 << std::setw(18)
467 << (*fSecondary)[lp1]->GetDefinition()->GetParticleName() <<
G4endl;
468 }
469 G4cout <<
" :-----------------------------" <<
"----------------------------------"
470 <<
"-- EndOf2ndaries Info ---------------" <<
G4endl;
471 }
472 }
474}
void VerboseTrack() override
G4double GetStepLength() const
G4VPhysicalVolume * GetNextVolume() const
G4double GetTrackLength() const
G4int GetCurrentStepNumber() const
G4double GetKineticEnergy() const