SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
CaloBarLayer.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) CERN for the benefit of the SHiP Collaboration
3
4#pragma once
5
6#include <string>
7#include <string_view>
8
9class GeoVPhysVol;
10class GeoLogVol;
11
12namespace SHiPGeometry {
13
15enum class BarAxis { AlongX, AlongY };
16
24namespace CaloBar {
25
26void placeLayer(GeoVPhysVol* mother, GeoLogVol* barLog, double pitch_mm, int nBars,
27 double zCenter_mm, std::string_view tagPrefix, int layerIndex, BarAxis axis,
28 const std::string& nameSuffix = "");
29
30} // namespace CaloBar
31
32} // namespace SHiPGeometry
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="")
Definition CaloBarLayer.cpp:19
Definition SHiPGeometry.h:8
BarAxis
Which transverse axis the bars are replicated along.
Definition CaloBarLayer.h:15