Repository navigation
Conversation
…on-detached decay as production-vertex tracks At the charged comboing stage a non-detached decay (Sigma0 -> Lambda gamma) is stored as the combo of the detached decay below it, so Get_SourceParticles_ThisVertex and Get_SourceCombos_ThisVertex returned the Lambda's p and pi- as production-vertex tracks. Now a further-decay combo is skipped when the PIDs of its whole chain equal those of a detached decay at any depth below the use (charged PIDs only if the combo has no neutral). Card: https://pages.jlab.org/halld/auto-hunt/cards/gh-694a-promoted-lambda-daughters-set-production-vertex/ Created by Autonomous HallD "auto-hunt" campaign (executed by Claude) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mline and then uses its decay position For a decaying particle position() is its decay point, so the computed locPOCAToBeamline was unused and the production vertex set by a Lambda sat at the Lambda decay. Now the POCA is used; for a track the two are equal. Card: https://pages.jlab.org/halld/auto-hunt/cards/gh-694b-decaying-particle-poca-unused/ Created by Autonomous HallD "auto-hunt" campaign (executed by Claude) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Test status for this pull request: SUCCESS Summary: summary.txt Build log: make_auto-hunt_combo-vertex-gh694.log |
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.
Draft: one point below (K+ Lambda B4 track sets) is not explained yet.
Found while working on #694. This pull request does not fix the symptom reported there: on current master the Lambda z gaps of the issue are not reproduced. The final report is #694 (comment)
These fixes come from the Hall D bug hunt, an autonomous campaign that read the GlueX software, built a test for every suspect line, and kept only findings confirmed by a measurement: a test run of the program on data or simulation, or a direct call of the code against a known answer. Each commit below fixes one finding and is named by its finding id and grade (S1 most serious, S4 least). Full cards with plots are on the campaign pages (JLab login): https://pages.jlab.org/halld/auto-hunt/index.html
Overall gains
2 confirmed bugs fixed in this pull request (S2, S3), one commit each, most serious first.
Get_SourceParticles_ThisVertexandGet_SourceCombos_ThisVertexskip only detached PIDs, so they return p and pi- as production-vertex tracks. In K+ Sigma0 pi0 the production vertex then comes from a Lambda daughter in 53% of charged combos; the photon z-bin, the pre-fit mass cuts and the RF votes follow a point near the Lambda decay.Calc_VertexcomputeslocPOCAToBeamlinefor a decaying particle and then builds the vertex fromposition(), which for a decaying particle is its decay point (the upstream comment says "not true if decaying"). In K+ Lambda the Lambda sets the production vertex in a third of the combos.Related findings and commits that belong together
Get_SourceCombosAndUses_ThisVertexhas the same recursion and is left as is: its callers in DSourceComboP4Handler pass full combos, where the non-detached decay is not replaced by the detached one.How it was tested
Same 10 REST files of run 132404 (13.4 M events, 2025-01), ReactionFilter,
JANA_CALIB_CONTEXT=calibtime=2025-12-24-00-00-01and the same CCDB for every arm; master run twice for the noise row.The two code tests use the J/psi PID only as a non-detached container (no mass cut). The second one guards against dropping real production-vertex tracks when an all-neutral detached decay sits beside a charged decay.
GH-694b alone on K+ Lambda (first 20 000 events): 1845 of 1850 production vertices set by the Lambda move from its decay point to its POCA on the beamline (dz p10 / p90 -19.3 / +11.5 cm), 0 of 3690 set by the K+ move; about 5.6% of events change. Track sets 2615 -> 2600.
On the Fall 2018 REST of runs 050797, 051060, 051269, 051577 (435 M events, first version of GH-694a with GH-694b): K+ Sigma0 pi0 track sets +20.0% B4_F1, +14.5% B4, against 0.9% noise.
Not tested: other reactions with a detached decay under a non-detached one on data; GH-694b alone on the 2018 sample. In K+ Lambda the B4 track sets are 879 with GH-694b alone and 868 with both commits, although GH-694a is not reached there by the code; this difference is not explained.
Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)
🤖 Generated with Claude Code