@@ -234,7 +234,7 @@ std::pair<float, float> TRKSegmentedLayer::getBoundingRadii(double staveWidth) c
234234 }
235235
236236 // Add a 10-micron safety margin to prevent false-positive overlaps in ROOT's geometry checker caused by floating-point inaccuracies
237- const float precisionMargin = 0.001 ;
237+ const float precisionMargin = 0 .05f ;
238238
239239 return {radiusMin - precisionMargin, radiusMax + precisionMargin};
240240}
@@ -353,7 +353,7 @@ std::pair<float, float> TRKMLLayer::getBoundingRadii(double staveWidth) const
353353 float v_max = avgRadiusOuter * std::cos (alpha) + staveSizeY / 2.0 ;
354354 float radiusMax = std::sqrt (u_max * u_max + v_max * v_max);
355355
356- const float precisionMargin = 0.001 ;
356+ const float precisionMargin = 0 .05f ;
357357
358358 return {radiusMin, radiusMax + precisionMargin};
359359}
@@ -448,6 +448,13 @@ void TRKOTLayer::createLayer(TGeoVolume* motherVolume)
448448 LOGP (debug, " Inserting {} in {} " , layerVol->GetName (), motherVolume->GetName ());
449449 motherVolume->AddNode (layerVol, 1 , nullptr );
450450}
451+
452+ std::pair<float , float > TRKOTLayer::getBoundingRadii (double staveWidth) const
453+ {
454+ auto [radiusMin, radiusMax] = TRKSegmentedLayer::getBoundingRadii (staveWidth);
455+
456+ return {radiusMin - 0 .201f , radiusMax};
457+ }
451458// ClassImp(TRKLayer);
452459
453460} // namespace trk
0 commit comments