You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Detectors/Upgrades/ALICE3/TRK/base/include/TRKBase/Specs.h
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -49,8 +49,9 @@ namespace layer
49
49
constexprdouble pitchX{10 * mu}; // pitch of the row
50
50
constexprdouble pitchZ{10 * mu}; // pitch of the column
51
51
constexprdouble totalThickness{silicon::thickness + metalstack::thickness}; // total thickness of the chip
52
+
constexpr std::array<double, nLayers> gaps{1.63 * mm, 1.2 * mm, 1.2 * mm}; // gaps between two consecutive petals
52
53
constexpr std::array<double, nLayers> radii{0.5 * cm, 1.2 * cm, 2.5 * cm}; // radius of layer in cm
53
-
constexpr std::array<double, nLayers> width{radii[0] * 2 * M_PI / 4, radii[1] * 2 * M_PI / 4, radii[2] * 2 * M_PI / 4}; // width of the quarter of layer in cm
54
+
constexpr std::array<double, nLayers> width{radii[0] * 2 * M_PI / 4 - gaps[0], radii[1] * 2 * M_PI / 4 - gaps[1], radii[2] * 2 * M_PI / 4 - gaps[2]};// width of the quarter of layer in cm
54
55
constexprdouble length{50 * cm}; // length of the layer
55
56
constexprint nCols{static_cast<int>(length / pitchZ)}; // number of columns in the chip
56
57
constexpr std::array<int, nLayers> nRows{static_cast<int>(width[0] / pitchX), static_cast<int>(width[1] / pitchX), static_cast<int>(width[2] / pitchX)}; // number of rows in the chip. For the moment is different for each layer since a siner segmentation in repetitive units is stil to be implemented
0 commit comments