54 G4int prec = G4cout.precision(3);
56 if( verboseLevel >= 1 ){
57 if( verboseLevel >= 4 ) VerboseTrack();
58 if( verboseLevel >= 3 ){
60 G4cout << std::setw( 5) <<
"#Step#" <<
" "
61 << std::setw( 6) <<
"X" <<
" "
62 << std::setw( 6) <<
"Y" <<
" "
63 << std::setw( 6) <<
"Z" <<
" "
64 << std::setw( 9) <<
"KineE" <<
" "
65 << std::setw( 9) <<
"dEStep" <<
" "
66 << std::setw(10) <<
"StepLeng"
67 << std::setw(10) <<
"TrakLeng"
68 << std::setw(10) <<
"Volume" <<
" "
69 << std::setw(10) <<
"Process" << G4endl;
72 G4cout << std::setw(5) << fTrack->GetCurrentStepNumber() <<
" "
73 << std::setw(6) <<
G4BestUnit(fTrack->GetPosition().x(),
"Length")
74 << std::setw(6) <<
G4BestUnit(fTrack->GetPosition().y(),
"Length")
75 << std::setw(6) <<
G4BestUnit(fTrack->GetPosition().z(),
"Length")
76 << std::setw(6) <<
G4BestUnit(fTrack->GetKineticEnergy(),
"Energy")
77 << std::setw(6) <<
G4BestUnit(fStep->GetTotalEnergyDeposit(),
"Energy")
78 << std::setw(6) <<
G4BestUnit(fStep->GetStepLength(),
"Length")
79 << std::setw(6) <<
G4BestUnit(fTrack->GetTrackLength(),
"Length")
83 if( fTrack->GetNextVolume() != 0 ) {
84 G4cout << std::setw(10) << fTrack->GetVolume()->GetName();
86 G4cout << std::setw(10) <<
"OutOfWorld";
89 if(fStep->GetPostStepPoint()->GetProcessDefinedStep() != NULL){
91 << std::setw(10) << fStep->GetPostStepPoint()->GetProcessDefinedStep()
94 G4cout <<
" UserLimit";
99 if( verboseLevel == 2 ){
100 G4int tN2ndariesTot = fN2ndariesAtRestDoIt +
101 fN2ndariesAlongStepDoIt +
102 fN2ndariesPostStepDoIt;
104 G4cout <<
" :----- List of 2ndaries - "
105 <<
"#SpawnInStep=" << std::setw(3) << tN2ndariesTot
106 <<
"(Rest=" << std::setw(2) << fN2ndariesAtRestDoIt
107 <<
",Along=" << std::setw(2) << fN2ndariesAlongStepDoIt
108 <<
",Post=" << std::setw(2) << fN2ndariesPostStepDoIt
110 <<
"#SpawnTotal=" << std::setw(3) << (*fSecondary).size()
111 <<
" ---------------"
114 for(
size_t lp1=(*fSecondary).size()-tN2ndariesTot;
115 lp1<(*fSecondary).size(); lp1++){
118 <<
G4BestUnit((*fSecondary)[lp1]->GetPosition().x(),
"Length")
120 <<
G4BestUnit((*fSecondary)[lp1]->GetPosition().y(),
"Length")
122 <<
G4BestUnit((*fSecondary)[lp1]->GetPosition().z(),
"Length")
124 <<
G4BestUnit((*fSecondary)[lp1]->GetKineticEnergy(),
"Energy")
126 << (*fSecondary)[lp1]->GetDefinition()->GetParticleName();
130 G4cout <<
" :-----------------------------"
131 <<
"----------------------------------"
132 <<
"-- EndOf2ndaries Info ---------------"
138 G4cout.precision(prec);
145 G4int prec = G4cout.precision(3);
146 if( verboseLevel > 0 ){
148 G4cout << std::setw( 5) <<
"Step#" <<
" "
149 << std::setw( 6) <<
"X" <<
" "
150 << std::setw( 6) <<
"Y" <<
" "
151 << std::setw( 6) <<
"Z" <<
" "
152 << std::setw( 9) <<
"KineE" <<
" "
153 << std::setw( 9) <<
"dEStep" <<
" "
154 << std::setw(10) <<
"StepLeng"
155 << std::setw(10) <<
"TrakLeng"
156 << std::setw(10) <<
"Volume" <<
" "
157 << std::setw(10) <<
"Process" << G4endl;
159 G4cout << std::setw(5) << fTrack->GetCurrentStepNumber() <<
" "
160 << std::setw(6) <<
G4BestUnit(fTrack->GetPosition().x(),
"Length")
161 << std::setw(6) <<
G4BestUnit(fTrack->GetPosition().y(),
"Length")
162 << std::setw(6) <<
G4BestUnit(fTrack->GetPosition().z(),
"Length")
163 << std::setw(6) <<
G4BestUnit(fTrack->GetKineticEnergy(),
"Energy")
164 << std::setw(6) <<
G4BestUnit(fStep->GetTotalEnergyDeposit(),
"Energy")
165 << std::setw(6) <<
G4BestUnit(fStep->GetStepLength(),
"Length")
166 << std::setw(6) <<
G4BestUnit(fTrack->GetTrackLength(),
"Length")
169 if(fTrack->GetNextVolume()){
170 G4cout << std::setw(10) << fTrack->GetVolume()->GetName();
172 G4cout << std::setw(10) <<
"OutOfWorld";
174 G4cout <<
" initStep" << G4endl;
176 G4cout.precision(prec);