#include <Geo2G4AssemblyFactory.h>
Definition at line 15 of file Geo2G4AssemblyFactory.h.
◆ Geo2G4AssemblyFactory()
Geo2G4AssemblyFactory::Geo2G4AssemblyFactory |
( |
| ) |
|
◆ Build()
Definition at line 17 of file Geo2G4AssemblyFactory.cxx.
20 const GeoLogVol*
theLog = thePhys->getLogVol();
23 if(thePhys->getNChildVols() == 0)
24 throw std::runtime_error(std::string(
"In GeoModel description the assembly ") +
theLog->getName()
25 + std::string(
" has no children!"));
33 auto pair =
m_assemblyMap.emplace(&(*thePhys), std::make_unique<Geo2G4AssemblyVolume> ());
34 return pair.first->second.get();
39 return it->second.get();
◆ m_assemblyMap
The documentation for this class was generated from the following files: