76 return {.name =
"NeutrinoDetector",
77 .node =
"/SHiP/neutrino_detector",
81 .z_mm =
gm(25465.0 *
mm),
85 [[nodiscard]] GeoPhysVol*
build();
Central material manager for the SHiP detector.
Definition Materials.h:22
GeoPhysVol * build()
Build the SND geometry; returns the air container.
Definition NeutrinoDetectorFactory.cpp:413
static constexpr auto s_halfX
Bounding box of the sections: the HCAL's cross-section and the full 5.05 m length.
Definition NeutrinoDetectorFactory.h:128
static constexpr std::array< Section, 4 > k_sections
The container is the union of these boxes, so it follows the sub-detectors and the muon-shield iron c...
Definition NeutrinoDetectorFactory.h:103
NeutrinoDetectorFactory(Materials &materials)
Construct the factory against the shared materials catalogue.
Definition NeutrinoDetectorFactory.cpp:409
static constexpr auto s_halfY
Definition NeutrinoDetectorFactory.h:129
static constexpr SubsystemDescriptor descriptor()
This subsystem's self-description (name, node, id, placement).
Definition NeutrinoDetectorFactory.h:73
static constexpr auto s_halfZ
Definition NeutrinoDetectorFactory.h:130
~NeutrinoDetectorFactory()=default
Defaulted destructor.
mp_units::quantity< mm > LengthMm
Spellings for struct members and function parameters.
Definition Units.h:39
constexpr double gm(mp_units::quantity< U, Rep > q)
Length quantity -> GeoModel raw double (GeoModel native unit: mm).
Definition Units.h:47
constexpr auto mm
Definition Units.h:27
Definition DetectorBuilder.h:8
constexpr double gm(mp_units::quantity< U, Rep > q)
Length quantity -> GeoModel raw double (GeoModel native unit: mm).
Definition Units.h:47
constexpr auto mm
Definition Units.h:27
One step of the container along the beam, in the container frame: a box from zStart to zEnd holding o...
Definition NeutrinoDetectorFactory.h:91
units::LengthMm zEnd
Definition NeutrinoDetectorFactory.h:93
units::LengthMm halfX
Definition NeutrinoDetectorFactory.h:94
units::LengthMm halfY
Definition NeutrinoDetectorFactory.h:94
const char * name
Definition NeutrinoDetectorFactory.h:92
units::LengthMm zStart
Definition NeutrinoDetectorFactory.h:93
A subsystem's self-description: everything the assembler needs.
Definition SubsystemDescriptor.h:20