Skip to content

add optional efficiency check#1131

Merged
baltzell merged 5 commits intodevelopmentfrom
trutheff-dev
Feb 26, 2026
Merged

add optional efficiency check#1131
baltzell merged 5 commits intodevelopmentfrom
trutheff-dev

Conversation

@baltzell
Copy link
Collaborator

@baltzell baltzell commented Feb 26, 2026

The CLI-driven trutheff will now deliver a non-zero exit code if the efficiency is low. For example, trutheff -pid 2212:0.9,11:0.95 will exit non-zero if proton/electron efficiency is below 90/95%. This could replace all components of our old 2-particle-EB-tests downstream of event generation in validation/advanced-tests. This new efficiency check can also be called programmatically.

@baltzell baltzell requested a review from c-dilks February 26, 2026 03:11
@baltzell baltzell enabled auto-merge (squash) February 26, 2026 03:11
@baltzell baltzell merged commit 691fec8 into development Feb 26, 2026
22 of 23 checks passed
@c-dilks c-dilks deleted the trutheff-dev branch February 26, 2026 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants