44 #ifdef G4MULTITHREADED
55 : fWorld(worldvolume),
56 fWorldName(worldvolume->GetName()),
57 fPlacer(particlename),
59 fDeleteIalg( ( ! ialg) ),
60 fIalgorithm(( (fDeleteIalg) ?
62 fImportanceProcess(0),
71 : fWorldName(worldvolumeName),
72 fPlacer(particlename),
74 fDeleteIalg( ( ! ialg) ),
75 fIalgorithm(( (fDeleteIalg) ?
77 fImportanceProcess(0),
100 G4cout <<
"G4ImportanceConfigurator:: entering importance configure, paraflag " <<
paraflag <<
G4endl;
108 #ifdef G4MULTITHREADED
114 terminator,
"ImportanceProcess",
paraflag);
118 G4Exception(
"G4ImportanceConfigurator::Configure()",
120 "Failed allocation of G4ImportanceProcess !");
125 #ifdef G4MULTITHREADED
143 G4cout <<
" G4ImportanceConfigurator:: setting world name: " << name <<
G4endl;
virtual const G4VTrackTerminator * GetTrackTerminator() const
G4ImportanceConfigurator(const G4VPhysicalVolume *worldvolume, const G4String &particlename, G4VIStore &istore, const G4VImportanceAlgorithm *ialg, G4bool paraflag)
G4ImportanceProcess * fImportanceProcess
G4Navigator * GetNavigatorForTracking() const
G4VPhysicalVolume * GetParallelWorld(const G4String &worldName)
virtual void Configure(G4VSamplerConfigurator *preConf)
#define G4MUTEX_INITIALIZER
void SetParallelWorld(const G4String ¶llelWorldName)
virtual void AddProcessAsSecondDoIt(G4VProcess *process)
void SetWorldName(const G4String &Name)
virtual void RemoveProcess(G4VProcess *process)
static G4TransportationManager * GetTransportationManager()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
const G4VImportanceAlgorithm * fIalgorithm
const G4VPhysicalVolume * fWorld
virtual ~G4ImportanceConfigurator()
G4GLOB_DLL std::ostream G4cout
virtual const G4VTrackTerminator * GetTrackTerminator() const =0
G4VPhysicalVolume * GetWorldVolume() const
const G4String & GetName() const