Data Toolchain for NCQE XS analysis - #386
Merged
Merged
Conversation
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>
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.
Describe your changes
Very similar to the standard
BeamClusterAnalysistoolchain 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
newusage, there is a reason the data must be on the heapnewthere is adelete, unless I explicitly know why (e.g. ROOT or a BoostStore takes ownership)