29 #include "SteppingVerbose.hh"
57 G4cout << std::setw( 5) <<
"Step#" <<
" "
58 << std::setw( 6) <<
"X" <<
" "
59 << std::setw( 6) <<
"Y" <<
" "
60 << std::setw( 6) <<
"Z" <<
" "
61 << std::setw( 9) <<
"KineE" <<
" "
62 << std::setw( 9) <<
"dEStep" <<
" "
63 << std::setw(10) <<
"StepLeng"
64 << std::setw(10) <<
"TrakLeng"
65 << std::setw(10) <<
"Volume" <<
" "
66 << std::setw(10) <<
"Process" <<
G4endl;
94 G4cout << std::setw( 5) <<
"#Step#" <<
" "
95 << std::setw( 6) <<
"X" <<
" "
96 << std::setw( 6) <<
"Y" <<
" "
97 << std::setw( 6) <<
"Z" <<
" "
98 << std::setw( 9) <<
"KineE" <<
" "
99 << std::setw( 9) <<
"dEStep" <<
" "
100 << std::setw(10) <<
"StepLeng"
101 << std::setw(10) <<
"TrakLeng"
102 << std::setw(10) <<
"Volume" <<
" "
103 << std::setw(10) <<
"Process" <<
G4endl;
121 G4cout <<
" " << std::setw(10) << procName;
125 const std::vector<const G4Track*>* secondary
127 size_t nbtrk = (*secondary).size();
129 G4cout <<
"\n :----- List of secondaries ----------------" <<
G4endl;
131 for (
size_t lp=0; lp<(*secondary).size(); lp++) {
134 << (*secondary)[lp]->GetDefinition()->GetParticleName()
137 <<
G4BestUnit((*secondary)[lp]->GetKineticEnergy(),
"Energy")
140 <<
G4BestUnit((*secondary)[lp]->GetGlobalTime(),
"Time");
144 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