28 if ( verboseLevel >= 1 )
30 if ( verboseLevel >= 4 ) VerboseTrack();
31 if ( verboseLevel >= 3 )
34 G4cout << std::setw( 5) <<
"#Step#" <<
" " 35 << std::setw( 6) <<
"X" <<
" " 36 << std::setw( 6) <<
"Y" <<
" " 37 << std::setw( 6) <<
"Z" <<
" " 38 << std::setw( 9) <<
"KineE" <<
" " 39 << std::setw( 9) <<
"dEStep" <<
" " 40 << std::setw(10) <<
"StepLength" <<
" " 41 << std::setw(10) <<
"TrackLength" <<
" " 42 << std::setw(10) <<
"Volume" <<
" " 43 << std::setw(10) <<
"Process" << G4endl;
45 G4cout << std::setw( 5) << fTrack->GetCurrentStepNumber() <<
" " 46 << std::setw( 6) << G4BestUnit(fTrack->GetPosition().x(),
"Length")
47 << std::setw( 6) << G4BestUnit(fTrack->GetPosition().y(),
"Length")
48 << std::setw( 6) << G4BestUnit(fTrack->GetPosition().z(),
"Length")
49 << std::setw( 6) << G4BestUnit(fTrack->GetKineticEnergy(),
"Energy")
50 << std::setw( 6) << G4BestUnit(fStep->GetTotalEnergyDeposit(),
"Energy")
51 << std::setw( 6) << G4BestUnit(fStep->GetStepLength(),
"Length")
52 << std::setw( 6) << G4BestUnit(fTrack->GetTrackLength(),
"Length")
55 if ( fTrack->GetNextVolume() !=
nullptr )
57 G4cout << std::setw(10) << fTrack->GetVolume()->GetName();
61 G4cout << std::setw(10) <<
"OutOfWorld";
64 if ( fStep->GetPostStepPoint()->GetProcessDefinedStep() !=
nullptr )
66 G4cout <<
" " << std::setw(10) << fStep->GetPostStepPoint()->GetProcessDefinedStep()
76 if ( verboseLevel == 2 )
79 G4int tN2ndariesTot = fN2ndariesAtRestDoIt +
80 fN2ndariesAlongStepDoIt + fN2ndariesPostStepDoIt;
82 if ( tN2ndariesTot > 0 )
84 G4cout <<
" :---- List of Secondaries - " 85 <<
"#SpawnInStep = " << std::setw(3) << tN2ndariesTot
86 <<
"(Rest = " << std::setw(2) << fN2ndariesAtRestDoIt
87 <<
", Along = " << std::setw(2) << fN2ndariesAlongStepDoIt
88 <<
", Post = " << std::setw(2) << fN2ndariesPostStepDoIt
90 <<
"#SpawnTotal = " << std::setw(3) << (*fSecondary).size()
91 <<
" --------- " << G4endl;
93 for (
size_t lp1 = (*fSecondary).size() - tN2ndariesTot; lp1 < (*fSecondary).size(); lp1++)
97 << G4BestUnit((*fSecondary)[lp1]->GetPosition().
x(),
"Length")
99 << G4BestUnit((*fSecondary)[lp1]->GetPosition().
y(),
"Length")
101 << G4BestUnit((*fSecondary)[lp1]->GetPosition().
z(),
"Length")
103 << G4BestUnit((*fSecondary)[lp1]->GetKineticEnergy(),
"Energy")
105 << (*fSecondary)[lp1]->GetDefinition()->GetParticleName();
109 G4cout <<
" :----------------------" 110 <<
"--------------------------" 111 <<
"-- End of Secondaries Info --------------------------------- " 117 G4cout.precision(precision);