Geant4-11
|
#include <G4WeightWindowStore.hh>
Public Member Functions | |
void | AddLowerWeights (const G4GeometryCell &gCell, const std::vector< G4double > &lowerWeights) |
void | AddUpperEboundLowerWeightPairs (const G4GeometryCell &gCell, const G4UpperEnergyToLowerWeightMap &enWeMap) |
void | Clear () |
virtual G4double | GetLowerWeight (const G4GeometryCell &gCell, G4double partEnergy) const |
virtual const G4VPhysicalVolume * | GetParallelWorldVolumePointer () const |
virtual const G4VPhysicalVolume & | GetWorldVolume () const |
virtual G4bool | IsKnown (const G4GeometryCell &gCell) const |
void | SetGeneralUpperEnergyBounds (const std::set< G4double, std::less< G4double > > &enBounds) |
void | SetParallelWorldVolume (const G4String ¶Name) |
void | SetWorldVolume () |
Static Public Member Functions | |
static G4WeightWindowStore * | GetInstance () |
static G4WeightWindowStore * | GetInstance (const G4String &ParallelWorldName) |
Protected Member Functions | |
G4WeightWindowStore () | |
G4WeightWindowStore (const G4String &ParallelWorldName) | |
~G4WeightWindowStore () | |
Private Member Functions | |
void | Error (const G4String &m) const |
G4bool | IsInWorld (const G4VPhysicalVolume &) const |
void | SetInternalIterator (const G4GeometryCell &gCell) const |
Private Attributes | |
G4GeometryCellWeight | fCellToUpEnBoundLoWePairsMap |
G4GeometryCellWeight::const_iterator | fCurrentIterator |
std::set< G4double, std::less< G4double > > | fGeneralUpperEnergyBounds |
const G4VPhysicalVolume * | fWorldVolume = nullptr |
Static Private Attributes | |
static G4ThreadLocal G4WeightWindowStore * | fInstance = nullptr |
Definition at line 45 of file G4WeightWindowStore.hh.
|
explicitprotected |
Definition at line 43 of file G4WeightWindowStore.cc.
Referenced by GetInstance().
|
explicitprotected |
Definition at line 53 of file G4WeightWindowStore.cc.
|
protected |
Definition at line 63 of file G4WeightWindowStore.cc.
void G4WeightWindowStore::AddLowerWeights | ( | const G4GeometryCell & | gCell, |
const std::vector< G4double > & | lowerWeights | ||
) |
Definition at line 163 of file G4WeightWindowStore.cc.
References Error(), fCellToUpEnBoundLoWePairsMap, fGeneralUpperEnergyBounds, IsKnown(), and anonymous_namespace{G4QuasiElRatios.cc}::map.
void G4WeightWindowStore::AddUpperEboundLowerWeightPairs | ( | const G4GeometryCell & | gCell, |
const G4UpperEnergyToLowerWeightMap & | enWeMap | ||
) |
Definition at line 195 of file G4WeightWindowStore.cc.
References Error(), fCellToUpEnBoundLoWePairsMap, and IsKnown().
void G4WeightWindowStore::Clear | ( | ) |
Definition at line 131 of file G4WeightWindowStore.cc.
References fCellToUpEnBoundLoWePairsMap.
|
private |
Definition at line 222 of file G4WeightWindowStore.cc.
References FatalException, and G4Exception().
Referenced by AddLowerWeights(), AddUpperEboundLowerWeightPairs(), GetLowerWeight(), and SetGeneralUpperEnergyBounds().
|
static |
Definition at line 233 of file G4WeightWindowStore.cc.
References fInstance, and G4WeightWindowStore().
Referenced by G4WeightWindowBiasing::ConstructProcess().
|
static |
Definition at line 247 of file G4WeightWindowStore.cc.
References fInstance, G4cout, G4endl, and G4WeightWindowStore().
|
virtual |
Implements G4VWeightWindowStore.
Definition at line 68 of file G4WeightWindowStore.cc.
References Error(), fCellToUpEnBoundLoWePairsMap, fCurrentIterator, G4endl, and SetInternalIterator().
|
virtual |
Definition at line 157 of file G4WeightWindowStore.cc.
References fWorldVolume.
|
virtual |
Implements G4VWeightWindowStore.
Definition at line 152 of file G4WeightWindowStore.cc.
References fWorldVolume.
|
private |
Definition at line 107 of file G4WeightWindowStore.cc.
References fWorldVolume, G4VPhysicalVolume::GetLogicalVolume(), and G4LogicalVolume::IsAncestor().
Referenced by IsKnown().
|
virtual |
Implements G4VWeightWindowStore.
Definition at line 118 of file G4WeightWindowStore.cc.
References fCellToUpEnBoundLoWePairsMap, fCurrentIterator, G4GeometryCell::GetPhysicalVolume(), IsInWorld(), and SetInternalIterator().
Referenced by AddLowerWeights(), and AddUpperEboundLowerWeightPairs().
void G4WeightWindowStore::SetGeneralUpperEnergyBounds | ( | const std::set< G4double, std::less< G4double > > & | enBounds | ) |
Definition at line 211 of file G4WeightWindowStore.cc.
References Error(), and fGeneralUpperEnergyBounds.
|
private |
Definition at line 101 of file G4WeightWindowStore.cc.
References fCellToUpEnBoundLoWePairsMap, and fCurrentIterator.
Referenced by GetLowerWeight(), and IsKnown().
void G4WeightWindowStore::SetParallelWorldVolume | ( | const G4String & | paraName | ) |
Definition at line 145 of file G4WeightWindowStore.cc.
References fWorldVolume, G4TransportationManager::GetParallelWorld(), and G4TransportationManager::GetTransportationManager().
void G4WeightWindowStore::SetWorldVolume | ( | ) |
Definition at line 136 of file G4WeightWindowStore.cc.
References fWorldVolume, G4cout, G4endl, G4VPhysicalVolume::GetName(), G4TransportationManager::GetNavigatorForTracking(), G4TransportationManager::GetTransportationManager(), and G4Navigator::GetWorldVolume().
|
private |
Definition at line 106 of file G4WeightWindowStore.hh.
Referenced by AddLowerWeights(), AddUpperEboundLowerWeightPairs(), Clear(), GetLowerWeight(), IsKnown(), and SetInternalIterator().
|
mutableprivate |
Definition at line 107 of file G4WeightWindowStore.hh.
Referenced by GetLowerWeight(), IsKnown(), and SetInternalIterator().
Definition at line 105 of file G4WeightWindowStore.hh.
Referenced by AddLowerWeights(), and SetGeneralUpperEnergyBounds().
|
staticprivate |
Definition at line 109 of file G4WeightWindowStore.hh.
Referenced by GetInstance().
|
private |
Definition at line 103 of file G4WeightWindowStore.hh.
Referenced by GetParallelWorldVolumePointer(), GetWorldVolume(), IsInWorld(), SetParallelWorldVolume(), and SetWorldVolume().