48 : fWorld(worldvolume),
49 fWorldName(worldvolume->GetName()),
50 fPlacer(particlename),
52 fDeleteIalg( ( ! ialg) ),
53 fIalgorithm(( (fDeleteIalg) ?
55 fImportanceProcess(0),
64 : fWorldName(worldvolumeName),
65 fPlacer(particlename),
67 fDeleteIalg( ( ! ialg) ),
68 fIalgorithm(( (fDeleteIalg) ?
70 fImportanceProcess(0),
79 if (fImportanceProcess)
82 delete fImportanceProcess;
93 G4cout <<
"G4ImportanceConfigurator:: entering importance configure, paraflag " << paraflag <<
G4endl;
103 terminator,
"ImportanceProcess",paraflag);
104 if (!fImportanceProcess)
106 G4Exception(
"G4ImportanceConfigurator::Configure()",
108 "Failed allocation of G4ImportanceProcess !");
123 return fImportanceProcess;
void SetParallelWorld(G4String parallelWorldName)
virtual void Configure(G4VSamplerConfigurator *preConf)
G4Navigator * GetNavigatorForTracking() const
virtual void AddProcessAsSecondDoIt(G4VProcess *process)
void SetWorldName(G4String Name)
G4ImportanceConfigurator(const G4VPhysicalVolume *worldvolume, const G4String &particlename, G4VIStore &istore, const G4VImportanceAlgorithm *ialg, G4bool paraflag)
virtual void RemoveProcess(G4VProcess *process)
virtual const G4VTrackTerminator * GetTrackTerminator() const =0
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4TransportationManager * GetTransportationManager()
G4VPhysicalVolume * GetParallelWorld(const G4String &worldName)
virtual const G4VTrackTerminator * GetTrackTerminator() const
virtual ~G4ImportanceConfigurator()
G4VPhysicalVolume * GetWorldVolume() const