134 "\n--------------------End of Global Run-----------------------" <<
142 "\n--------------------End of Local Run------------------------" <<
148 G4cout <<
"============================================================="
150 G4cout <<
"============================================================="
153 std::ostream *myout = &
G4cout;
156 for (
G4int iz = 0; iz < 20; iz++){
157 G4double* SumCollisions = (*Collisions)[iz];
158 G4double* SumCollWeight = (*CollWeight)[iz];
159 G4double* Populations = (*Population)[iz];
160 G4double* TrackEnters = (*TrackEnter)[iz];
166 if ( !SumCollisions ) SumCollisions =
new G4double(0.0);
167 if ( !SumCollWeight ) SumCollWeight =
new G4double(0.0);
168 if ( !Populations ) Populations =
new G4double(0.0);
169 if ( !TrackEnters ) TrackEnters =
new G4double(0.0);
170 if ( !SLs ) SLs =
new G4double(0.0);
171 if ( !SLWs ) SLWs =
new G4double(0.0);
172 if ( !SLWEs ) SLWEs =
new G4double(0.0);
173 if ( !SLW_Vs ) SLW_Vs =
new G4double(0.0);
174 if ( !SLWE_Vs ) SLWE_Vs =
new G4double(0.0);
178 if ( *SLW_Vs !=0. ) NumWeightedEnergy = (*SLWE_Vs)/(*SLW_Vs);
179 if ( *SLWs !=0. ) FluxWeightedEnergy = (*SLWEs)/(*SLWs);
180 if ( *SLs !=0. ) AverageTrackWeight = (*SLWs)/(*SLs);
184 << std::setw(
fFieldValue) << (*TrackEnters) <<
" |"
185 << std::setw(
fFieldValue) << (*Populations) <<
" |"
186 << std::setw(
fFieldValue) << (*SumCollisions) <<
" |"
187 << std::setw(
fFieldValue) << (*SumCollWeight) <<
" |"
188 << std::setw(
fFieldValue) << NumWeightedEnergy <<
" |"
189 << std::setw(
fFieldValue) << FluxWeightedEnergy <<
" |"
190 << std::setw(
fFieldValue) << AverageTrackWeight <<
" |"
198 G4cout <<
"============================================="<<
G4endl;
206 std::vector<G4String> vecScoreName;
207 vecScoreName.push_back(
"Tr.Entering");
208 vecScoreName.push_back(
"Population");
209 vecScoreName.push_back(
"Collisions");
210 vecScoreName.push_back(
"Coll*WGT");
211 vecScoreName.push_back(
"NumWGTedE");
212 vecScoreName.push_back(
"FluxWGTedE");
213 vecScoreName.push_back(
"Av.Tr.WGT");
214 vecScoreName.push_back(
"SL");
215 vecScoreName.push_back(
"SLW");
216 vecScoreName.push_back(
"SLW_v");
217 vecScoreName.push_back(
"SLWE");
218 vecScoreName.push_back(
"SLWE_v");
224 *out << std::setw(
fFieldValue) <<
"Volume" <<
" |";
225 for (std::vector<G4String>::iterator
it = vecScoreName.begin();
226 it != vecScoreName.end();
it++) {
242 std::string
fname(
"");
243 G4int k = n - name.size();
247 fname += std::string(k,c);
250 fname = std::string(k,c);