78 G4cout <<
"WARNING - Attempt to delete the assembly store"
79 <<
" while geometry closed !" <<
G4endl;
91#ifdef G4DEBUG_NAVIGATION
92 G4cout <<
"Deleting Assemblies ... ";
95 for(
auto pos=store->cbegin();
pos!=store->cend(); ++
pos)
102#ifdef G4DEBUG_NAVIGATION
103 if (store->size() < i-1)
104 {
G4cout <<
"No assembly deleted. Already deleted by user ?" <<
G4endl; }
176 if ((*i)->GetAssemblyID() == id) {
return *i; }
180 std::ostringstream message;
181 message <<
"Assembly NOT found in store !" <<
G4endl
182 <<
" Assembly " <<
id <<
" NOT found in store !" <<
G4endl
183 <<
" Returning NULL pointer.";
static const G4double pos
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
virtual ~G4AssemblyStore()
static G4AssemblyStore * GetInstance()
static void DeRegister(G4AssemblyVolume *pAssembly)
static G4AssemblyStore * fgInstance
static G4ThreadLocal G4VStoreNotifier * fgNotifier
static void SetNotifier(G4VStoreNotifier *pNotifier)
G4AssemblyVolume * GetAssembly(unsigned int id, G4bool verbose=true) const
static void Register(G4AssemblyVolume *pAssembly)
static G4ThreadLocal G4bool locked
static G4bool IsGeometryClosed()
virtual void NotifyRegistration()=0
virtual void NotifyDeRegistration()=0