54 theSDName.push_back(
G4String(
"ConcreteSD"));
70 return new B02Run(theSDName);
93 for (
G4int i = 0; i < (
G4int)theSDName.size(); i++ ){
123 G4cout <<
"=============================================================" <<
G4endl;
125 G4cout <<
"=============================================================" <<
G4endl;
127 std::ostream *myout = &
G4cout;
140 if ( !SumCollisions ) SumCollisions =
new G4double(0.0);
141 if ( !SumCollWeight ) SumCollWeight =
new G4double(0.0);
142 if ( !Populations ) Populations =
new G4double(0.0);
143 if ( !TrackEnters ) {
G4cout <<
" NO TRACKS - WHY? " <<
G4endl; TrackEnters =
new G4double(0.0);}
144 if ( !SLs ) SLs =
new G4double(0.0);
145 if ( !SLWs ) SLWs =
new G4double(0.0);
146 if ( !SLWEs ) SLWEs =
new G4double(0.0);
147 if ( !SLW_Vs ) SLW_Vs =
new G4double(0.0);
148 if ( !SLWE_Vs ) SLWE_Vs =
new G4double(0.0);
152 if ( *SLW_Vs !=0. ) NumWeightedEnergy = (*SLWE_Vs)/(*SLW_Vs);
153 if ( *SLWs !=0. ) FluxWeightedEnergy = (*SLWEs)/(*SLWs);
154 if ( *SLs !=0. ) AverageTrackWeight = (*SLWs)/(*SLs);
157 << std::setw(FieldValue) << cname <<
" |"
158 << std::setw(FieldValue) << (*TrackEnters) <<
" |"
159 << std::setw(FieldValue) << (*Populations) <<
" |"
160 << std::setw(FieldValue) << (*SumCollisions) <<
" |"
161 << std::setw(FieldValue) << (*SumCollWeight) <<
" |"
162 << std::setw(FieldValue) << NumWeightedEnergy <<
" |"
163 << std::setw(FieldValue) << FluxWeightedEnergy <<
" |"
164 << std::setw(FieldValue) << AverageTrackWeight <<
" |"
165 << std::setw(FieldValue) << (*SLs) <<
" |"
166 << std::setw(FieldValue) << (*SLWs) <<
" |"
167 << std::setw(FieldValue) << (*SLW_Vs) <<
" |"
168 << std::setw(FieldValue) << (*SLWEs) <<
" |"
169 << std::setw(FieldValue) << (*SLWE_Vs) <<
" |"
172 G4cout <<
"============================================="<<
G4endl;
180 std::vector<G4String> vecScoreName;
181 vecScoreName.push_back(
"Tr.Entering");
182 vecScoreName.push_back(
"Population");
183 vecScoreName.push_back(
"Collisions");
184 vecScoreName.push_back(
"Coll*WGT");
185 vecScoreName.push_back(
"NumWGTedE");
186 vecScoreName.push_back(
"FluxWGTedE");
187 vecScoreName.push_back(
"Av.Tr.WGT");
188 vecScoreName.push_back(
"SL");
189 vecScoreName.push_back(
"SLW");
190 vecScoreName.push_back(
"SLW_v");
191 vecScoreName.push_back(
"SLWE");
192 vecScoreName.push_back(
"SLWE_v");
198 *out << std::setw(FieldValue) <<
"Volume" <<
" |";
199 for (std::vector<G4String>::iterator it = vecScoreName.begin();
200 it != vecScoreName.end(); it++) {
206 *out << std::setw(FieldValue) << (*it) <<
" |";
214 std::string
fname(
"");
215 G4int k = n - name.size();
219 fname += std::string(k,c);
222 fname = std::string(k,c);