46 : fWorld(worldvolume),
47 fPlacer(particlename),
49 fDeleteIalg( ( ! ialg) ),
50 fIalgorithm(( (fDeleteIalg) ?
52 fImportanceProcess(0),
59 if (fImportanceProcess)
62 delete fImportanceProcess;
73 G4cout <<
" entering importance configure, paraflag " << paraflag <<
G4endl;
80 G4cout <<
" creating importance process, paraflag is: " << paraflag <<
G4endl;
84 terminator,
"ImportanceProcess",paraflag);
85 if (!fImportanceProcess)
87 G4Exception(
"G4ImportanceConfigurator::Configure()",
89 "Failed allocation of G4ImportanceProcess !");
100 return fImportanceProcess;
G4DLLIMPORT std::ostream G4cout
G4ImportanceConfigurator(G4VPhysicalVolume *worldvolume, const G4String &particlename, G4VIStore &istore, const G4VImportanceAlgorithm *ialg, G4bool paraflag)
virtual void Configure(G4VSamplerConfigurator *preConf)
virtual const G4VTrackTerminator * GetTrackTerminator() const
virtual ~G4ImportanceConfigurator()
void SetParallelWorld(G4String parallelWorldName)
virtual void AddProcessAsSecondDoIt(G4VProcess *process)
virtual void RemoveProcess(G4VProcess *process)
virtual const G4VTrackTerminator * GetTrackTerminator() const =0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)