@@ -106,16 +106,25 @@ constexpr std::array<int, 3> nHoles{11, 11, 11}; // how
106106constexpr std::array<float , 3 > radiusHoles{1.0 * mm, 1.0 * mm, 2.0 * mm}; // what is the radius of the holes for each layer?
107107constexpr EColor color{kGray };
108108} // namespace carbonfoam
109+ namespace metalstack
110+ {
111+ constexpr float thickness{5 * mu}; // physical thickness of the copper metal stack
112+ constexpr float length{segment::length};
113+ constexpr float width{segment::width};
114+ constexpr EColor color{kBlack };
115+ } // namespace metalstack
109116constexpr unsigned int nLayers{3 };
110117constexpr unsigned int nTotLayers{7 };
111118constexpr unsigned int nSensorsIB{2 * nLayers};
112119constexpr float equatorialGap{1 * mm};
113120constexpr std::array<unsigned int , nLayers> nSegments{3 , 4 , 5 };
114- constexpr float thickness{50 * mu}; // < Physical Thickness of chip
115- constexpr float effThickness{66 * mu}; // < Physical thickness + metal substrate
121+ constexpr float epitaxialThickness{10 * mu};
122+ constexpr float psubThickness{40 * mu};
123+ constexpr float thickness{epitaxialThickness + psubThickness}; // physical thickness of chip
124+ constexpr float effThickness{epitaxialThickness + psubThickness / 2.0 }; // correction to the epitaxial layer
116125constexpr std::array<float , nLayers> radii{19.0006 * mm, 25.228 * mm, 31.4554 * mm}; // middle radius e.g. inner radius+thickness/2.
117- constexpr std::array<float , nLayers> radiiInner{radii[0 ] - thickness / 2 .f , radii[1 ] - thickness / 2 .f , radii[2 ] - thickness / 2 .f }; // inner radius
118- constexpr std::array<float , nLayers> radiiOuter{radii[0 ] + thickness / 2 .f , radii[1 ] + thickness / 2 .f , radii[2 ] + thickness / 2 .f }; // inner radius
126+ constexpr std::array<float , nLayers> radiiInner{radii[0 ] - thickness / 2.0 , radii[1 ] - thickness / 2.0 , radii[2 ] - thickness / 2.0 }; // inner radius
127+ constexpr std::array<float , nLayers> radiiOuter{radii[0 ] + thickness / 2.0 , radii[1 ] + thickness / 2.0 , radii[2 ] + thickness / 2.0 }; // inner radius
119128namespace detID
120129{
121130constexpr unsigned int mDetIDs {2 * 12 * 12 * 12 }; // < 2 Hemispheres * (3,4,5=12 segments in a layer) * 12 RSUs in a segment * 12 Tiles in a RSU
0 commit comments