52 : fParticleName(particlename),
54 fImportanceConfigurator(0),
57 fWeightCutOffConfigurator(0),
59 fWeightWindowConfigurator(0),
71 : fParticleName(particlename),
72 fWorldName(worldName),
73 fImportanceConfigurator(0),
76 fWeightCutOffConfigurator(0),
78 fWeightWindowConfigurator(0),
131 G4cout <<
"WARNING - G4GeometrySampler::IsConfigured()"
132 <<
" Some initalization exists, use ClearSampling()"
133 <<
" before a new initialization !" <<
G4endl;
174 G4Exception(
"G4GeometrySampler::PrepareImportanceSampling()",
176 "Failed allocation of G4ImportanceConfigurator !");
186 G4cout <<
"G4GeometrySampler:: preparing weight roulette" <<
G4endl;
205 G4Exception(
"G4GeometrySampler::PrepareWeightRoulett()",
207 "Failed allocation of G4WeightCutOffConfigurator !");
217 G4cout <<
"G4GeometrySampler:: preparing weight window" <<
G4endl;
278 #ifdef G4MULTITHREADED
279 G4cout <<
" make sure AddProcess() is invoked for biasing!!! " <<
G4endl;
G4WeightWindowConfigurator * fWeightWindowConfigurator
virtual G4bool IsConfigured() const
virtual void PrepareWeightRoulett(G4double wsurvive, G4double wlimit, G4double isource)
virtual ~G4GeometrySampler()
virtual void PrepareImportanceSampling(G4VIStore *istore, const G4VImportanceAlgorithm *ialg)
virtual void Configure(G4VSamplerConfigurator *preConf)
G4WeightCutOffConfigurator * fWeightCutOffConfigurator
G4ImportanceConfigurator * fImportanceConfigurator
G4Navigator * GetNavigatorForTracking() const
virtual const G4VPhysicalVolume & GetWorldVolume() const =0
virtual void PrepareWeightWindow(G4VWeightWindowStore *wwstore, G4VWeightWindowAlgorithm *wwAlg, G4PlaceOfAction placeOfAction)
virtual void ClearSampling()
G4VWeightWindowStore * fWWStore
void SetWorldName(const G4String &Name)
G4GeometrySampler(G4VPhysicalVolume *worldvolume, const G4String &particlename)
const G4VPhysicalVolume * fWorld
static G4TransportationManager * GetTransportationManager()
void SetParallel(G4bool paraflag)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
virtual void AddProcess()
G4GLOB_DLL std::ostream G4cout
void SetParticle(const G4String &particlename)
void SetWorld(const G4VPhysicalVolume *world)
virtual void Configure(G4VSamplerConfigurator *preConf)=0
G4VPhysicalVolume * GetWorldVolume() const
G4Configurators fConfigurators
virtual const G4VPhysicalVolume & GetWorldVolume() const =0