![]() |
SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
|
Factory for the muon shield: the magnetised hadron stopper and the shield magnets M1-M7. More...
#include <MuonShieldFactory.h>
Classes | |
| struct | CavitySection |
One step of the SND cavity, in the world frame: a box on the beam axis from zStart to zEnd. More... | |
Public Types | |
| using | MagnetData = MuonShieldMagnet |
Public Member Functions | |
| MuonShieldFactory (Materials &materials) | |
| ~MuonShieldFactory ()=default | |
| GeoPhysVol * | build () |
Static Public Member Functions | |
| static constexpr bool | cuts (const CavitySection §ion, const MagnetData &magnet) |
| The cavity section overlaps the magnet's iron along z. | |
| static constexpr bool | hasSndCavity (const MagnetData &magnet) |
| Some of the SND cavity lies in this magnet, so it is cut out. | |
| static constexpr SubsystemDescriptor | descriptor () |
| This subsystem's self-description (name, node, id, placement). | |
Static Public Attributes | |
| static constexpr MagnetData | k_hadronStopper |
| Row 0: the magnetised hadron stopper, [0, 115, 163.5, 169]. | |
| static constexpr std::array< MagnetData, 7 > | k_magnets |
| Rows 1-7: the shield magnets M1-M7. | |
| static constexpr auto | s_zStart = k_hadronStopper.zStart |
| The container spans the shield exactly: the hadron stopper's upstream face to M7's downstream face, as wide and tall as the widest and the tallest block. | |
| static constexpr auto | s_zEnd = k_magnets.back().zEnd() |
| static constexpr auto | s_areaHalfX |
| static constexpr auto | s_areaHalfY |
| static constexpr auto | s_areaHalfZ = 0.5 * (s_zEnd - s_zStart) |
| static constexpr auto | s_centreZ = 0.5 * (s_zStart + s_zEnd) |
| static constexpr auto | k_sndCavity |
| Cavity for the SND (veto, target, MGC, HCAL): the SND container's sections (NeutrinoDetectorFactory::k_sections) placed where the SND is. | |
Factory for the muon shield: the magnetised hadron stopper and the shield magnets M1-M7.
Solid-block approximation of the FairShip TRY_2026 shield (integration layout 2026-0.1): the hadron stopper and each magnet are one solid iron box of the magnet's outer size, as FairShip builds them. The apertures and yoke shapes are not modelled (#125), and neither is the field, which comes from the field map.
The scattering and neutrino detector sits in the end of M5 and the whole of M6, as in FairShip, so those two magnets have a cavity for it cut out of their iron (k_sndCavity). The cavity is the SND container's shape at its placement, so it steps with the SND's sub-detectors and the iron comes up to each of them. The container has the same cavity cut out of it, so the SND, its sibling in the world, does not overlap it (Layout.h, kCutOuts). Only NeutrinoDetectorFactory's header is used, for its constants; the libraries do not depend on each other.
| using SHiP::geometry::MuonShieldFactory::MagnetData = MuonShieldMagnet |
|
explicit |
|
nodiscard |
|
inlinestaticnodiscardconstexpr |
The cavity section overlaps the magnet's iron along z.
|
inlinestaticconstexpr |
This subsystem's self-description (name, node, id, placement).
The container is centred between the hadron stopper's upstream face (2.14 m) and M7's downstream face (32.18 m), at 17.16 m.
|
inlinestaticnodiscardconstexpr |
Some of the SND cavity lies in this magnet, so it is cut out.
|
staticconstexpr |
Row 0: the magnetised hadron stopper, [0, 115, 163.5, 169].
|
staticconstexpr |
Rows 1-7: the shield magnets M1-M7.
|
staticconstexpr |
Cavity for the SND (veto, target, MGC, HCAL): the SND container's sections (NeutrinoDetectorFactory::k_sections) placed where the SND is.
The .cpp checks that it cuts M5 and M6 only and that the HCAL step is exactly M6.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
The container spans the shield exactly: the hadron stopper's upstream face to M7's downstream face, as wide and tall as the widest and the tallest block.