SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
DecayVolume Directory Reference
Directory dependency graph for DecayVolume:

Directories

 
include
 
src

Files

 
test_decayvolume.cpp

Detailed Description

DecayVolume

Decay region and Surround Background Tagger (SBT).

Description

The DecayVolume subsystem models the SHiP decay region together with the Surround Background Tagger (SBT) that wraps it. The SBT is a 50 m rectangular frustum (expanding from 2.0 × 3.0 m at the entrance to 4.0 × 6.0 m at the exit) made of two parts:

  • a steel H-beam supporting structure — vertical columns, segmented corner beams, top/bottom longitudinal beams and cross-beams, each H-beam modelled as three GeoBox pieces (two flanges + web); and
  • LAB liquid-scintillator sensor cells in thin aluminium containers, tiling the four faces of the frustum.

The decay region itself is helium, but it is not sized by a fixed inset. It is derived from where the SBT material actually sits (see SBTEnvelope.h): the innermost surfaces — the side and top/bottom scintillator containers, and the top/bottom longitudinal beam inner flanges, which hang below the sensor plane into the decay region — bound it directly. Because that inner surface is not linear in Z (the side containers present a flat outer face over the first part of each sub-frustum to clear the columns), the helium is built as a stack of GeoTraps, two per sub-frustum, each strictly inscribed inside the material minus a small clearance. This cannot overlap the structure or the sensors.

Everything is held in an air container (the SBT is part of the experiment's support frame, not a sealed vessel). The previous monolithic aluminium box vessel has been removed. The structure and sensor geometry is a faithful port of the standalone SBT GeoModel builders; all pieces are placed flat (as direct children of the container), which the clash-avoidance logic relies on.

Geometry tree

/SHiP/decay_volume (Air box, 4400 × 6600 × 50400 mm)
├─ /SHiP/decay_volume/helium_0..19 (PressurisedHe90, 20 inscribed GeoTrap slabs)
├─ /SHiP/decay_volume/sbt/structure_* (Iron, 312 GeoBox H-beam pieces)
└─ /SHiP/decay_volume/sbt/sensors_* (Al walls + LAB cells, 3380 GeoTrap)

The tree above is by name, not by containment: .../sbt/... is a prefix on the volume names, not a physical grouping volume. Every volume — helium slabs, structure pieces and sensor pieces alike — is a direct child of /SHiP/decay_volume (the clash-avoidance logic relies on this flat layout, and test_decayvolume asserts all 3712 are direct children with no grandchildren).

Position in world: z = 58120 mm (centre), unchanged. The 50 m SBT is centred on the container origin (entrance face at z = −25000 mm in the local frame).

Structure (312 GeoBox)

Group Count Notes
Vertical columns 66 11 rows × 2 sides × 3 boxes
Corner beams 120 4 corners × 10 segments × 3 boxes (inclined)
Longitudinal beams 60 1/face (sub-frustum 0–4), 2/face (5–9); flanges only
Cross-beams 66 11 rows × 2 faces × 3 boxes

Helium (20 GeoTrap)

Two inscribed slabs per sub-frustum (10 sub-frusta): the slab boundaries fall at each sub-frustum entrance and at the side-container flat-piece edge, so the slab faces follow the sawtooth inner surface without cutting into it.

Sensors (3380 GeoTrap)

130 containers (80 side + 50 top/bottom), each Z-split into 2 pieces at the column front-flange edge for clash avoidance. Each piece is 7 aluminium walls + 6 LAB cells (13 GeoTraps): 130 × 2 × 13 = 3380. Cells are GeoFullPhysVol (sensitive); walls are GeoPhysVol.

Materials

Material Density Usage
Air 1.205 mg/cm³ Container
Iron 7.874 g/cm³ H-beam supporting structure
Aluminium 2.70 g/cm³ Sensor container walls
LAB 0.867 g/cm³ Scintillator cells (new)
PressurisedHe90 2.12 mg/cm³ Central decay region

LAB (linear alkylbenzene, C 87.41% / H 12.59% by mass) was added to the central Materials catalogue for the SBT cells.

Parameters

The SBT geometry is defined by SBTParams in SBTConstants.h (namespace SHiP::geometry::sbt): the frustum envelope, sub-frustum count, H-beam cross-section, sensor container/cell parameters, helium clearance and the SBT entrance Z. kSBT is the shipped instance, and every placement primitive — the ones both builders and the helium derivation share — takes an SBTParams defaulting to it.

Grouping them into a struct rather than leaving them as loose constants is what lets the tests build the SBT at parameters other than the shipped ones, which is the only way to check that the helium derivation is correct in general rather than correct at today's numbers. Invariants are enforced by static_assert, so an impossible SBT fails the build.

Status

  • C++ implementation (SBT structure + sensors + derived helium)
  • Frustum shape (replaces the old box vessel approximation)
  • Surround Background Tagger integrated
  • Compile-time parameter validation
  • Verification against the standalone SBT / GDML reference

Tests

test_decayvolume checks the container envelope, the 312 structure GeoBoxes, and the 3400 GeoTrap children (20 helium slabs + 3380 sensors) for a total of 3712 direct children. Beyond the counts, it runs an exact separating-axis overlap test between every helium slab and every SBT volume in the built tree, asserting the helium neither protrudes into any material nor leaves a margin beyond the configured clearance.

That check then runs again across a sweep of fourteen perturbed SBTParams — steeper and flatter tapers, wider flanges, taller beams, more and fewer sub-frusta, a non-zero helium clearance — each rebuilding the structure, the sensors and the helium from scratch. A single configuration only shows the arithmetic is right at one point; the sweep is what catches an envelope that has stopped modelling what the builders actually place. A companion case pins the configurations that must not build, via the same leavesDecayRegion() predicate the shipped static_assert uses.