SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
subsystems
Calorimeter
include
Calorimeter
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
9
class
GeoVPhysVol;
10
class
GeoLogVol;
11
12
namespace
SHiPGeometry
{
13
15
enum class
BarAxis
{
AlongX
,
AlongY
};
16
24
namespace
CaloBar {
25
26
void
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
SHiPGeometry::CaloBar::placeLayer
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
SHiPGeometry
Definition
SHiPGeometry.h:8
SHiPGeometry::BarAxis
BarAxis
Which transverse axis the bars are replicated along.
Definition
CaloBarLayer.h:15
SHiPGeometry::BarAxis::AlongY
@ AlongY
SHiPGeometry::BarAxis::AlongX
@ AlongX
Generated by
1.9.8