#include <F04SteppingVerbose.hh>
Definition at line 37 of file F04SteppingVerbose.hh.
◆ F04SteppingVerbose()
F04SteppingVerbose::F04SteppingVerbose |
( |
| ) |
|
◆ ~F04SteppingVerbose()
F04SteppingVerbose::~F04SteppingVerbose |
( |
| ) |
|
|
virtual |
◆ StepInfo()
void F04SteppingVerbose::StepInfo |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 49 of file F04SteppingVerbose.cc.
55 if (
fTrack->GetDefinition()->GetParticleName() ==
"proton")
return;
58 if (
fTrack->GetDefinition()->GetParticleName() ==
"e+")
return;
64 G4cout << std::setw( 5) <<
"#Step#" <<
" " 65 << std::setw(10) <<
"X" <<
" " 66 << std::setw(10) <<
"Y" <<
" " 67 << std::setw(10) <<
"Z" <<
" " 68 << std::setw(10) <<
"KineE" <<
" " 69 << std::setw(10) <<
"dEStep" <<
" " 70 << std::setw(10) <<
"StepLeng" 71 << std::setw(10) <<
"TrakLeng" 72 << std::setw(10) <<
"NextVolu" 73 << std::setw(10) <<
"Process" 74 << std::setw(10) <<
"Dir_x" <<
" " 75 << std::setw(10) <<
"Dir_y" <<
" " 76 << std::setw(10) <<
"Dir_z" <<
" " 80 G4cout << std::setw( 5) <<
fTrack->GetCurrentStepNumber() <<
" " 86 GetTotalEnergyDeposit(),
"Energy")
90 if(
fTrack->GetNextVolume() != 0 ) {
91 G4cout << std::setw(10) <<
fTrack->GetVolume()->GetName();
93 G4cout << std::setw(10) <<
"OutOfWorld";
96 if(
fStep->GetPostStepPoint()->GetProcessDefinedStep() != 0){
98 << std::setw(10) <<
fStep->GetPostStepPoint()->
99 GetProcessDefinedStep()->GetProcessName();
118 G4cout <<
" :----- List of 2ndaries - " 119 <<
"#SpawnInStep=" << std::setw(3) << tN2ndariesTot
122 <<
",Post=" << std::setw(2) << fN2ndariesPostStepDoIt
124 <<
"#SpawnTotal=" << std::setw(3) << (*fSecondary).size()
125 <<
" ---------------" 128 for(
size_t lp1=(*fSecondary).size()-tN2ndariesTot;
129 lp1<(*fSecondary).size(); lp1++){
140 << (*fSecondary)[lp1]->GetDefinition()->GetParticleName();
144 G4cout <<
" :-----------------------------" 145 <<
"----------------------------------" 146 <<
"-- EndOf2ndaries Info ---------------" G4int fN2ndariesPostStepDoIt
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4int fN2ndariesAlongStepDoIt
G4GLOB_DLL std::ostream G4cout
G4int fN2ndariesAtRestDoIt
G4TrackVector * fSecondary
◆ TrackingStarted()
void F04SteppingVerbose::TrackingStarted |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 157 of file F04SteppingVerbose.cc.
163 if (
fTrack->GetDefinition()->GetParticleName() ==
"proton")
return;
166 if (
fTrack->GetDefinition()->GetParticleName() ==
"e+")
return;
169 G4cout <<
"*******************************************************" 170 <<
"**************************************************" 172 G4cout <<
"* G4Track Information: " 173 <<
" Particle = " <<
fTrack->GetDefinition()->GetParticleName()
175 <<
" Track ID = " <<
fTrack->GetTrackID()
177 <<
" Parent ID = " <<
fTrack->GetParentID()
179 G4cout <<
"*******************************************************" 180 <<
"**************************************************" 186 G4cout << std::setw( 5) <<
"Step#" <<
" " 187 << std::setw( 6) <<
"X" <<
" " 188 << std::setw( 6) <<
"Y" <<
" " 189 << std::setw( 6) <<
"Z" <<
" " 190 << std::setw( 9) <<
"KineE" <<
" " 191 << std::setw( 9) <<
"dEStep" <<
" " 192 << std::setw(10) <<
"StepLeng" 193 << std::setw(10) <<
"TrakLeng" 194 << std::setw(10) <<
"Volume" <<
" " 195 << std::setw(10) <<
"Process" <<
G4endl;
197 G4cout << std::setw( 5) <<
fTrack->GetCurrentStepNumber() <<
" " 207 if(
fTrack->GetNextVolume()){
208 G4cout << std::setw(10) <<
fTrack->GetVolume()->GetName();
210 G4cout << std::setw(10) <<
"OutOfWorld";
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
The documentation for this class was generated from the following files: