Skip to content

Make the RB24 B1 bellow field-free like its mothers - #16223

Open
sawenzel wants to merge 1 commit into
AliceO2Group:devfrom
sawenzel:swenzel/pipe-bellow-nf
Open

sawenzel wants to merge 1 commit into
AliceO2Group:devfrom
sawenzel:swenzel/pipe-bellow-nf

Conversation

@sawenzel

Copy link
Copy Markdown
Collaborator

This fixes a stuck-track situation with Geant4 and TGeo that arose from flips between the RB24 B1 bellow vacuum, which had the magnetic field on, and its field-free mother. An electron grazing the bellow's inner surface could switch between the two volumes with zero-length steps until it hit the 30000-step limit, about once per few hundred pp events.

The bellow vacuum and its steel plies were built with PIPE_VACUUM and PIPE_INOX, while both mothers (RB24B1BellowM, RB24VMABBEBellowM) and every other part in them use the _NF media. These modules are field-free on purpose, and the bellow now follows that choice. The bellow helpers of Pipe and PipeRun4 take the vacuum and steel media as optional arguments, and the RB24 B1 bellow passes the _NF ones. Other bellows are unchanged.

The full geometry has the same number of volumes (6239) and placements (5467720) as before. Only RB24B1BellowUS, RB24B1UpperPlie, RB24B1LowerPlie and RB24B1PlieConn1 change medium, and the _NF media have the same material and cuts as the ones they replace.

https://its.cern.ch/jira/browse/O2-7355

Assisted by Claude Code.

This fixes a stuck-track situation with Geant4 and TGeo caused by a field flip at the RB24 B1 bellow.

- The bellow vacuum and plies used PIPE_VACUUM and PIPE_INOX, which have the field on.
- Both mothers, RB24B1BellowM and RB24VMABBEBellowM, and all their other parts use the _NF media.
- These RB24 modules are field-free on purpose; the bellow now follows that choice.
- An electron grazing the old boundary could flip between the two volumes with zero steps until the step limit.
- The bellow helpers of Pipe and PipeRun4 now take the vacuum and steel media as optional arguments.
- The RB24 B1 bellow passes the _NF media; other bellows are unchanged.

https://its.cern.ch/jira/browse/O2-7355

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sawenzel
sawenzel requested a review from amorsch November 27, 2026 11:40

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant