17#ifndef O2_ALICE_ITS3_SPECS
18#define O2_ALICE_ITS3_SPECS
26constexpr float cm{1e+2};
27constexpr float mu{1e-6 *
cm};
28constexpr float mm{1e-3 *
cm};
48namespace powerswitches
59constexpr EColor
color{kMagenta};
82constexpr float width{segment::width};
88constexpr float width{segment::width};
92constexpr unsigned int nRSUs{12};
105constexpr std::array<int, 3>
nHoles{11, 11, 11};
113constexpr std::array<unsigned int, nLayers>
nSegments{3, 4, 5};
116constexpr std::array<float, nLayers>
radii{19.0006 *
mm, 25.228 *
mm, 31.4554 *
mm};
121constexpr unsigned int mDetIDs{2 * 12 * 12 * 12};
123constexpr unsigned int l0IDEnd{2 * 3 * 12 * 12 - 1};
124constexpr unsigned int l0IDTot{2 * 3 * 12 * 12};
127constexpr unsigned int l1IDTot{2 * 4 * 12 * 12};
130constexpr unsigned int l2IDTot{2 * 5 * 12 * 12};
133template <
typename T =
int>
136 if (
static_cast<T
>(
l0IDStart) <= detID && detID <=
static_cast<T
>(
l0IDEnd)) {
138 }
else if (
static_cast<T
>(
l1IDStart) <= detID && detID <=
static_cast<T
>(
l1IDEnd)) {
140 }
else if (
static_cast<T
>(
l2IDStart) <= detID && detID <=
static_cast<T
>(
l2IDEnd)) {
146template <
typename T =
int>
152 }
else if (
layer == 1) {
154 }
else if (
layer == 2) {
160template <
typename T =
int>
163 return detID < static_cast<T>(
nChips);
GLuint GLsizei GLsizei * length
GLenum GLuint GLint GLint layer
GLdouble GLdouble GLdouble z
constexpr float longeronsWidth
constexpr float edgeBetwChipAndFoam
constexpr std::array< float, 3 > radiusHoles
constexpr float gapBetwHringsLongerons
constexpr float HringLength
constexpr float longeronsLength
constexpr std::array< int, 3 > nHoles
constexpr unsigned int nChips
constexpr unsigned int l2IDTot
constexpr unsigned int l1IDStart
constexpr unsigned int l0IDStart
constexpr unsigned int l2IDEnd
constexpr unsigned int l2IDStart
constexpr unsigned int l0IDTot
T getDetID2Layer(T detID)
constexpr unsigned int l1IDEnd
constexpr unsigned int l1IDTot
constexpr unsigned int mDetIDs
constexpr unsigned int l0IDEnd
constexpr unsigned int nTiles
constexpr float lengthSensitive
constexpr unsigned int nRSUs
constexpr unsigned int nTilesPerSegment
constexpr unsigned int nSensorsIB
constexpr std::array< unsigned int, nLayers > nSegments
constexpr std::array< float, nLayers > radiiOuter
constexpr float effThickness
constexpr float thickness
constexpr float equatorialGap
constexpr unsigned int nTotLayers
constexpr std::array< float, nLayers > radiiInner
constexpr std::array< float, nLayers > radii
constexpr unsigned int nLayers