SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
Functions
SHiPGeometry::CaloBar Namespace Reference

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

Functions

void placeLayer (GeoVPhysVol *mother, GeoLogVol *barLog, double pitch_mm, int nBars, double zCenter_mm, 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_mm centre-to-centre, centred on the mother origin in the transverse plane, and all placed at zCenter_mm along Z (local coordinates).

Function Documentation

◆ placeLayer()

void SHiPGeometry::CaloBar::placeLayer ( GeoVPhysVol *  mother,
GeoLogVol *  barLog,
double  pitch_mm,
int  nBars,
double  zCenter_mm,
std::string_view  tagPrefix,
int  layerIndex,
BarAxis  axis,
const std::string &  nameSuffix = "" 
)