Skip to content

auto-hunt: TRACKING straight-line (field-off) tracking - 8 fixes (S1 1, S2 2, S3 1, S4 4) - #1263

Open
DraTeots wants to merge 8 commits into
masterfrom
auto-hunt/tracking-straight
Open

DraTeots wants to merge 8 commits into
masterfrom
auto-hunt/tracking-straight

Conversation

@DraTeots

@DraTeots DraTeots commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

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). Every commit has a comment in this pull request with the finding's card: what is wrong, the code, the measured effect, who is affected and the fix. Full cards with plots are on the campaign pages (JLab login): https://pages.jlab.org/halld/auto-hunt/index.html, by library: https://pages.jlab.org/halld/auto-hunt/libraries.html

Split out of #1259 at the reviewer's request. #1259 first held all 49 tracking findings. It now holds the production-tracking fixes (S1 to S3); the straight-line (field-off) fixes and the minor (S4) fixes are in two separate pull requests, this one and #1264 (S4). The commits are the same changes as before, cherry-picked onto the current master without conflicts; the three pull requests merge together in any order, and their combination equals the former #1259 branch file for file.

Overall gains

8 confirmed bugs fixed in this pull request (S1 1, S2 2, S3 1, S4 4), one commit each, in the order of the commits (most serious first).

finding grade what was wrong the fix
R3-53 S1 For each hit on a track the fitter stores its residual and error in a small record (a "pull"). In the development code the record changed: the error became a variance and one field was removed. The straight-line fitter, used when the solenoid is off, still fills it in the old order, so later fields shift by one: for central-chamber (CDC) hits a drift time lands in the cathode-residual field, for forward-chamber (FDC) hits a signed residual in the cathode-variance field. The alignment plugin drops any track with a cathode residual above 10 cm or a negative variance: every track. Fill the record in its new order, with variances.
R3-33 S2 Without field, forward tracks are built by linking straight pieces (segments) of the forward drift chambers. The start piece is never marked as used and comes back as a one-piece track: one particle counted twice. The direction computed after a join is dropped. Mark the start piece used; keep the direction after a join.
R3-56 S2 With the solenoid off, tracks are fitted as straight lines in two passes: wire-based (wire positions) and time-based (drift times), which starts from it. For forward tracks the weight of each CDC hit comes from a variable set only in the time-based pass; the wire-based pass uses whatever the build leaves in memory and keeps or drops hits and tracks by it. Give the variable its wire-based value (one line).
R3-52 S3 With the solenoid off, tracks are fitted as straight lines. The time-based fit is told which detector gave the start time and adds its time resolution to each CDC hit error. A newer version of the fit function takes an extra argument before the detector; this one call was not updated. The detector code lands in the new slot, which the straight-line fit never reads; the detector slot gets "none", so the fit adds no start-time error and takes the start time as exact. Release 5.9.0 of the 2025-01 pass is not affected; master and release 5.16.0 are. Pass the detector in its own argument (one line).
R3-45 S4 DTrackCandidate prints a detector and time that differ between identical runs (UNKNOWN 40.155 against NULL_DETECTOR 0.0): a field left unset see the commit
R3-54 S4 DTrackFitterStraightTrack::CDCDriftParameters has no return after the beyond-table branch, so a drift time past the last table entry reads cdc_drift_table one element past its end see the commit
R3-60 S4 Straight-line (field-off) track candidates differ between two identical runs in most events: their time and detector fields are never set see the commit
R3-64 S4 Field-off straight-line tracks with negative Ndof: 14 wire-based and 9 time-based of run 133609 (10000 events), one with chisq 0.000011 at Ndof -2 see the commit

Related findings and commits that belong together

  • R3-53 also corrects the same pull-record call in the optional ALT1 fitter (DTrackFitterALT1.cc); one finding, one commit, so that hunk stays here with the straight-line sites.
  • R3-45 and R3-60: two ways to fix the same unset fields of straight-line track candidates. R3-45 sets them in the DTrackCandidate constructor, which every candidate factory uses, production included; R3-60 sets them in the straight-line candidate factory only. Either one fixes the field-off case; take R3-60 alone if the shared header should not change.
  • R3-53, R3-56, R3-54, R3-64 all edit DTrackFitterStraightTrack.cc and are in this order on the branch.

