Skip to content

Data Toolchain for NCQE XS analysis - #386

Merged
marc1uk merged 1 commit into
ANNIEsoft:Applicationfrom
S81D:NCQE_Data_Toolchain
Jul 15, 2026
Merged

marc1uk merged 1 commit into
ANNIEsoft:Applicationfrom
S81D:NCQE_Data_Toolchain

Conversation

@S81D

@S81D S81D commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Describe your changes

Very similar to the standard BeamClusterAnalysis toolchain to produce end-state ntuples for analysis, this toolchain was used for the NCQE Cross Section analysis and executed over the ProcessedData. Adding this to converge the workflow used in the NC analysis with the main repository.

TODO: Currently bunch cutting and energy reconstruction is not included. Working to add those as separate tools.

Checklist before submitting your PR

  • This PR implements a single change (one new/modified Tool, or a set of changes to implement one new/modified feature)
  • This PR alters the minimum number of files to affect this change
  • [N/A] If this PR includes a new Tool, a README and minimal demonstration ToolChain is provided
  • If a new Tool/ToolChain requires model or configuration files, their paths are not hard-coded, and means of generating those files is described in the readme, with examples provided on /pnfs/annie/persistent
  • [N/A] For every new usage, there is a reason the data must be on the heap
  • [N/A] For every new there is a delete, unless I explicitly know why (e.g. ROOT or a BoostStore takes ownership)

@marc1uk
marc1uk merged commit c6747a2 into ANNIEsoft:Application Jul 15, 2026
1 check passed
dhavvval added a commit to dhavvval/ToolAnalysis that referenced this pull request Sep 29, 2026
, ANNIEsoft#384, ANNIEsoft#361, ANNIEsoft#386, ANNIEsoft#387) into the direct-parent branch

Brings the collaboration's merged PRs up to c6747a2: the PMTWaveformSim memory
and time-smearing rework (ANNIEsoft#371), MCTriggernum (ANNIEsoft#380, already equivalent here),
LAPPD INCOM IDs (ANNIEsoft#381, ANNIEsoft#384), PMT-only vertex reconstruction (ANNIEsoft#361), the NCQE
XS data toolchain (ANNIEsoft#386) and the swapped barrel PMT 453/455 y positions in
FullTankPMTGeometry.csv (ANNIEsoft#387).

PMTWaveformSim follows ANNIEsoft#371 everywhere it changed the tool (TRandom3 pointer,
bool TimeSmearing with the per-PMT offset_std jitter map, log levels); on top
of it stay only this branch's additions: the per-tick direct/primary parent
maps published to the ANNIEEvent, SetStart/EndTick, and the
ConvertMapToWaveforms signature. The jitter is added before t0_ticks, so the
parent maps follow the smeared time. The header's author line keeps
A.Sutton, S.Doran and D. Ajana.

Checked on productionv3fix world part 1 (700 events): all hit, cluster and
truth branches identical to the pre-merge build; DirectParent_* differ only as
much as two pre-merge runs differ from each other (SetSeed(0)), and are now
identical between runs; one neutron trackID per capture 99.04 % (208
captures) before and after.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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