Skip to content

HepMC3 output according to version 1.0.0 of NuHepMC standard#333

Open
sjgardiner wants to merge 36 commits intoGENIE-MC:masterfrom
sjgardiner:hepmc3
Open

HepMC3 output according to version 1.0.0 of NuHepMC standard#333
sjgardiner wants to merge 36 commits intoGENIE-MC:masterfrom
sjgardiner:hepmc3

Conversation

@sjgardiner
Copy link
Copy Markdown
Member

@sjgardiner sjgardiner commented Oct 6, 2023

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.

implementation of the HepMC3 event record format
… with

its MC statistical uncertainty) of the flux-averaged total cross section
from conversion of the genie::Interaction object's contents in HepMC3
format.
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.
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
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
@sjgardiner sjgardiner changed the title HepMC3 output according to draft "NuHepMC" standard HepMC3 output according to version 1.0.0 of NuHepMC standard Feb 24, 2026
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