Skip to content

Commit 63cd5f4

Browse files
sawenzelclaude
andcommitted
Give the FT0 cable container a hole for the beam pipe
This fixes an overlap between the FT0 A-side cable container and the beam pipe. - 0CAA is a 40 x 40 x 0.5 cm air box centred on the beam axis, so it crosses the pipe wall and fills the pipe bore. - The box is now a composite shape with a 3 cm hole. The pipe outer radius there is 2.5 cm and the nearest cable sits at r = 5.68 cm. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent fba03ad commit 63cd5f4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Detectors/FIT/FT0/simulation/src/Detector.cxx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,13 @@ void Detector::SetCablesA(TGeoVolume* stl)
294294

295295
TVirtualMC::GetMC()->Gsvolu("0CAA", "BOX", getMediumID(kAir), pcableplane, 3); // container for cables
296296
TGeoVolume* cableplane = gGeoManager->GetVolume("0CAA");
297+
// A hole for the beam pipe. The cable container spans the whole A-side face and
298+
// would otherwise fill the pipe bore, which belongs to the beam-pipe vacuum. The
299+
// pipe outer radius here is 2.5 cm and the nearest cable sits at r = 5.68 cm.
300+
const float kBeamPipeHoleRadius = 3.;
301+
new TGeoBBox("0CAAbox", pcableplane[0], pcableplane[1], pcableplane[2]);
302+
new TGeoTube("0CAAhole", 0., kBeamPipeHoleRadius, pcableplane[2] + 0.1);
303+
cableplane->SetShape(new TGeoCompositeShape("0CAAshape", "0CAAbox-0CAAhole"));
297304
// float zcableplane = -mStartA[2] + 2 * mInStart[2] + pcableplane[2];
298305
int na = 0;
299306
double xcell[24], ycell[24];

0 commit comments

Comments
 (0)