HepMC3 output according to version 1.0.0 of NuHepMC standard#333
Open
sjgardiner wants to merge 36 commits intoGENIE-MC:masterfrom
Open
HepMC3 output according to version 1.0.0 of NuHepMC standard#333sjgardiner wants to merge 36 commits intoGENIE-MC:masterfrom
sjgardiner wants to merge 36 commits intoGENIE-MC:masterfrom
Conversation
implementation of the HepMC3 event record format
…on to the GMCJDriver class
… with its MC statistical uncertainty) of the flux-averaged total cross section
from conversion of the genie::Interaction object's contents in HepMC3 format.
… the full map of kinematic variables
exist at both the start and end of the formation zone in the event record. Add a new particle status code for the copies at the start of the formation zone. Also assign the struck nucleon 4-position to the hadronic system pseudo-particle.
pre-formation-zone hadrons
interface NtpWriterI. This is a step towards supporting arbitrary event output formats, including those which are not ROOT-based
…class produces HepMC3-format files using GHepRecord objects as input
nucleus GHepParticle in slot 1, the struck electron will be listed as its own mother for a NuEElastic reaction on a 1H target
…decay products from Pythia
…rent mother/daughter conventions, etc.
approach is less fragile
…mary vertex as the attribute "LabPos"
hard-coded numbers in favor of named constants for these.
capability is used to report a running estimate of the flux-averaged total cross section in HepMC3-format events
owned by a GMCJDriver object
… and update citation metadata format
…tion and a running estimate of the flux-averaged total cross section together with its statistical uncertainty. Update GMCJDriver to populate these fields for accepted events.
information formerly obtained there from the new fields in the EventRecord itself.
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.
This PR adds the "NuHepMC" output format as specified in the publication (https://doi.org/10.21468/SciPostPhysCodeb.57). Bidirectional conversions are possible between GENIE's native GHEP and NuHepMC.