Skip to content
Snippets Groups Projects
Commit abefcd54 authored by Jonas Hahnfeld's avatar Jonas Hahnfeld Committed by Paul Gessinger-Befurt
Browse files

Center strip barrel

parent 765b9ac1
Branches
Tags
1 merge request!49Center strip barrel
Pipeline #4883392 passed
No preview for this file type
No preview for this file type
......@@ -72,8 +72,8 @@ static Ref_t create_element(Detector &oddd, xml_h xml, SensitiveDetector sens) {
double gap = x_stave.gap();
unsigned int nModules = x_stave.nmodules();
double ystep = length + gap;
double ymin = (nModules * 0.5 - 0.5) * length;
double staveHlength = ymin + 0.5 * length;
double ymin = (nModules * 0.5 - 0.5) * ystep;
double staveHlength = ymin + 0.5 * ystep;
// Loop over the modules and place them in the stave
for (unsigned int moduleNum = 0; moduleNum < nModules; ++moduleNum) {
......
......
......@@ -129,10 +129,10 @@
<connector/>
</support>
<services>
<cable_routing nphi="30" phi0="0." number="10" rmin="0.*mm" rmax="0.75*mm" dz="2.*mm" z_offset="1159.*mm" gap="8.*mm" material="Cu" vis="orange">
<cable_routing nphi="30" phi0="0." number="10" rmin="0.*mm" rmax="0.75*mm" dz="2.*mm" z_offset="1164.*mm" gap="8.*mm" material="Cu" vis="orange">
<box dz="2.*mm" material="CarbonFiber" vis="CarbonFiber"/>
</cable_routing>
<cooling_routing nphi="30" phi0="0.104" number="6" rmin="1.2*mm" rmax="1.4*mm" dz="0.*mm" z_offset="1159.*mm" gap="8.*mm" material="Ti" vis="orange"/>
<cooling_routing nphi="30" phi0="0.104" number="6" rmin="1.2*mm" rmax="1.4*mm" dz="0.*mm" z_offset="1164.*mm" gap="8.*mm" material="Ti" vis="orange"/>
</services>
</detector>
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment