34 #include "SteppingVerbose.hh"
62 G4cout << std::setw( 5) <<
"Step#" <<
" "
63 << std::setw( 6) <<
"X" <<
" "
64 << std::setw( 6) <<
"Y" <<
" "
65 << std::setw( 6) <<
"Z" <<
" "
66 << std::setw( 9) <<
"KineE" <<
" "
67 << std::setw( 9) <<
"dEStep" <<
" "
68 << std::setw(10) <<
"StepLeng"
69 << std::setw(10) <<
"TrakLeng"
70 << std::setw(10) <<
"Volume" <<
" "
71 << std::setw(10) <<
"Process" <<
G4endl;
99 G4cout << std::setw( 5) <<
"#Step#" <<
" "
100 << std::setw( 6) <<
"X" <<
" "
101 << std::setw( 6) <<
"Y" <<
" "
102 << std::setw( 6) <<
"Z" <<
" "
103 << std::setw( 9) <<
"KineE" <<
" "
104 << std::setw( 9) <<
"dEStep" <<
" "
105 << std::setw(10) <<
"StepLeng"
106 << std::setw(10) <<
"TrakLeng"
107 << std::setw(10) <<
"Volume" <<
" "
108 << std::setw(10) <<
"Process" <<
G4endl;
126 G4cout <<
" " << std::setw(10) << procName;
130 const std::vector<const G4Track*>* secondary
132 size_t nbtrk = (*secondary).size();
134 G4cout <<
"\n :----- List of secondaries ----------------" <<
G4endl;
136 for (
size_t lp=0; lp<(*secondary).size(); lp++) {
139 << (*secondary)[lp]->GetDefinition()->GetParticleName()
142 <<
G4BestUnit((*secondary)[lp]->GetKineticEnergy(),
"Energy")
145 <<
G4BestUnit((*secondary)[lp]->GetGlobalTime(),
"Time");
149 G4cout <<
" :------------------------------------------\n" <<
G4endl;
G4double GetKineticEnergy() const
const std::vector< const G4Track * > * GetSecondaryInCurrentStep() const
virtual void TrackingStarted()
G4int GetCurrentStepNumber() const
G4double GetTrackLength() const
G4double GetStepLength() const
const G4String & GetProcessName() const
const G4ThreeVector & GetPosition() const
G4double GetTotalEnergyDeposit() const
G4StepPoint * GetPostStepPoint() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
const G4VProcess * GetProcessDefinedStep() const
const G4String & GetName() const
G4VPhysicalVolume * GetVolume() const