46 ->GetNavigatorForTracking()->GetWorldVolume()),
47 fGeneralUpperEnergyBounds(),
48 fCellToUpEnBoundLoWePairsMap(),
49 fCurrentIterator(fCellToUpEnBoundLoWePairsMap.cend())
56 ->GetParallelWorld(ParallelWorldName)),
57 fGeneralUpperEnergyBounds(),
58 fCellToUpEnBoundLoWePairsMap(),
59 fCurrentIterator(fCellToUpEnBoundLoWePairsMap.cend())
76 Error(
"GetLowerWitgh() - Cell does not exist!");
82 for (
auto it = upEnLoWeiPairs.cbegin();
it != upEnLoWeiPairs.cend(); ++
it)
84 if (partEnergy < it->first)
86 lowerWeight =
it->second;
93 std::ostringstream err_mess;
94 err_mess <<
"GetLowerWitgh() - Couldn't find lower weight bound." <<
G4endl
95 <<
"Energy: " << partEnergy <<
".";
96 Error(err_mess.str());
165 const std::vector<G4double>& lowerWeights)
169 Error(
"AddLowerWeights() - No general upper energy limits set!");
173 Error(
"AddLowerWeights() - Cell already in the store.");
177 std::ostringstream err_mess;
178 err_mess <<
"AddLowerWeights() - Mismatch between "
179 <<
"number of lower weights (" << lowerWeights.size()
182 Error(err_mess.str());
189 map[*
it] = lowerWeights[i];
201 Error(
"AddUpperEboundLowerWeightPairs() - Cell already in the store.");
205 Error(
"AddUpperEboundLowerWeightPairs() - Cell already in the store.");
213 std::less<G4double> >& enBounds)
217 Error(
"SetGeneralUpperEnergyBounds() - Energy bounds already set.");
253 G4cout <<
"G4IStore:: Creating new Parallel IStore "
254 << ParallelWorldName <<
G4endl;