SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
SHiP::geometry::TrackersFactory Class Reference

Factory for the Trackers (straw tube tracking stations) geometry. More...

#include <TrackersFactory.h>

Public Member Functions

 TrackersFactory (Materials &materials)
 ~TrackersFactory ()=default
GeoPhysVol * build ()
 Build the Trackers geometry.

Static Public Member Functions

static constexpr SubsystemDescriptor descriptor ()
 This subsystem's self-description (name, node, id, placement).

Static Public Attributes

static constexpr int s_nStations = 4
static constexpr int s_nViews = 4
 stereo views per station
static constexpr int s_nSubLayers = 2
 staggered straw layers per view
static constexpr auto s_strawRadius = 10.0 * units::mm
 1 cm radius (2 cm diam)
static constexpr auto s_strawLength = 4000.0 * units::mm
 4 m, along X
static constexpr auto s_wallThickness = 0.030 * units::mm
 30 µm Mylar wall
static constexpr auto s_apertureX = 4000.0 * units::mm
 Active aperture inside a view frame (X = straw length region, Y = pitch).
static constexpr auto s_apertureY = 6000.0 * units::mm
static constexpr int s_nStraws
 Straws per sub-layer (aperture height / straw diameter).
static constexpr auto s_stereoAngleDeg = 2.3 * units::deg
 |stereo angle| per view
static constexpr auto s_frameBarX = 100.0 * units::mm
 frame bar width in X
static constexpr auto s_frameBarY = 100.0 * units::mm
 frame bar width in Y
static constexpr auto s_frameHalfZ = 22.0 * units::mm
 frame half-thickness in Z
static constexpr auto s_trackerMagnetZ = 86820.0 * units::mm
 centre
static constexpr auto s_trackerMagnetHalfZ = 230.0 * units::mm
 half-depth
static constexpr auto s_halfX = 3000.0 * units::mm
static constexpr auto s_halfY = 3430.0 * units::mm
static constexpr auto s_halfZ = 500.0 * units::mm
static constexpr auto s_station1Z = 84070.0 * units::mm
static constexpr auto s_station2Z = 86070.0 * units::mm
static constexpr auto s_station3Z = 93070.0 * units::mm
static constexpr auto s_station4Z = 95070.0 * units::mm
static constexpr auto s_containerHalfZ = (s_station4Z - s_station1Z) / 2.0 + s_halfZ
static constexpr auto s_containerCentreZ = (s_station1Z + s_station4Z) / 2.0

Detailed Description

Factory for the Trackers (straw tube tracking stations) geometry.

Builds 4 straw tracking stations for the SHiP spectrometer. Station envelopes and z-positions follow the GDML reference / subsystem_envelopes.csv:

  • Station 1: Z 83.57-84.57 m → centre 84.07 m
  • Station 2: Z 85.57-86.57 m → centre 86.07 m
  • Station 3: Z 92.57-93.57 m → centre 93.07 m
  • Station 4: Z 94.57-95.57 m → centre 95.07 m Station envelope (GDML statbox): half 3000 × 3430 × 500 mm.

Each station envelope is filled with 4 stereo views. A view is a material frame (FairShip-style hollow rectangle) enclosing a staggered double sub-layer of straw tubes:

  • Straw: 20 mm outer diameter, 4 m long, horizontal (along X).
  • Wall: 30 µm Mylar; fill: Ar/CO₂ 70/30 by mass.
  • View stereo angles about the beam axis Z: +2.3°, -2.3°, +2.3°, -2.3°.

The spectrometer dipole between stations 2 and 3 is a separate subsystem (see subsystems/Magnet) and is intentionally not described here.

Constructor & Destructor Documentation

◆ TrackersFactory()

SHiP::geometry::TrackersFactory::TrackersFactory ( Materials & materials)
explicit

◆ ~TrackersFactory()

SHiP::geometry::TrackersFactory::~TrackersFactory ( )
default

Member Function Documentation

◆ build()

GeoPhysVol * SHiP::geometry::TrackersFactory::build ( )
nodiscard

Build the Trackers geometry.

Returns
Pointer to the container volume holding all 4 stations.

◆ descriptor()

constexpr SubsystemDescriptor SHiP::geometry::TrackersFactory::descriptor ( )
inlinestaticconstexpr

This subsystem's self-description (name, node, id, placement).

The factory positions the four stations inside the container itself, so the container is placed at its centre: the average of the station 1 and station 4 centres, (84.07 + 95.07) / 2 m = 89.57 m. s_containerCentreZ is a quantity of mm; gm() turns it into the raw-mm double that SubsystemDescriptor uses.

Member Data Documentation

◆ s_apertureX

auto SHiP::geometry::TrackersFactory::s_apertureX = 4000.0 * units::mm
staticconstexpr

Active aperture inside a view frame (X = straw length region, Y = pitch).

◆ s_apertureY

auto SHiP::geometry::TrackersFactory::s_apertureY = 6000.0 * units::mm
staticconstexpr

◆ s_containerCentreZ

auto SHiP::geometry::TrackersFactory::s_containerCentreZ = (s_station1Z + s_station4Z) / 2.0
staticconstexpr

◆ s_containerHalfZ

auto SHiP::geometry::TrackersFactory::s_containerHalfZ = (s_station4Z - s_station1Z) / 2.0 + s_halfZ
staticconstexpr

◆ s_frameBarX

auto SHiP::geometry::TrackersFactory::s_frameBarX = 100.0 * units::mm
staticconstexpr

frame bar width in X

◆ s_frameBarY

auto SHiP::geometry::TrackersFactory::s_frameBarY = 100.0 * units::mm
staticconstexpr

frame bar width in Y

◆ s_frameHalfZ

auto SHiP::geometry::TrackersFactory::s_frameHalfZ = 22.0 * units::mm
staticconstexpr

frame half-thickness in Z

◆ s_halfX

auto SHiP::geometry::TrackersFactory::s_halfX = 3000.0 * units::mm
staticconstexpr

◆ s_halfY

auto SHiP::geometry::TrackersFactory::s_halfY = 3430.0 * units::mm
staticconstexpr

◆ s_halfZ

auto SHiP::geometry::TrackersFactory::s_halfZ = 500.0 * units::mm
staticconstexpr

◆ s_nStations

int SHiP::geometry::TrackersFactory::s_nStations = 4
staticconstexpr

◆ s_nStraws

int SHiP::geometry::TrackersFactory::s_nStraws
staticconstexpr
Initial value:
=
static_cast<int>(units::ratio(s_apertureY / (2.0 * s_strawRadius)))
static constexpr auto s_apertureY
Definition TrackersFactory.h:80
static constexpr auto s_strawRadius
1 cm radius (2 cm diam)
Definition TrackersFactory.h:74
constexpr double ratio(mp_units::quantity< one > q)
Dimensionless quantity -> plain double (counts, growth slopes, and inputs to GeoGenfun / Eigen,...
Definition Units.h:82

Straws per sub-layer (aperture height / straw diameter).

◆ s_nSubLayers

int SHiP::geometry::TrackersFactory::s_nSubLayers = 2
staticconstexpr

staggered straw layers per view

◆ s_nViews

int SHiP::geometry::TrackersFactory::s_nViews = 4
staticconstexpr

stereo views per station

◆ s_station1Z

auto SHiP::geometry::TrackersFactory::s_station1Z = 84070.0 * units::mm
staticconstexpr

◆ s_station2Z

auto SHiP::geometry::TrackersFactory::s_station2Z = 86070.0 * units::mm
staticconstexpr

◆ s_station3Z

auto SHiP::geometry::TrackersFactory::s_station3Z = 93070.0 * units::mm
staticconstexpr

◆ s_station4Z

auto SHiP::geometry::TrackersFactory::s_station4Z = 95070.0 * units::mm
staticconstexpr

◆ s_stereoAngleDeg

auto SHiP::geometry::TrackersFactory::s_stereoAngleDeg = 2.3 * units::deg
staticconstexpr

|stereo angle| per view

◆ s_strawLength

auto SHiP::geometry::TrackersFactory::s_strawLength = 4000.0 * units::mm
staticconstexpr

4 m, along X

◆ s_strawRadius

auto SHiP::geometry::TrackersFactory::s_strawRadius = 10.0 * units::mm
staticconstexpr

1 cm radius (2 cm diam)

◆ s_trackerMagnetHalfZ

auto SHiP::geometry::TrackersFactory::s_trackerMagnetHalfZ = 230.0 * units::mm
staticconstexpr

half-depth

◆ s_trackerMagnetZ

auto SHiP::geometry::TrackersFactory::s_trackerMagnetZ = 86820.0 * units::mm
staticconstexpr

centre

◆ s_wallThickness

auto SHiP::geometry::TrackersFactory::s_wallThickness = 0.030 * units::mm
staticconstexpr

30 µm Mylar wall


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