Skip to content

Commit c29e5e8

Browse files
committed
allow a bit more radius for OT than ML, so that we fit all the exceptions from the tiling that had -9, +3 as the maximum placements past the nominal radius
1 parent b5533a5 commit c29e5e8

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src

‎Detectors/Upgrades/ALICE3/TRKFT3/FT3/simulation/src/FT3Layer.cxx‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,12 @@ void FT3Layer::createLayer(TGeoVolume* motherVolume)
423423
double z_local_offset = z_layer_thickness / 2.0;
424424
// ensure staves fully encapsulated in the layer volume,
425425
// but don't cross out of max nominal radii of 38.5cm & 71.5cm respectively (3.5cm tolerance)
426-
// Allow 9cm inward for OT:
427-
double innerRadiusForAirTube = mIsMiddleLayer ? mInnerRadius : mInnerRadius - 9.0;
426+
// Allow 3, 9cm outward, inward for OT:
427+
double innerRadiusForAirTube = mIsMiddleLayer ? mInnerRadius : mInnerRadius - 9.0;
428+
double outerRadiusForAirTube = mIsMiddleLayer ? mOuterRadius + 2.0 : mOuterRadius + 3.0;
428429
// MvL: try 70.5 // 2.5 cm tolerance instead
429-
TGeoTube* layer = new TGeoTube(innerRadiusForAirTube - 0.2, mOuterRadius + 2.49, z_layer_thickness / 2);
430+
TGeoTube* layer = new TGeoTube(innerRadiusForAirTube - 0.2, outerRadiusForAirTube,
431+
z_layer_thickness / 2);
430432
layerVol = new TGeoVolume(mLayerName.c_str(), layer, medAir);
431433

432434
if (ft3Params.drawReferenceCircles) {

0 commit comments

Comments
 (0)