SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SHiPGeometry::DecayVolumeFactory Class Reference

Factory for the DecayVolume subsystem (decay region + SBT). More...

#include <DecayVolumeFactory.h>

Public Member Functions

 DecayVolumeFactory (SHiPMaterials &materials, std::string configPath="sbt.toml")
 
 ~DecayVolumeFactory ()=default
 
GeoPhysVol * build ()
 Build the DecayVolume geometry; returns the air container.
 
const SBTConfigconfig () const
 The config the last build() actually used.
 

Detailed Description

Factory for the DecayVolume subsystem (decay region + SBT).

Builds an air container holding the Surround Background Tagger — a steel H-beam supporting structure and LAB scintillator sensor cells forming a 50 m rectangular frustum — wrapped around a central helium decay volume. The SBT geometry is driven by sbt.toml (parsed into an SBTConfig).

The helium is not an independent volume: it is derived from where the SBT material actually is (see SBTEnvelope.h), so that it can neither overlap the structure and sensors nor leave an unphysical margin behind.

Z: 32.92 to 83.32 m -> centre 58.12 m; placement handled by SHiPGeometry.

Constructor & Destructor Documentation

◆ DecayVolumeFactory()

SHiPGeometry::DecayVolumeFactory::DecayVolumeFactory ( SHiPMaterials materials,
std::string  configPath = "sbt.toml" 
)
explicit

◆ ~DecayVolumeFactory()

SHiPGeometry::DecayVolumeFactory::~DecayVolumeFactory ( )
default

Member Function Documentation

◆ build()

GeoPhysVol * SHiPGeometry::DecayVolumeFactory::build ( )

Build the DecayVolume geometry; returns the air container.

◆ config()

const SBTConfig & SHiPGeometry::DecayVolumeFactory::config ( ) const
inline

The config the last build() actually used.

Tests must reason about this, not a default-constructed SBTConfig: the geometry comes from sbt.toml, and a test that checks a clearance against the C++ default is validating a config it did not build.


The documentation for this class was generated from the following files: