SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
SHiP::geometry::calo_bar Namespace Reference

Places an array of identical scintillator bars into a mother volume. More...

Functions

void placeLayer (GeoVPhysVol *mother, GeoLogVol const *barLog, units::LengthMm pitch, int nBars, units::LengthMm zCenter, std::string_view tagPrefix, int layerIndex, BarAxis axis, const std::string &nameSuffix="")

Detailed Description

Places an array of identical scintillator bars into a mother volume.

Bars share a single GeoLogVol (reuse). They are spaced at pitch centre-to-centre, centred on the mother origin in the transverse plane, and all placed at zCenter along Z (local coordinates).

Function Documentation

◆ placeLayer()

void SHiP::geometry::calo_bar::placeLayer ( GeoVPhysVol * mother,
GeoLogVol const * barLog,
units::LengthMm pitch,
int nBars,
units::LengthMm zCenter,
std::string_view tagPrefix,
int layerIndex,
BarAxis axis,
const std::string & nameSuffix = "" )