SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
SBTConstants.h File Reference
#include <algorithm>
#include <string_view>
Include dependency graph for SBTConstants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SHiPGeometry::SBT::SBTParams
 Every dimension the SBT geometry is parameterised by (mm). More...
 

Namespaces

namespace  SHiPGeometry
 
namespace  SHiPGeometry::SBT
 Compile-time parameters of the Surround Background Tagger (SBT).
 
namespace  SHiPGeometry::SBT::detail
 

Functions

constexpr double SHiPGeometry::SBT::subLength (const SBTParams &params=kSBT)
 Length of one sub-frustum along Z (mm).
 
constexpr double SHiPGeometry::SBT::webHeight (const SBTParams &params=kSBT)
 Clear web height = height - 2*flange thickness (mm).
 
constexpr int SHiPGeometry::SBT::nWalls (const SBTParams &params=kSBT)
 Number of aluminium walls per container (nCells + 1).
 
constexpr double SHiPGeometry::SBT::zExit (const SBTParams &params=kSBT)
 Exit-face Z in the DecayVolume local frame (mm).
 
constexpr double SHiPGeometry::SBT::xGrowth (const SBTParams &params=kSBT)
 dx_half/dz of the frustum (dimensionless).
 
constexpr double SHiPGeometry::SBT::yGrowth (const SBTParams &params=kSBT)
 dy_half/dz of the frustum (dimensionless).
 
constexpr double SHiPGeometry::SBT::xHalfAt (double z_mm, const SBTParams &params=kSBT)
 Half-extent of the frustum envelope in X at a given Z (mm).
 
constexpr double SHiPGeometry::SBT::yHalfAt (double z_mm, const SBTParams &params=kSBT)
 Half-extent of the frustum envelope in Y at a given Z (mm).
 
constexpr double SHiPGeometry::SBT::zSubLo (int s, const SBTParams &params=kSBT)
 Z of the start of sub-frustum s (mm).
 
constexpr double SHiPGeometry::SBT::hbeamFlangeOffset (const SBTParams &params=kSBT)
 Offset of a flange's mid-plane from the beam axis (mm).
 
constexpr double SHiPGeometry::SBT::hbeamHalfHeight (const SBTParams &params=kSBT)
 Reach of a flange's outer surface from the beam axis (mm) = h/2.
 
constexpr double SHiPGeometry::SBT::zSplitOffset (const SBTParams &params=kSBT)
 Z offset, from the start of a sub-frustum, of the column front-flange outer edge.
 
constexpr double SHiPGeometry::SBT::sideContainerHalfThickness (const SBTParams &params=kSBT)
 Half-thickness of a side container in X (mm).
 
constexpr double SHiPGeometry::SBT::sideContainerCentreX (double x_half_mm, const SBTParams &params=kSBT)
 |X| of a side container's centroid, given the local frustum half-width.
 
constexpr double SHiPGeometry::SBT::sideSensorInnerX (double x_half_mm, const SBTParams &params=kSBT)
 |X| of a side container's innermost face (mm).
 
constexpr double SHiPGeometry::SBT::topBottomContainerHalfThickness (const SBTParams &params=kSBT)
 Half-thickness of a top/bottom container in Y (mm).
 
constexpr double SHiPGeometry::SBT::topBottomContainerCentreY (double y_half_mm, const SBTParams &params=kSBT)
 |Y| of a top/bottom container's centroid (mm).
 
constexpr double SHiPGeometry::SBT::topBottomSensorInnerY (double y_half_mm, const SBTParams &params=kSBT)
 |Y| of a top/bottom container's innermost face (mm).
 
constexpr double SHiPGeometry::SBT::topBottomAvailX (double x_half_mm, const SBTParams &params=kSBT)
 Half-extent in X available to top/bottom containers (mm).
 
constexpr double SHiPGeometry::SBT::longBeamCentreY (double y_half_mm, const SBTParams &params=kSBT)
 |Y| of a top/bottom longitudinal beam's axis (mm).
 
constexpr double SHiPGeometry::SBT::detail::sqrtConst (double v)
 Square root of v, usable in a constant expression.
 
constexpr double SHiPGeometry::SBT::detail::longBeamTaper (const SBTParams &params=kSBT)
 Taper factor of a top/bottom longitudinal beam, 1/cos(atan(yGrowth)).
 
constexpr double SHiPGeometry::SBT::longBeamInnerY (double y_half_mm, const SBTParams &params=kSBT)
 |Y| reached by a longitudinal beam's inner flange surface (mm).
 
constexpr bool SHiPGeometry::SBT::isWellFormed (const SBTParams &params=kSBT)
 Are params self-consistent, before asking whether they leave a decay region? Every dimension positive, the helium clearance non-negative, the sensor clearance under half a container thickness and the flanges under half the beam height.
 

Variables

constexpr SBTParams SHiPGeometry::SBT::kSBT {}
 The shipped SBT.
 
constexpr double SHiPGeometry::SBT::kEnvelopeHalfX = 2200.0
 
constexpr double SHiPGeometry::SBT::kEnvelopeHalfY = 3300.0
 
constexpr double SHiPGeometry::SBT::kEnvelopeHalfZ = 25200.0
 
constexpr std::string_view SHiPGeometry::SBT::kAirMaterial = "Air"
 
constexpr std::string_view SHiPGeometry::SBT::kSteelMaterial = "Iron"
 
constexpr std::string_view SHiPGeometry::SBT::kWallMaterial = "Aluminium"
 
constexpr std::string_view SHiPGeometry::SBT::kScintillatorMaterial = "LAB"
 
constexpr std::string_view SHiPGeometry::SBT::kHeliumMaterial = "PressurisedHe90"