54 theSDName.push_back(
G4String(
"ConcreteSD"));
70 return new B01Run(theSDName);
93 for (
G4int i = 0; i < (
G4int)theSDName.size(); i++ ){
122 G4cout <<
"=============================================================" <<
G4endl;
124 G4cout <<
"=============================================================" <<
G4endl;
126 std::ostream *myout = &
G4cout;
139 if ( !SumCollisions ) SumCollisions =
new G4double(0.0);
140 if ( !SumCollWeight ) SumCollWeight =
new G4double(0.0);
141 if ( !Populations ) Populations =
new G4double(0.0);
142 if ( !TrackEnters ) TrackEnters =
new G4double(0.0);
143 if ( !SLs ) SLs =
new G4double(0.0);
144 if ( !SLWs ) SLWs =
new G4double(0.0);
145 if ( !SLWEs ) SLWEs =
new G4double(0.0);
146 if ( !SLW_Vs ) SLW_Vs =
new G4double(0.0);
147 if ( !SLWE_Vs ) SLWE_Vs =
new G4double(0.0);
151 if ( *SLW_Vs !=0. ) NumWeightedEnergy = (*SLWE_Vs)/(*SLW_Vs);
152 if ( *SLWs !=0. ) FluxWeightedEnergy = (*SLWEs)/(*SLWs);
153 if ( *SLs !=0. ) AverageTrackWeight = (*SLWs)/(*SLs);
156 << std::setw(FieldValue) << cname <<
" |"
157 << std::setw(FieldValue) << (*TrackEnters) <<
" |"
158 << std::setw(FieldValue) << (*Populations) <<
" |"
159 << std::setw(FieldValue) << (*SumCollisions) <<
" |"
160 << std::setw(FieldValue) << (*SumCollWeight) <<
" |"
161 << std::setw(FieldValue) << NumWeightedEnergy <<
" |"
162 << std::setw(FieldValue) << FluxWeightedEnergy <<
" |"
163 << std::setw(FieldValue) << AverageTrackWeight <<
" |"
164 << std::setw(FieldValue) << (*SLs) <<
" |"
165 << std::setw(FieldValue) << (*SLWs) <<
" |"
166 << std::setw(FieldValue) << (*SLW_Vs) <<
" |"
167 << std::setw(FieldValue) << (*SLWEs) <<
" |"
168 << std::setw(FieldValue) << (*SLWE_Vs) <<
" |"
171 G4cout <<
"============================================="<<
G4endl;
179 std::vector<G4String> vecScoreName;
180 vecScoreName.push_back(
"Tr.Entering");
181 vecScoreName.push_back(
"Population");
182 vecScoreName.push_back(
"Collisions");
183 vecScoreName.push_back(
"Coll*WGT");
184 vecScoreName.push_back(
"NumWGTedE");
185 vecScoreName.push_back(
"FluxWGTedE");
186 vecScoreName.push_back(
"Av.Tr.WGT");
187 vecScoreName.push_back(
"SL");
188 vecScoreName.push_back(
"SLW");
189 vecScoreName.push_back(
"SLW_v");
190 vecScoreName.push_back(
"SLWE");
191 vecScoreName.push_back(
"SLWE_v");
197 *out << std::setw(FieldValue) <<
"Volume" <<
" |";
198 for (std::vector<G4String>::iterator it = vecScoreName.begin();
199 it != vecScoreName.end(); it++) {
205 *out << std::setw(FieldValue) << (*it) <<
" |";
213 std::string
fname(
"");
214 G4int k = n - name.size();
218 fname += std::string(k,c);
221 fname = std::string(k,c);