SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
Namespaces | Classes | Enumerations | Functions | Variables
SHiPGeometry Namespace Reference

Namespaces

namespace  CaloBar
 Places an array of identical scintillator bars into a mother volume.
 
namespace  CaloFibreHP
 Builds one Hadronic Pre-shower Layer (HPL) of scintillating fibres.
 

Classes

struct  CalorimeterConfig
 Configuration for the SHiP calorimeter geometry. More...
 
class  CalorimeterFactory
 Factory for the Calorimeter (ECAL + HCAL) geometry. More...
 
class  CavernFactory
 Factory for the Cavern (world volume and rock) geometry. More...
 
class  DecayVolumeFactory
 Factory for the DecayVolume subsystem (decay region + SBT). More...
 
class  MagnetFactory
 Factory for the Magnet (spectrometer magnet) geometry. More...
 
class  MuonShieldFactory
 Factory for the MuonShield (muon shield magnets) geometry. More...
 
class  NeutrinoDetectorFactory
 Factory for the Scattering and Neutrino Detector (SND). More...
 
struct  SBTConfig
 Configuration for the Surround Background Tagger (SBT) geometry. More...
 
class  SBTSensorBuilder
 Builds the SBT scintillator sensor containers into mother. More...
 
class  SBTStructureBuilder
 Builds the SBT steel H-beam supporting structure into mother. More...
 
class  SHiPGeometryBuilder
 Main geometry builder for the SHiP detector. More...
 
class  SHiPMaterials
 Central material manager for the SHiP detector. More...
 
class  SHiPTimingDetInterface
 GmxInterface implementation for the SHiP Timing Detector. More...
 
class  SHiPUBTManager
 Detector manager for the Upstream Background Tagger (UBT). More...
 
class  TargetFactory
 Factory for the Target (proton target and shielding) geometry. More...
 
class  TimingDetectorFactory
 Factory for the TimingDetector (TimeDet) geometry. More...
 
class  TrackersFactory
 Factory for the Trackers (straw tube tracking stations) geometry. More...
 
class  UpstreamTaggerFactory
 Factory for the UpstreamTagger (upstream veto tagger) geometry. More...
 

Enumerations

enum class  BarAxis { AlongX , AlongY }
 Which transverse axis the bars are replicated along. More...
 
enum class  LayerCode : int {
  WidePVT_H = 1 , WidePVT_V = 2 , ThinPS_H = 3 , ThinPS_V = 4 ,
  FibreHPL_Y = 5 , FibreHPL_X = 6 , Absorber = 7 , AirGap = 8
}
 Layer type codes used in the ECAL/HCAL layer sequences. More...
 

Functions

CalorimeterConfig readCaloConfig (const std::string &path)
 Parse a calo.toml file and return a CalorimeterConfig.
 
static std::string resolveTomlPath (const std::string &path)
 
SBTConfig readSBTConfig (const std::string &path)
 Parse an sbt.toml file and return an SBTConfig.
 
static std::string resolveGmxPath ()
 

Variables

static constexpr double kWidePVTBarPitch_mm = 60.0
 
static constexpr double kThinPSBarPitch_mm = 10.0
 

Enumeration Type Documentation

◆ BarAxis

enum class SHiPGeometry::BarAxis
strong

Which transverse axis the bars are replicated along.

Enumerator
AlongX 
AlongY 

◆ LayerCode

enum class SHiPGeometry::LayerCode : int
strong

Layer type codes used in the ECAL/HCAL layer sequences.

Enumerator
WidePVT_H 

Wide PVT bar layer, bars along X (H orientation)

WidePVT_V 

Wide PVT bar layer, bars along Y (V orientation)

ThinPS_H 

Thin PS bar layer, bars along X (H orientation)

ThinPS_V 

Thin PS bar layer, bars along Y (V orientation)

FibreHPL_Y 

HPL fibre layer, fibres along Y.

FibreHPL_X 

HPL fibre layer, fibres along X.

Absorber 

Absorber plate (Lead in ECAL, Iron in HCAL)

AirGap 

Air gap (no volume, just advances z cursor)

Function Documentation

◆ readCaloConfig()

CalorimeterConfig SHiPGeometry::readCaloConfig ( const std::string &  path)

Parse a calo.toml file and return a CalorimeterConfig.

Uses toml++ for parsing. Unknown top-level keys are reported via stderr (helpful when a stale or mistyped key would otherwise be silently ignored), but do not cause the parse to fail.

Exceptions
std::runtime_errorif the file cannot be opened, contains malformed TOML, or is missing the mandatory layers field.

◆ readSBTConfig()

SBTConfig SHiPGeometry::readSBTConfig ( const std::string &  path)

Parse an sbt.toml file and return an SBTConfig.

Uses toml++. Unknown top-level keys are reported on stderr but do not cause the parse to fail.

Exceptions
std::runtime_errorif the file cannot be opened or is malformed.

◆ resolveGmxPath()

static std::string SHiPGeometry::resolveGmxPath ( )
static

◆ resolveTomlPath()

static std::string SHiPGeometry::resolveTomlPath ( const std::string &  path)
static

Variable Documentation

◆ kThinPSBarPitch_mm

constexpr double SHiPGeometry::kThinPSBarPitch_mm = 10.0
staticconstexpr

◆ kWidePVTBarPitch_mm

constexpr double SHiPGeometry::kWidePVTBarPitch_mm = 60.0
staticconstexpr