|
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 (const std::string &name) const |
| Get a material by name. | |
| GeoMaterial * | requireMaterial (const std::string &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 | ( | const std::string & | name | ) | const |
Get a material by name.
| name | Material name (e.g., "Air", "Concrete", "Tungsten") |
|
delete |
| GeoMaterial * SHiPGeometry::SHiPMaterials::requireMaterial | ( | const std::string & | 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 |