![]() |
SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
|
Factory for the Scattering and Neutrino Detector (SND). More...
#include <NeutrinoDetectorFactory.h>
Classes | |
| struct | Section |
One step of the container along the beam, in the container frame: a box from zStart to zEnd holding one sub-detector, 1 mm wider than it on every side. More... | |
Public Member Functions | |
| NeutrinoDetectorFactory (Materials &materials) | |
| Construct the factory against the shared materials catalogue. | |
| ~NeutrinoDetectorFactory ()=default | |
| Defaulted destructor. | |
| GeoPhysVol * | build () |
| Build the SND geometry; returns the air container. | |
Static Public Member Functions | |
| static constexpr SubsystemDescriptor | descriptor () |
| This subsystem's self-description (name, node, id, placement). | |
Static Public Attributes | |
| 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 can come up to each of them. | |
| static constexpr auto | s_halfX = 301.25 * units::mm |
| Bounding box of the sections: the HCAL's cross-section and the full 5.05 m length. | |
| static constexpr auto | s_halfY = 301.25 * units::mm |
| static constexpr auto | s_halfZ = 2525.0 * units::mm |
Factory for the Scattering and Neutrino Detector (SND).
Builds the SND as a single air container holding four sub-detectors in sequence along the beam (upstream → downstream):
The geometry follows the repo factory idiom (calorimeter / straw tracker): a /SHiP/neutrino_detector air container filled with hierarchically named GeoPhysVol children that reuse shared GeoLogVols; sensitive-detector assignment is done downstream by name.
Each 0.5 mm scintillating-fibre plane is built from its individual fibres, two staggered sub-layers of 0.25 mm fibres. To keep the node count bounded, the O(300k) identical fibres are not placed one node at a time: a single shared fibre GeoPhysVol is multiply placed per sub-layer via a GeoSerialTransformer, so each plane costs O(1) tree nodes regardless of fibre count. The X/Y plane names are preserved for readout.
The container follows the sub-detectors in four transverse steps (veto, target, MGC, HCAL; see k_sections), within the SND envelope's cross-section (subsystem_envelopes.csv: half-width/height up to 0.40 m), and is exactly as long as its content, 5.05 m. Placement is handled by DetectorBuilder.
|
explicit |
Construct the factory against the shared materials catalogue.
|
default |
Defaulted destructor.
|
nodiscard |
Build the SND geometry; returns the air container.
Resolve materials, create the air container, lay out the veto, target, MGC and HCAL in beam order (flush with the downstream end), and return it.
|
inlinestaticconstexpr |
This subsystem's self-description (name, node, id, placement).
Z: 22.94 to 27.99 m, so the container is centred at z = 25.465 m. As in FairShip's TRY_2026 layout, the SND sits in the end of muon-shield magnet M5 and the whole of M6: the HCAL fills M6 exactly. Those magnets have a cavity of the container's shape cut out of their iron (MuonShieldFactory::k_sndCavity, derived from k_sections and this placement). This is 3.46 m upstream of the EDMS envelope (26.40-31.50 m), which follows the WARM shield layout (Layout.h).
|
staticconstexpr |
The container is the union of these boxes, so it follows the sub-detectors and the muon-shield iron can come up to each of them.
They run without gaps over the whole container, which is exactly as long as its content. The gaps between sub-detectors go to the narrower section beside them. The .cpp checks that each sub-detector fits its section.
|
staticconstexpr |
Bounding box of the sections: the HCAL's cross-section and the full 5.05 m length.
|
staticconstexpr |
|
staticconstexpr |