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