35 #include "SteppingVerbose.hh" 63 G4cout << std::setw( 5) <<
"Step#" <<
" " 64 << std::setw( 6) <<
"X" <<
" " 65 << std::setw( 6) <<
"Y" <<
" " 66 << std::setw( 6) <<
"Z" <<
" " 67 << std::setw( 9) <<
"KineE" <<
" " 68 << std::setw( 9) <<
"dEStep" <<
" " 69 << std::setw(10) <<
"StepLeng" 70 << std::setw(10) <<
"TrakLeng" 71 << std::setw(10) <<
"Volume" <<
" " 72 << std::setw(10) <<
"Process" <<
G4endl;
74 G4cout << std::setw(5) <<
fTrack->GetCurrentStepNumber() <<
" " 82 << std::setw(10) <<
fTrack->GetVolume()->GetName()
100 G4cout << std::setw( 5) <<
"#Step#" <<
" " 101 << std::setw( 6) <<
"X" <<
" " 102 << std::setw( 6) <<
"Y" <<
" " 103 << std::setw( 6) <<
"Z" <<
" " 104 << std::setw( 9) <<
"KineE" <<
" " 105 << std::setw( 9) <<
"dEStep" <<
" " 106 << std::setw(10) <<
"StepLeng" 107 << std::setw(10) <<
"TrakLeng" 108 << std::setw(10) <<
"Volume" <<
" " 109 << std::setw(10) <<
"Process" <<
G4endl;
112 G4cout << std::setw( 5) <<
fTrack->GetCurrentStepNumber() <<
" " 120 << std::setw(10) <<
fTrack->GetVolume()->GetName();
123 =
fStep->GetPostStepPoint()->GetProcessDefinedStep();
126 if (
fStepStatus == fWorldBoundary) procName =
"OutOfWorld";
127 G4cout <<
" " << std::setw(10) << procName;
131 const std::vector<const G4Track*>* secondary
132 =
fStep->GetSecondaryInCurrentStep();
133 size_t nbtrk = (*secondary).size();
135 G4cout <<
"\n :----- List of secondaries ----------------" <<
G4endl;
137 for (
size_t lp=0; lp<(*secondary).size(); lp++) {
140 << (*secondary)[lp]->GetDefinition()->GetParticleName()
143 <<
G4BestUnit((*secondary)[lp]->GetKineticEnergy(),
"Energy")
146 <<
G4BestUnit((*secondary)[lp]->GetGlobalTime(),
"Time");
150 G4cout <<
" :------------------------------------------\n" <<
G4endl;
virtual void TrackingStarted()
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
const G4String & GetProcessName() const
G4GLOB_DLL std::ostream G4cout