How it was tested

Each finding's card says how it was confirmed (a run of the program before and after the fix on the same events, or a direct call of the function). The commits were rebased on the current default branch; every changed source file compiles (syntax check against the release headers). A full build and a physics benchmark of this combination of commits has not been run on the new base.


Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

DraTeots and others added 8 commits December 1, 2026 18:15
…resic, errc) to (resi, var, ..., z, tcorr, resic, varc) at master, but the straight-line fitter (3 sites) and ALT1 still pass the old list - field-off pulls carry sigma as variance, cos(theta_rel) as tcorr, the drift time as the CDC cathode residual and the FDC cathode residual as its variance; by reading, MilleFieldOff would reject nearly every field-off track

- `libraries/TRACKING/DTrackFitterStraightTrack.cc`, three sites (CDC forward, FDC, CDC central): pass the variance
  `V` (FDC: `V(0,0)` and `V(1,1)`) instead of its square root and drop the `cosThetaRel` argument, which the master
  `pull_t` no longer has, so `tcorr`, `resic` and `varc` receive what their names say.
- `libraries/TRACKING/DTrackFitterALT1.cc`: pass the variance instead of the error.

Only the arguments change; the fit itself is untouched. Master only: release 5.9.0 has the old `pull_t` and its call
sites are right there.
Card: https://pages.jlab.org/halld/auto-hunt/cards/r3-53-straightline-pulls-old-pull-t-arguments/index.html
Evidence folder: https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-53-straightline-pulls-old-pull-t-arguments

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tart segment never marked matched

Two patches, one cause each, both in `libraries/TRACKING/DTrackFinder.cc`.

- `patches/master.patch` (start segment): one line, `fdc_segments[i][j].matched=true;` where the linked track is
  built. The segments linked to it are already marked; the start segment then no longer comes back as a one-segment
  candidate and can no longer be attached to another track.
- `patches/master-state-companion.patch` (state): `fdc_tracks[i].FindStateVector();` becomes
  `fdc_tracks[i].S=fdc_tracks[i].FindStateVector();` at the two places, as the constructor of `fdc_segment_t` does.

Both apply unchanged to release 5.9.0 (same lines).
Card: https://pages.jlab.org/halld/auto-hunt/cards/r3-33-straightline-stale-state-duplicate-segment/index.html
Evidence folder: https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-33-straightline-stale-state-duplicate-segment

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…C hit variance V_CDC uninitialised in wire-based fits, so field-off forward tracks with CDC hits are filtered with a garbage CDC weight

`libraries/TRACKING/DTrackFitterStraightTrack.cc`: `V_CDC` starts at `1.15*(0.78*0.78/12.)`, the wire-based CDC
variance the central filter of the same file uses; time-based fits overwrite it with `CDCDriftParameters` as before.
One line. The patch applies to master and to release 5.9.0 unchanged (the file is the same).
Card: https://pages.jlab.org/halld/auto-hunt/cards/r3-56-straightline-forward-cdc-variance-uninitialised/index.html
Evidence folder: https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-56-straightline-forward-cdc-variance-uninitialised

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…etector into the new t0_sigma argument of DTrackFitter::FitTrack, so every field-off time-based fit gets t0_detector = SYS_NULL (and t0_sigma = 256 for the start counter)

`libraries/TRACKING/DTrackTimeBased_factory_StraightLine.cc`: the call to `DTrackFitter::FitTrack` passes
`Quiet_NaN` for the new `t0_sigma` argument (its default) and the start-time detector in `t0_det`, so the call
matches the master signature. One line; it is the only call of this wrapper with a start time in `libraries/` and `plugins/`.
Card: https://pages.jlab.org/halld/auto-hunt/cards/r3-52-straightline-t0-detector-into-t0-sigma/index.html
Evidence folder: https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-52-straightline-t0-detector-into-t0-sigma

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…en identical runs (UNKNOWN 40.155 against NULL_DETECTOR 0.0): a field left unset

