Repository navigation
Conversation
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>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_VACUUMandPIPE_INOX, while both mothers (RB24B1BellowM,RB24VMABBEBellowM) and every other part in them use the_NFmedia. These modules are field-free on purpose, and the bellow now follows that choice. The bellow helpers ofPipeandPipeRun4take the vacuum and steel media as optional arguments, and the RB24 B1 bellow passes the_NFones. Other bellows are unchanged.The full geometry has the same number of volumes (6239) and placements (5467720) as before. Only
RB24B1BellowUS,RB24B1UpperPlie,RB24B1LowerPlieandRB24B1PlieConn1change medium, and the_NFmedia have the same material and cuts as the ones they replace.https://its.cern.ch/jira/browse/O2-7355
Assisted by Claude Code.