GeoMaterial2G4: make material factories thread-safe
Add a mutex to the static material caches in Geo2G4MaterialFactory
and
Geo2G4MatPropTableFactory
. Also change to (faster) std::unordered_map
and
remove singleton.
Add a mutex to the static material caches in Geo2G4MaterialFactory
and
Geo2G4MatPropTableFactory
. Also change to (faster) std::unordered_map
and
remove singleton.