@@ -252,7 +252,7 @@ static long algorithm(Detector& /* description */, cms::DDParsingContext& contex
252252 double dz = 0.5 * layerL - 2 . * fillerDz;
253253 double _rmi = std::min (rin + 0.5 * dd4hep::mm, rout - 0.5 * dd4hep::mm);
254254 double _rma = std::max (rin + 0.5 * dd4hep::mm, rout - 0.5 * dd4hep::mm);
255- solid = ns.addSolidNS (name, Tube (_rmi, _rma, dz, -0.5 * width, width));
255+ solid = ns.addSolidNS (name, Tube (_rmi, _rma, dz, -0.5 * width, 0.5 * width));
256256 LogDebug (" TIBGeom" ) << solid.name () << " Tubs made of " << ribMat << " from " << -0.5 * convertRadToDeg (width)
257257 << " to " << 0.5 * convertRadToDeg (width) << " with Rin " << rin + 0.5 * dd4hep::mm << " Rout "
258258 << rout - 0.5 * dd4hep::mm << " ZHalf " << dz;
@@ -490,7 +490,7 @@ static long algorithm(Detector& /* description */, cms::DDParsingContext& contex
490490 break ;
491491 }
492492
493- solid = ns.addSolidNS (name, Tube (pillarRin, pillarRout, pillarDz, -pillarDPhi, 2 . * pillarDPhi));
493+ solid = ns.addSolidNS (name, Tube (pillarRin, pillarRout, pillarDz, -pillarDPhi, pillarDPhi));
494494 Volume Pillar = ns.addVolumeNS (Volume (name, solid, ns.material (pillarMaterial)));
495495 LogDebug (" TIBGeom" ) << solid.name () << " Tubs made of " << pillarMaterial << " from " << -pillarDPhi << " to "
496496 << pillarDPhi << " with Rin " << pillarRin << " Rout " << pillarRout << " ZHalf " << pillarDz;
0 commit comments