Definition ConfigPath.h:9
SBTConfig readSBTConfig(const std::string &path)
Parse an sbt.toml file and return an SBTConfig.
Definition SBTConfig.cpp:115
Configuration for the Surround Background Tagger (SBT) geometry.
Definition SBTConfig.h:18
int n_sub_frustum
Definition SBTConfig.h:25
double topBottomContainerHalfThickness() const
Half-thickness of a top/bottom container in Y (mm).
Definition SBTConfig.h:120
double z_entrance_mm
Definition SBTConfig.h:27
double hbeamFlangeOffset() const
Offset of a flange's mid-plane from the beam axis (mm).
Definition SBTConfig.h:85
double sideContainerCentreX(double x_half_mm) const
|X| of a side container's centroid, given the local frustum half-width.
Definition SBTConfig.h:110
std::string material_steel
Definition SBTConfig.h:51
int nWalls() const
Number of aluminium walls per container (n_cells + 1).
Definition SBTConfig.h:63
std::string material_wall
Definition SBTConfig.h:52
double hbeamHalfHeight() const
Reach of a flange's outer surface from the beam axis (mm) = h/2.
Definition SBTConfig.h:89
double sensor_clearance_mm
Definition SBTConfig.h:39
double total_length_mm
Definition SBTConfig.h:24
double yHalfAt(double z_mm) const
Half-extent of the frustum envelope in Y at a given Z (mm).
Definition SBTConfig.h:77
double zExit() const
Exit-face Z in the DecayVolume local frame (mm).
Definition SBTConfig.h:67
double hbeam_flange_thickness_mm
Definition SBTConfig.h:32
double topBottomSensorInnerY(double y_half_mm) const
|Y| of a top/bottom container's innermost face (mm).
Definition SBTConfig.h:128
double subLength() const
Length of one sub-frustum along Z (mm).
Definition SBTConfig.h:59
double y_half_entrance_mm
Definition SBTConfig.h:21
double container_thickness_mm
Definition SBTConfig.h:36
std::string material_helium
Definition SBTConfig.h:54
double xGrowth() const
dx_half/dz of the frustum (dimensionless).
Definition SBTConfig.h:69
double y_half_exit_mm
Definition SBTConfig.h:23
double yGrowth() const
dy_half/dz of the frustum (dimensionless).
Definition SBTConfig.h:71
double zSplitOffset() const
Z offset, from the start of a sub-frustum, of the column front-flange outer edge.
Definition SBTConfig.h:104
std::string material_cell
Definition SBTConfig.h:53
double topBottomContainerCentreY(double y_half_mm) const
|Y| of a top/bottom container's centroid (mm).
Definition SBTConfig.h:124
double x_half_entrance_mm
Definition SBTConfig.h:20
double webHeight() const
Clear web height = height - 2*flange thickness (mm).
Definition SBTConfig.h:61
std::string material_air
Definition SBTConfig.h:55
double topBottomAvailX(double x_half_mm) const
Half-extent in X available to top/bottom containers (mm).
Definition SBTConfig.h:140
double sideSensorInnerX(double x_half_mm) const
|X| of a side container's innermost face (mm).
Definition SBTConfig.h:114
double helium_clearance_mm
Definition SBTConfig.h:48
double y_floor_mm
Definition SBTConfig.h:26
double x_half_exit_mm
Definition SBTConfig.h:22
double hbeam_flange_width_mm
Definition SBTConfig.h:31
double sideContainerHalfThickness() const
Half-thickness of a side container in X (mm).
Definition SBTConfig.h:108
double hbeam_height_mm
Definition SBTConfig.h:30
double xHalfAt(double z_mm) const
Half-extent of the frustum envelope in X at a given Z (mm).
Definition SBTConfig.h:73
double longBeamInnerY(double y_half_mm) const
|Y| reached by a longitudinal beam's inner flange surface (mm).
Definition SBTConfig.h:156
int n_cells
Definition SBTConfig.h:38
double zSubLo(int s) const
Z of the start of sub-frustum s (mm).
Definition SBTConfig.h:81
double longBeamCentreY(double y_half_mm) const
|Y| of a top/bottom longitudinal beam's axis (mm).
Definition SBTConfig.h:150
double hbeam_web_thickness_mm
Definition SBTConfig.h:33
double wall_thickness_mm
Definition SBTConfig.h:37