Skip to content

Refine particle acceptance criteria for truth seeds - #2940

Open
ShujieL wants to merge 2 commits into
mainfrom
ShujieL-patch-1
Open

Refine particle acceptance criteria for truth seeds#2940
ShujieL wants to merge 2 commits into
mainfrom
ShujieL-patch-1

Conversation

@ShujieL

@ShujieL ShujieL commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Updated particle acceptance criteria to include all generated particles that have been transported in simulation, clarifying the conditions for truth seed production.

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

This change use the simulation status (nonzero if the particle is transported by the simulation) as the only cut to reject mcparticles that have no chance to leave hits. It will accept both primary/secondary beam background and signal particles so it's proper for background studies.

This change makes the code clearer but effectively have NO impact on the actual truth seeding behavior, because the previous "or" cut on generator status of 1 does not add anything in our current simulation setting: all generator status=1 particles are transported. Any observed issue with truth seeding will remain and require separate investigations.

What is the urgency of this PR?

  • High (please describe reason below)
  • Medium
  • [x ] Low

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • [x ] Optimization (issue #__)
  • Updated parameters, constants (issue #__)
  • Updated documentation
  • other: __

Please check if any of the following apply

  • This PR requires changes to geometry (epic PR: __)
  • This PR requires changes to EDM4eic (EDM PR: __)
  • 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.

Updated particle acceptance criteria to include all generated particles that have been transported in simulation, clarifying the conditions for truth seed production.
@ShujieL
ShujieL requested a review from DraTeots September 3, 2026 19:29
@github-actions github-actions Bot added the topic: tracking Relates to tracking reconstruction label Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: tracking Relates to tracking reconstruction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant