Skip to content

feat: impose time and track length limit for optical photons in DIRC - #1133

Open
wdconinc wants to merge 2 commits into
mainfrom
dirc-time-track-length-max
Open

feat: impose time and track length limit for optical photons in DIRC#1133
wdconinc wants to merge 2 commits into
mainfrom
dirc-time-track-length-max

Conversation

@wdconinc

@wdconinc wdconinc commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Briefly, what does this PR introduce? Please link to any relevant presentations or discussions.

Based on discussions with the DIRC DSC, this solution is preferred over #1113.

What is the urgency of this PR?

  • High (please describe reason below)
  • Medium
  • Low

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue: cut out long lived optical photons)
  • Optimization (issue #__)
  • Updated constants (issue #__)
  • Updated documentation
  • other: __

Please check if any of the following apply

  • This PR introduces breaking changes. Please describe changes users need to make below.
  • This PR changes default behavior. Please describe changes below.
  • AI was used in preparing this PR. Please describe usage below.

This is intended for July campaign inclusion.

Copilot AI review requested due to automatic review settings July 3, 2026 21:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds DD4hep region limits to the DIRC geometry to terminate long-lived optical photons by enforcing maximum propagation time and maximum track length, addressing the simulation pathology of extremely long optical-photon trajectories discussed with the DIRC DSC.

Changes:

  • Define a DIRCRegionLimits limitset with time_max and track_length_max applying specifically to opticalphoton.
  • Attach DIRCRegionLimits to DIRCRegion via <limitsetref>, so the DIRC detector’s assigned region enforces these limits.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions Bot added topic: barrel Mid-rapidity detectors topic: PID Particle identification labels Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: barrel Mid-rapidity detectors topic: PID Particle identification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants