![]() |
SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
|
A subsystem's self-description: everything the assembler needs. More...
#include <SubsystemDescriptor.h>
Public Attributes | |
| const char * | name |
| registry key / CLI name, e.g. "Calorimeter" | |
| const char * | node |
| GeoNameTag, e.g. "/SHiP/calorimeter". | |
| int | id |
| GeoIdentifierTag. | |
| double | x_mm |
| placement translation X (mm) | |
| double | y_mm |
| placement translation Y (mm) | |
| double | z_mm |
| placement translation Z, beam direction (mm) | |
| bool | isWorld = false |
| true for the mother/world volume (the cavern) | |
A subsystem's self-description: everything the assembler needs.
This is the "required input to the geometry builder" that each subsystem yields about itself. It is a plain data type with no GeoModel or standard- library dependency, so it is cheap to include from the factory headers (which only need it as the return type of descriptor()). The registry machinery that consumes it lives in SubsystemRegistry.h, included by the factory implementations.
Translations are in millimetres from the world origin.
| int SHiP::geometry::SubsystemDescriptor::id |
GeoIdentifierTag.
| bool SHiP::geometry::SubsystemDescriptor::isWorld = false |
true for the mother/world volume (the cavern)
| const char* SHiP::geometry::SubsystemDescriptor::name |
registry key / CLI name, e.g. "Calorimeter"
| const char* SHiP::geometry::SubsystemDescriptor::node |
GeoNameTag, e.g. "/SHiP/calorimeter".
| double SHiP::geometry::SubsystemDescriptor::x_mm |
placement translation X (mm)
| double SHiP::geometry::SubsystemDescriptor::y_mm |
placement translation Y (mm)
| double SHiP::geometry::SubsystemDescriptor::z_mm |
placement translation Z, beam direction (mm)