Skip to content

Analysis tutorials

Tutorials code examples are located at meson-structure/tutorials folder.

01 Using uproot to process EDM4Hep

02 Access metadata from event generator

  • 02 Metadata Tutorials and py_edm4eic_04_metadata.py Shows event-level metadata from EDM4eic files and builds 1D histograms of all numeric key-values.

    Metadata from the original event generator files are copied through the simulation chain. There are file level metadata, and even level madata. Important for us values such as true Q2, Bjorken x, etc. The metadata is copied: from e.g. files to hepmc artifacts, then through DD4Hep output and then EICRecon output. Event level metadata comes in special branches of 'event' tree "GPStringKeys" and "GPStringValues" as strings. This example shows how to decode the metadata and use in your project, here we build all metadata histograms.

EIC and external tutorials

Released under the MIT License.