`patches/master.patch`, one line in `libraries/TRACKING/DTrackCandidate.h`: the constructor also sets `xc`, `yc`,
`rc`, `dCharge` and `dMinimumDriftTime` to 0, `dDetector` to `SYS_NULL`, and `FirstPackage` and `LastPackage` to 0.
These are the values release 5.9.0 gives the time and its detector (`DTrackingData`). Factories that set the members
are not changed; the StraightLine factory (no-field runs) now hands out defined values where it sets none.

Setting the fields in the StraightLine factory alone would fix the case seen; the constructor covers every factory
and every member at once. The code comment in the patch says the wire-based factory reads these fields of every
candidate; with no field it does not (it takes the StraightLine wire-based tracks), so the comment may be shortened.
Card: https://pages.jlab.org/halld/auto-hunt/cards/r3-45-straightline-candidate-detector-time-unset/index.html
Evidence folder: https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-45-straightline-candidate-detector-time-unset

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…after the beyond-table branch, so a drift time past the last table entry reads cdc_drift_table one element past its end

`libraries/TRACKING/DTrackFitterStraightTrack.cc`, `CDCDriftParameters`: the interpolation block becomes the `else`
branch of the beyond-table test, so a drift time beyond the last entry keeps `d = f_delta` and never reads the table.
Two lines (an `else{` and its closing brace); the result is the value the code computes today whenever the read past
the end returns a finite number. The file is identical at release 5.9.0; the patch applies there unchanged.
Card: https://pages.jlab.org/halld/auto-hunt/cards/r3-54-straight-line-drift-table-read-past-end/index.html
Evidence folder: https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-54-straight-line-drift-table-read-past-end

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o identical runs in most events: their time and detector fields are never set

`libraries/TRACKING/DTrackCandidate_factory_StraightLine.cc`: after each `new DTrackCandidate` (the FDC and the CDC
branch), set `dMinimumDriftTime = 0`, `dDetector = SYS_NULL`, `xc = yc = rc = 0` and `FirstPackage = LastPackage = 0`,
the values release 5.9.0 effectively gives the time and the detector. Five lines per branch. An initialiser in
`DTrackCandidate.h` would cover every factory but recompile every user of the header; this patch keeps to the factory
that leaves them unset. Master only: release 5.9.0 initialises them in the base class.
Card: https://pages.jlab.org/halld/auto-hunt/cards/r3-60-straight-line-candidate-unset-time-detector/index.html
Evidence folder: https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-60-straight-line-candidate-unset-time-detector

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ased and 9 time-based of run 133609 (10000 events), one with chisq 0.000011 at Ndof -2

One line in `libraries/TRACKING/DTrackFitterStraightTrack.cc`, at the end of the forward Kalman filter: return
`VALUE_OUT_OF_RANGE` when the measurement count is 4 or less, before `ndof-=4`. This is the guard the central filter
already has (line 596), so both filters now treat a fit without degrees of freedom the same way: the iteration fails, the
fit keeps its previous iteration or, on the first one, fails.
Card: https://pages.jlab.org/halld/auto-hunt/cards/r3-64-straight-line-forward-fit-negative-ndof/index.html
Evidence folder: https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-64-straight-line-forward-fit-negative-ndof

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DraTeots

DraTeots commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

R3-53 S1 (commit 97d8753)

The field-off drift-chamber alignment gets no tracks: the straight-line fitter fills hit residuals in an old order

What is wrong. For each hit on a track the fitter stores its residual and error in a small record (a "pull").
In the development code the record changed: the error became a variance and one field was removed. The
straight-line fitter, used when the solenoid is off, still fills it in the old order, so later fields shift by one:
for central-chamber (CDC) hits a drift time lands in the cathode-residual field, for forward-chamber (FDC) hits a
signed residual in the cathode-variance field. The alignment plugin drops any track with a cathode residual above
10 cm or a negative variance: every track.

The code (on GitHub):

// the record now:  pull_t(resi, var, s, tdrift, d, cdc_hit, fdc_hit, docaphi, z, tcorr, resic, varc, ...)
pull_t thisPull(resi,sqrt(V),                     // an error where the variance belongs
                best_trajectory[m].t*SPEED_OF_LIGHT,
                cdc_updates[id].tdrift,
                d,cdchits[id], NULL,
                diff.Phi(), //docaphi
                best_trajectory[m].z,cosThetaRel,  // a removed field: shifts the rest by one
                cdc_updates[id].tdrift);           // so the drift time lands in the cathode residual

Fixed, as the main (Kalman) fitter already fills it:

pull_t thisPull(resi,V, ..., best_trajectory[m].z, cdc_updates[id].tdrift);

What it does (real data, field-off run, 10000 events):

alignment file now (same file, two attempts) with the fix
tracks written 0 2003
size 0 bytes 4781684 bytes

Plot: BH-371: tracks written to the field-off alignment file, today and with the fix

BH-371 (version 2). Today's bars have zero length; orange with the fix. Limits: the alignment fit itself was not run.

Who is affected. Field-off alignment of the CDC and FDC with the development code; anyone reading the pulls of
field-off tracks.

Who is not. Field-on running and physics; release 5.9.0 (it has the old record).

The fix. Fill the record in its new order, with variances.

Grade S1 (most severe of four, "an output missing in every event"): the alignment output is empty; no crash, no
physics output changes. Development code only; a calibration setup outside the production plugin list.


Full card with plots and the evidence for the code owner: https://pages.jlab.org/halld/auto-hunt/cards/r3-53-straightline-pulls-old-pull-t-arguments/index.html
Evidence folder (tests, patches, review): https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-53-straightline-pulls-old-pull-t-arguments

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

@DraTeots

DraTeots commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

R3-33 S2 (commit cfe8bc3)

Solenoid off: each forward track's first piece also comes back as its own track

What is wrong. Without field, forward tracks are built by linking straight pieces (segments) of the
forward drift chambers. The start piece is never marked as used and comes back as a one-piece track: one
particle counted twice. The direction computed after a join is dropped.

The code (on GitHub):

