#include <WLSSteppingVerbose.hh>
Definition at line 40 of file WLSSteppingVerbose.hh.
◆ WLSSteppingVerbose()
WLSSteppingVerbose::WLSSteppingVerbose |
( |
| ) |
|
◆ ~WLSSteppingVerbose()
WLSSteppingVerbose::~WLSSteppingVerbose |
( |
| ) |
|
|
virtual |
◆ StepInfo()
void WLSSteppingVerbose::StepInfo |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 52 of file WLSSteppingVerbose.cc.
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->
99 GetPostStepPoint()->GetProcessDefinedStep()->GetProcessName();
117 if ( tN2ndariesTot>0 ) {
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 WLSSteppingVerbose::TrackingStarted |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 157 of file WLSSteppingVerbose.cc.
168 G4cout <<
"*******************************************************" 169 <<
"**************************************************" 171 G4cout <<
"* G4Track Information: " 172 <<
" Particle = " <<
fTrack->GetDefinition()->GetParticleName()
174 <<
" Track ID = " <<
fTrack->GetTrackID()
176 <<
" Parent ID = " <<
fTrack->GetParentID()
178 G4cout <<
"*******************************************************" 179 <<
"**************************************************" 183 G4cout << std::setw( 5) <<
"Step#" <<
" " 184 << std::setw(10) <<
"X" <<
" " 185 << std::setw(10) <<
"Y" <<
" " 186 << std::setw(10) <<
"Z" <<
" " 187 << std::setw(10) <<
"KineE" <<
" " 188 << std::setw(10) <<
"dEStep" <<
" " 189 << std::setw(10) <<
"StepLeng" <<
" " 190 << std::setw(10) <<
"TrakLeng" <<
" " 191 << std::setw(10) <<
"Volume" <<
" " 192 << std::setw(10) <<
"Process" <<
G4endl;
194 G4cout << std::setw( 5) <<
fTrack->GetCurrentStepNumber() <<
" " 200 GetTotalEnergyDeposit(),
"Energy")
204 if (
fTrack->GetNextVolume() ) {
205 G4cout << std::setw(10) <<
fTrack->GetVolume()->GetName();
207 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: