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;
G4WeightCutOffConfigurator * fWeightCutOffConfigurator
virtual G4bool IsConfigured() const
void SetWorld(const G4VPhysicalVolume *world)
virtual void Configure(G4VSamplerConfigurator *preConf)=0
G4Configurators fConfigurators
G4VWeightWindowStore * fWWStore
virtual void PrepareWeightWindow(G4VWeightWindowStore *wwstore, G4VWeightWindowAlgorithm *wwAlg, G4PlaceOfAction placeOfAction)
G4Navigator * GetNavigatorForTracking() const
G4GeometrySampler(G4VPhysicalVolume *worldvolume, const G4String &particlename)
void SetParallel(G4bool paraflag)
void SetWorldName(G4String Name)
virtual const G4VPhysicalVolume & GetWorldVolume() const =0
virtual void ClearSampling()
G4GLOB_DLL std::ostream G4cout
G4ImportanceConfigurator * fImportanceConfigurator
const G4VPhysicalVolume * fWorld
virtual void AddProcess()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4TransportationManager * GetTransportationManager()
virtual void Configure(G4VSamplerConfigurator *preConf)
virtual void PrepareWeightRoulett(G4double wsurvive, G4double wlimit, G4double isource)
void SetParticle(const G4String &particlename)
G4WeightWindowConfigurator * fWeightWindowConfigurator
virtual const G4VPhysicalVolume & GetWorldVolume() const =0
G4VPhysicalVolume * GetWorldVolume() const
virtual void PrepareImportanceSampling(G4VIStore *istore, const G4VImportanceAlgorithm *ialg)
virtual ~G4GeometrySampler()