Repository navigation
Conversation
…m GetTargetZ as the target z The plugin calls GetTargetZ and assigns its returned bool to the target z, so z is 1 cm instead of 65 cm and every FCAL timing offset comes out about 2.1 ns low. It also does not compile on master: locEvent is undeclared at the two fill-lock calls, which now take `this` as in every other calibration plugin. Measured on 5000 events of run 132404 (calibtime 2025-12-24-00-00-01): offsets rise by +2.119 ns on average over 920 channels, as expected from the 64 cm vertex shift; two identical fixed runs differ by 0.000 ns. Card: https://pages.jlab.org/halld/auto-hunt/cards/gh-1246-fcal-timingoffsets-compile-target-z/ 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_fcal-timingoffsets.log |
The FCAL timing-offsets plugin does not compile, and once it does, every offset is 2.1 ns lowWhat is wrong. An optional calibration plugin that derives FCAL timing offsets cannot be built: two lines use a The code. The real lines, shortened (on GitHub): Fixed: What it does (5000 events of run 132404, plugin built with and without the fix):
Fixed minus wrong offsets: median +2.125 ns, expected +2.09 to +2.14 ns, noise 0.000 ns Summary of the per-channel offset shifts (mean, median, percentiles), fixed minus wrong, and the noise run. The shift matches the 64 cm path difference (64 cm / 29.98 cm/ns = 2.13 ns). Who is affected.
Who is not. All production and calibration jobs: none builds this plugin. Standard reconstruction and the physics benchmarks. The fix. Use Grade S4: an option the program does not use. A common 2.1 ns shift is what a global time alignment can absorb; the block-to-block part is below the 0.125 ns histogram bin. Full card (JLab login): https://pages.jlab.org/halld/auto-hunt/cards/gh-1246-fcal-timingoffsets-compile-target-z/ Created by Autonomous HallD "auto-hunt" campaign (executed by Claude) |
FCAL_TimingOffsets: build again and use the real target z
Fixes #1246
The campaign card (JLab login): https://pages.jlab.org/halld/auto-hunt/cards/gh-1246-fcal-timingoffsets-compile-target-z/ . Same finding as R1-P11g of the campaign table.
Change
src/plugins/Calibration/FCAL_TimingOffsets/JEventProcessor_FCAL_TimingOffsets.cc:locGeometry->GetTargetZ(locTargetZCenter);without assigning the returned bool to the target z (z was 1 cm instead of 65 cm).DEvent::GetLockService(event)->RootFillLock(this)andRootFillUnLock(this), as every other calibration plugin calls them.Tested
locEvent.Not tested
Side effects
Offsets from this plugin rise by about 2.1 ns in every channel. No other plugin or production job changes: none builds it.
Created by Autonomous HallD "auto-hunt" campaign (executed by Claude)
🤖 Generated with Claude Code