|
SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
|
Central material manager for the SHiP detector. More...
#include <SHiPMaterials.h>
Public Member Functions | |
| SHiPMaterials () | |
| ~SHiPMaterials ()=default | |
| SHiPMaterials (const SHiPMaterials &)=delete | |
| SHiPMaterials & | operator= (const SHiPMaterials &)=delete |
| GeoMaterial * | getMaterial (std::string_view name) const |
| Get a material by name. | |
| GeoMaterial * | requireMaterial (std::string_view name) const |
| Get a material by name, throwing if not found. | |
Central material manager for the SHiP detector.
This class provides access to all materials and elements used in the SHiP detector geometry. Materials are created once and shared across all subsystem factories.
| SHiPGeometry::SHiPMaterials::SHiPMaterials | ( | ) |
|
default |
|
delete |
| GeoMaterial * SHiPGeometry::SHiPMaterials::getMaterial | ( | std::string_view | name | ) | const |
Get a material by name.
| name | Material name (e.g., "Air", "Concrete", "Tungsten") |
|
delete |
| GeoMaterial * SHiPGeometry::SHiPMaterials::requireMaterial | ( | std::string_view | name | ) | const |
Get a material by name, throwing if not found.
| name | Material name (e.g., "Air", "Concrete", "Tungsten") |
| std::runtime_error | if material not found |