Skip to content

Integrate geometry step killing - #15684

Merged
sawenzel merged 2 commits into
AliceO2Group:devfrom
sawenzel:geometry-step-killing
Aug 18, 2026
Merged

Integrate geometry step killing#15684
sawenzel merged 2 commits into
AliceO2Group:devfrom
sawenzel:geometry-step-killing

Conversation

@sawenzel

Copy link
Copy Markdown
Collaborator

This commit integrates the geometry-step killing mechanism originally studied by Benedikt Voelkel and Anthony Swain. A step filter is loaded from a ROOT macro named by SimCutParams.stepFilteringMacro and evaluated for every step in addition to the built-in z/R cut, and MCReplayParam.allowStopTrack lets a replay act on it. Both are unset by default.

The code is taken from

#12119
https://github.com/benedikt-voelkel/AliceO2/tree/geom-cuts
https://github.com/benedikt-voelkel/AliceO2/tree/envelope
https://github.com/AnthonySwain/AliceO2/tree/ParticleSpecificMaps

and the studies behind it are presented in

B. Voelkel, Geometry cuts in MC transport, WP12/13, 11.10.2023
https://indico.cern.ch/event/1334852/contributions/5620122/
A. Swain, Geometric hyperparameter optimisation of ALICE MC transport
https://indico.cern.ch/event/1323900/contributions/5571214/
CERN-STUDENTS-Note-2023-164

In addition, we provide run/SimExamples/Geometry_StepFiltering, which runs the whole chain from a reference simulation to a hull-filtered replay, and makeKeepStepCylinders.macro, which is able to rederive the geometry hull from a closed geometry to some extent.

Thanks to @galickazuzanna for help in compiling this commit.

This commit integrates the geometry-step killing mechanism originally studied
by Benedikt Voelkel and Anthony Swain. A step filter is loaded from a ROOT
macro named by SimCutParams.stepFilteringMacro and evaluated for every step in
addition to the built-in z/R cut, and MCReplayParam.allowStopTrack lets a
replay act on it. Both are unset by default.

The code is taken from

  AliceO2Group#12119
  https://github.com/benedikt-voelkel/AliceO2/tree/geom-cuts
  https://github.com/benedikt-voelkel/AliceO2/tree/envelope
  https://github.com/AnthonySwain/AliceO2/tree/ParticleSpecificMaps

and the studies behind it are presented in

  B. Voelkel, Geometry cuts in MC transport, WP12/13, 11.10.2023
  https://indico.cern.ch/event/1334852/contributions/5620122/
  A. Swain, Geometric hyperparameter optimisation of ALICE MC transport
  https://indico.cern.ch/event/1323900/contributions/5571214/
  CERN-STUDENTS-Note-2023-164

In addition, we provide run/SimExamples/Geometry_StepFiltering, which runs the
whole chain from a reference simulation to a hull-filtered replay, and
makeKeepStepCylinders.macro, which is able to rederive the geometry hull from
a closed geometry to some extent.

Thanks to @galickazuzanna for help in compiling this commit.

Co-authored-by: Benedikt Volkel <benedikt-voelkel@users.noreply.github.com>
Co-authored-by: Anthony Swain <AnthonySwain@users.noreply.github.com>
Co-authored-by: Zuzanna Galicka <galickazuzanna@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
@sawenzel
sawenzel enabled auto-merge (squash) August 17, 2026 11:58
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for 50437c2 at 2026-08-17 17:56:

No log files found

Full log here.

@sawenzel
sawenzel disabled auto-merge August 18, 2026 07:19
@sawenzel
sawenzel merged commit 61350cd into AliceO2Group:dev Aug 18, 2026
9 of 10 checks passed
@sawenzel
sawenzel deleted the geometry-step-killing branch August 18, 2026 07:20
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.

2 participants