if (myhits.size()>0){         // pieces of later packages were linked: build the track
   myhits.insert(myhits.begin(),fdc_segments[i][j].hits.begin(),fdc_segments[i][j].hits.end());
   fdc_tracks.push_back(fdc_segment_t(myhits));
}                             // <-- the start piece is never marked as used
...
fdc_tracks[i].FindStateVector();   // <-- after a join: the new direction is computed and dropped
...
// Make track candidates out of single segments not connected to other tracks
if (fdc_segments[j][k].matched==false){
  fdc_tracks.push_back(fdc_segments[j][k]);   // so the start piece comes back as a track

Fixed:

   fdc_segments[i][j].matched=true;
   fdc_tracks[i].S=fdc_tracks[i].FindStateVector();

What it does (field-off run 133609, 2.4M events; selected events, mostly not the
exclusive reaction; σ: gained minus lost over the square root of their sum):

reaction today → fixed change
π⁰ → γγ 255 → 266 +4.3%, 3.05σ
η → γγ 327 → 341 +4.3%, 3.7σ
ω → π⁰γ 878 → 912 +3.9%, 4.7σ

η → π⁰γγ: not run on this sample.

About half of the gains are explained by the duplicates: the selection drops events with more than three extra
tracks, and 33 of the 69 gains sit at that limit with the fixes; the rest is not explained, and the two fixes were
measured together. Good fits do not change (16, 2 and 24 both ways): no yield gain is shown.

Plot: BH-443: 789 of the 833 candidates the fix removes are the start segment of a kept track, counted a second time

BH-443. A different sample from the table's: field on, 1000 events (998 read), finder forced on, start-piece fix alone.

Who is affected. Event selection without field, the only case using this finder. The 2025-01 pass has the
same lines; whether it made field-off files is not known.

The fix. Mark the start piece used; keep the direction after a join.

Grade S2 (second of four levels of how widely an output moves): three photon reactions change by about 4%
without field. It says nothing about field-on running or alignment.


Full card with plots and the evidence for the code owner: https://pages.jlab.org/halld/auto-hunt/cards/r3-33-straightline-stale-state-duplicate-segment/index.html
Evidence folder (tests, patches, review): https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-33-straightline-stale-state-duplicate-segment

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

@DraTeots

DraTeots commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

R3-56 S2 (commit 90d6fc2)

Field-off track fits weight forward CDC hits with an uninitialised number

What is wrong. With the solenoid off, tracks are fitted as straight lines in two passes: wire-based (wire
positions) and time-based (drift times), which starts from it. For forward tracks the weight of each CDC hit comes
from a variable set only in the time-based pass; the wire-based pass uses whatever the build leaves in memory and
keeps or drops hits and tracks by it.

The code (on GitHub):

double V_CDC;                                   // declared, never given a value
...
if (fit_type==kTimeBased){
  ...
  CDCDriftParameters(dphi,delta,tdrift,dmeas,V_CDC);    // set only in the time-based pass
}
...
double InvV=1./(V_CDC+H_CDC*C*H_T_CDC);         // wire-based pass: reads the garbage value

Fixed, with the wire-based value the same fitter already uses for central tracks:

double V_CDC=1.15*(0.78*0.78/12.);              // (0.78 cm)^2/12, the code's scale factor 1.15

What it does (field-off data, 10 000 events; two runs of today's code are identical):

straight tracks today with the fix
wire-based 24227 25911 (+7.0%)
time-based (final) 18247 19886 (+9.0%)

Plot: BH-390: field-off track counts today and with the fix

BH-390. Limits: one field-off run, no truth (no field-off simulation), one build.

Benchmark reactions (a change; no direction is claimed):

2.4M raw events of the field-off run 133609 (solenoid off), master; same events, σ from events gained and lost:

reaction today → fixed change
π⁰ → γγ 255 → 214 -16.1%, -5.9σ
η → γγ 327 → 267 -18.3%, -7.0σ
ω → π⁰γ 878 → 718 -18.2%, -11.2σ

No event selected in this sample: ω → π⁺π⁻π⁰, ρ → π⁺π⁻, φ → K⁺K⁻ and e⁺e⁻.

Who is affected. Anyone reconstructing field-off runs (mostly alignment): these are then the default tracks.

Who is not. Field-on data and simulation, including eta -> pi0 gamma gamma: the straight-line fit does not make
those tracks.

The fix. Give the variable its wire-based value (one line).

Grade S2 (second most severe of four): track counts change by more than 1% in this build (another build may
differ). Neither the fit quality (76.4% of added tracks fit with probability of at least 1%, against 65.2% of all)
nor the 16-18% loss says which side is right.


Full card with plots and the evidence for the code owner: https://pages.jlab.org/halld/auto-hunt/cards/r3-56-straightline-forward-cdc-variance-uninitialised/index.html
Evidence folder (tests, patches, review): https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-56-straightline-forward-cdc-variance-uninitialised

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

@DraTeots

DraTeots commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

R3-52 S3 (commit 7f70127)

Field-off track fits lose the detector of the start time

What is wrong. With the solenoid off, tracks are fitted as straight lines. The time-based fit is told which
detector gave the start time and adds its time resolution to each CDC hit error. A newer
version of the fit function takes an extra argument before the detector; this one call was not updated. The detector
code lands in the new slot, which the straight-line fit never reads; the detector slot gets "none", so the fit adds
no start-time error and takes the start time as exact. Release 5.9.0
of the 2025-01 pass is not affected; master and release 5.16.0 are.

The code. The real lines (on GitHub):

// the fit function, master: a start-time error was added before the detector
FitTrack(pos, mom, q, mass, double t0, double t0_sigma, DetectorSystem_t t0_det=SYS_NULL);

// the field-off call, written for the old argument list
fitter->FitTrack(pos,dir,1.,0.,t0,t0_detector)     // <-- the detector goes into t0_sigma

Fixed:

fitter->FitTrack(pos,dir,1.,0.,t0,Quiet_NaN,t0_detector)   // NaN: the unused default; the error comes from the detector

What it does. Field-off run 133609 (2025-01), first 10000 events; two runs of today's code are identical:

field-off time-based tracks today with the fix
tracks 18247 18315
events that change 4194 of 10000
tracks whose fit chi2 falls / rises 6076 / 459

A lower chi2 is expected once hit errors grow; it does not say which fit is right.

No benchmark reaction moves beyond the run-to-run noise (2.4M raw events, field off).

Plot: BH-558: with the fix the fit chi2 falls in 6076 field-off tracks and rises in 459

BH-558. Change of the fit chi2 per field-off track, fix minus today.

Who is affected. Anyone reconstructing field-off runs with master or 5.16.0, mostly for alignment: these are
then the default tracks. Which passes did is not known.

Who is not. Field-on data and simulation, and every job of release 5.9.0.

The fix. Pass the detector in its own argument (one line).

Grade S3 (third of four levels, S1 the most severe), graded on field-off jobs: tracks change in a minority of
events (42%; 37% leaving out fits whose chi2 alone changes). No benchmark reaction moves.


Full card with plots and the evidence for the code owner: https://pages.jlab.org/halld/auto-hunt/cards/r3-52-straightline-t0-detector-into-t0-sigma/index.html
Evidence folder (tests, patches, review): https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-52-straightline-t0-detector-into-t0-sigma

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

@DraTeots

DraTeots commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

R3-45 S4 (commit f1a9ba8)


Full card with plots and the evidence for the code owner: https://pages.jlab.org/halld/auto-hunt/cards/r3-45-straightline-candidate-detector-time-unset/index.html
Evidence folder (tests, patches, review): https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-45-straightline-candidate-detector-time-unset

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

@DraTeots

DraTeots commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

R3-54 S4 (commit f41db51)


Full card with plots and the evidence for the code owner: https://pages.jlab.org/halld/auto-hunt/cards/r3-54-straight-line-drift-table-read-past-end/index.html
Evidence folder (tests, patches, review): https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-54-straight-line-drift-table-read-past-end

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

@DraTeots

DraTeots commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

R3-60 S4 (commit 4b4e3ef)


Full card with plots and the evidence for the code owner: https://pages.jlab.org/halld/auto-hunt/cards/r3-60-straight-line-candidate-unset-time-detector/index.html
Evidence folder (tests, patches, review): https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-60-straight-line-candidate-unset-time-detector

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

@DraTeots

DraTeots commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

R3-64 S4 (commit 3a44e79)


Full card with plots and the evidence for the code owner: https://pages.jlab.org/halld/auto-hunt/cards/r3-64-straight-line-forward-fit-negative-ndof/index.html
Evidence folder (tests, patches, review): https://code.jlab.org/halld/auto-hunt/-/tree/main/bughunt/confirmed/halld_recon/TRACKING/r3-64-straight-line-forward-fit-negative-ndof

Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

@DraTeots

DraTeots commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

This pull request was split out of #1259 at your request. It holds the straight-line (field-off) tracking fixes: R3-53 (97d8753e5), R3-33, R3-56, R3-52, R3-45, R3-54, R3-60 and R3-64 (3a44e79dc). Each is the commit of #1259 unchanged, cherry-picked onto the current master without conflicts. The changed files pass a syntax-only compile against the release headers.

Two notes. R3-53 also fixes the same call in the optional ALT1 fitter; it is one finding, so it is kept in one commit. R3-45 and R3-60 are alternatives: R3-45 changes the shared DTrackCandidate constructor, and R3-60 changes only the straight-line candidate factory.


Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)

@gluex

gluex commented Dec 1, 2026

Copy link
Copy Markdown

Test status for this pull request: SUCCESS

Summary: summary.txt
Logs: results/log

Build log: make_auto-hunt_tracking-straight.log
Build report: report_auto-hunt_tracking-straight.txt

@nsjarvis nsjarvis removed their assignment Dec 2, 2026
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.

4 participants