136 "\n--------------------End of Global Run-----------------------" <<
144 "\n--------------------End of Local Run------------------------" <<
150 G4cout <<
"============================================================="
152 G4cout <<
"============================================================="
155 std::ostream *myout = &
G4cout;
158 for (
G4int iz = 0; iz < 20; iz++){
159 G4double* SumCollisions = (*Collisions)[iz];
160 G4double* SumCollWeight = (*CollWeight)[iz];
161 G4double* Populations = (*Population)[iz];
162 G4double* TrackEnters = (*TrackEnter)[iz];
168 if ( !SumCollisions ) SumCollisions =
new G4double(0.0);
169 if ( !SumCollWeight ) SumCollWeight =
new G4double(0.0);
170 if ( !Populations ) Populations =
new G4double(0.0);
171 if ( !TrackEnters ) TrackEnters =
new G4double(0.0);
172 if ( !SLs ) SLs =
new G4double(0.0);
173 if ( !SLWs ) SLWs =
new G4double(0.0);
174 if ( !SLWEs ) SLWEs =
new G4double(0.0);
175 if ( !SLW_Vs ) SLW_Vs =
new G4double(0.0);
176 if ( !SLWE_Vs ) SLWE_Vs =
new G4double(0.0);
180 if ( *SLW_Vs !=0. ) NumWeightedEnergy = (*SLWE_Vs)/(*SLW_Vs);
181 if ( *SLWs !=0. ) FluxWeightedEnergy = (*SLWEs)/(*SLWs);
182 if ( *SLs !=0. ) AverageTrackWeight = (*SLWs)/(*SLs);
186 << std::setw(
fFieldValue) << (*TrackEnters) <<
" |"
187 << std::setw(
fFieldValue) << (*Populations) <<
" |"
188 << std::setw(
fFieldValue) << (*SumCollisions) <<
" |"
189 << std::setw(
fFieldValue) << (*SumCollWeight) <<
" |"
190 << std::setw(
fFieldValue) << NumWeightedEnergy <<
" |"
191 << std::setw(
fFieldValue) << FluxWeightedEnergy <<
" |"
192 << std::setw(
fFieldValue) << AverageTrackWeight <<
" |"
200 G4cout <<
"============================================="<<
G4endl;
208 std::vector<G4String> vecScoreName;
209 vecScoreName.push_back(
"Tr.Entering");
210 vecScoreName.push_back(
"Population");
211 vecScoreName.push_back(
"Collisions");
212 vecScoreName.push_back(
"Coll*WGT");
213 vecScoreName.push_back(
"NumWGTedE");
214 vecScoreName.push_back(
"FluxWGTedE");
215 vecScoreName.push_back(
"Av.Tr.WGT");
216 vecScoreName.push_back(
"SL");
217 vecScoreName.push_back(
"SLW");
218 vecScoreName.push_back(
"SLW_v");
219 vecScoreName.push_back(
"SLWE");
220 vecScoreName.push_back(
"SLWE_v");
226 *out << std::setw(
fFieldValue) <<
"Volume" <<
" |";
227 for (std::vector<G4String>::iterator
it = vecScoreName.begin();
228 it != vecScoreName.end();
it++) {
244 std::string
fname(
"");
245 G4int k = n - name.size();
249 fname += std::string(k,c);
252 fname = std::string(k,c);