Feature/aantonak caf truthfix - #674
Draft
aantonakis wants to merge 4 commits into
Draft
Conversation
…d by CAFMaker's FillTrueG4Particle function. Debug statements are currently included.
…s wtih missing parents
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.
Description
Please provide a detailed description of the changes this pull request introduces. If available, also link to a docdb link where the issue/change have been presented on/discussed.
This PR adds missing truth information to the CAFMaker output. Some unstable particles produced in the neutrino interaction such as eta mesons are missing in the CAF truth outputs because they are not propagated to Geant4. The goal of this PR is to identify primary particles of the interaction which are missing their parent particles and to loop back through the decay chain in the generator truth to add in the missing information. This is described in more detail in SBN docdb entry 49027.