54 : fWorld(worldvolume),
55 fWorldName(worldvolume->GetName()),
56 fPlacer(particlename),
58 fDeleteIalg( ( ! ialg) ),
59 fIalgorithm(( (fDeleteIalg) ?
61 fImportanceProcess(0),
70: fWorldName(worldvolumeName),
71 fPlacer(particlename),
73 fDeleteIalg( ( ! ialg) ),
74 fIalgorithm(( (fDeleteIalg) ?
76 fImportanceProcess(0),
85 if (fImportanceProcess)
88 delete fImportanceProcess;
99 G4cout <<
"G4ImportanceConfigurator:: entering importance configure, paraflag " << paraflag <<
G4endl;
107#ifdef G4MULTITHREADED
113 terminator,
"ImportanceProcess",paraflag);
115 if (!fImportanceProcess)
117 G4Exception(
"G4ImportanceConfigurator::Configure()",
119 "Failed allocation of G4ImportanceProcess !");
124#ifdef G4MULTITHREADED
137 return fImportanceProcess;
142 G4cout <<
" G4ImportanceConfigurator:: setting world name: " << name <<
G4endl;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
#define G4MUTEX_INITIALIZER
G4GLOB_DLL std::ostream G4cout
G4ImportanceConfigurator(const G4VPhysicalVolume *worldvolume, const G4String &particlename, G4VIStore &istore, const G4VImportanceAlgorithm *ialg, G4bool paraflag)
void SetWorldName(const G4String &Name)
virtual void Configure(G4VSamplerConfigurator *preConf)
virtual const G4VTrackTerminator * GetTrackTerminator() const
virtual ~G4ImportanceConfigurator()
void SetParallelWorld(const G4String ¶llelWorldName)
G4VPhysicalVolume * GetWorldVolume() const
virtual void AddProcessAsSecondDoIt(G4VProcess *process)
virtual void RemoveProcess(G4VProcess *process)
G4VPhysicalVolume * GetParallelWorld(const G4String &worldName)
static G4TransportationManager * GetTransportationManager()
G4Navigator * GetNavigatorForTracking() const
const G4String & GetName() const
virtual const G4VTrackTerminator * GetTrackTerminator() const =0