Juraj Smieško
CERN, 25 Sep 2023
Describes event data in a set of standard objects and relationships between them
Example object:
#------------- SimCalorimeterHit
edm4hep::SimCalorimeterHit:
Description: "Simulated calorimeter hit"
Author: "F.Gaede, DESY"
Members:
- uint64_t cellID //ID of the sensor that created this hit
- float energy //energy of the hit in [GeV].
- edm4hep::Vector3f position //position of the hit in world coordinates in [mm].
OneToManyRelations:
- edm4hep::CaloHitContribution contributions //Monte Carlo step contribution - parallel to particle
Generates Event Data Model and serves as I/O Layer
Frames
Schema evolution
More details: T. Madlener
Plethora of processes are pre-generated and available from EOS
Example:
15:32:16 [jsmiesko@fcc-ironic-02 metadata]$ podio-dump -h
usage: podio-dump [-h] [-c CATEGORY] [-e ENTRIES] [-d] [--dump-edm DUMP_EDM] [--version] inputfile
Dump contents of a podio file to stdout
positional arguments:
inputfile Name of the file to dump content from
options:
-h, --help show this help message and exit
-c CATEGORY, --category CATEGORY
Which Frame category to dump
-e ENTRIES, --entries ENTRIES
Which entries to print. A single number, comma separated list of numbers or
"first:last" for an inclusive range of entries. Defaults to the first entry.
-d, --detailed Dump the full contents not just the collection info
--dump-edm DUMP_EDM Dump the specified EDM definition from the file in yaml format
--version show program's version number and exit
11:27:15 [jsmiesko@fcc-ironic-02 metadata]$ podio-dump -e 1 output_fullCalo_SimAndDigi.root
input file: output_fullCalo_SimAndDigi.root
datamodel model definitions stored in this file: edm4hep
Frame categories in this file:
Name Entries
-------------------------------
metadata 1
events 2
configuration_metadata 1
#################################### events 1 ####################################
Collections:
Name ValueType Size ID
------------------------- ----------------------- ------ --------
CaloClusters edm4hep::Cluster 1 706db4eb
CorrectedCaloClusters edm4hep::Cluster 1 38fde31e
ECalBarrelCells edm4hep::CalorimeterHit 80 269139f6
ECalBarrelPositionedCells edm4hep::CalorimeterHit 80 65cb8aec
ECalEndcapCells edm4hep::CalorimeterHit 0 55d4e559
GenParticles edm4hep::MCParticle 1 0bcf5f90
Parameters:
Name Type Elements
------ ------ ----------
Example:
13:28:43 [jsmiesko@fcc-ironic-02 metadata]$ edm4hep2json -h
Usage: edm4hep2json [olenfvh] FILEPATH
-o/--out-file output file path
default: "?edm4hep.root" --> ".edm4hep.json"
-l/--coll-list comma separated list of collections to be converted
-e/--events comma separated list of events to be processed
-n/--nevents maximal number of events to be processed
-f/--frame-name input frame name
default: "events"
-v/--verbose be more verbose
-h/--help show this help message
Example:
13:33:46 [jsmiesko@fcc-ironic-02 Podio (main=)]$ ./collInfo /eos/experiment/fcc/ee/generation/DelphesEvents
/winter2023/IDEA/p8_ee_ZZ_ecm240/events_092194859.root
ID Name Type
--------------------------------------------------------------------------
1 MissingET edm4hep::ReconstructedParticleCollection
2 MCRecoAssociations edm4hep::ReconstructedParticleCollection
3 ParticleIDs edm4hep::ReconstructedParticleCollection
4 magFieldBz edm4hep::ReconstructedParticleCollection
5 TrackerHits edm4hep::MCRecoParticleAssociationCollection
6 EFlowTrack edm4hep::ParticleIDCollection
7 CalorimeterHits podio::UserDataCollection
8 Particle edm4hep::TrackerHitCollection
9 Photon edm4hep::TrackCollection
10 EFlowTrack_L edm4hep::CalorimeterHitCollection
11 Electron edm4hep::MCParticleCollection
12 EFlowPhoton edm4hep::ClusterCollection
13 EFlowNeutralHadron edm4hep::ReconstructedParticleCollection
14 Jet podio::UserDataCollection
15 ReconstructedParticles edm4hep::ReconstructedParticleCollection
16 Muon edm4hep::ClusterCollection
--------------------------------------------------------------------------
stable | nightlies | |
---|---|---|
Spring 2021 | x | x |
Winter 2023 | y | y |
stable | nightlies | |
---|---|---|
Spring 2021 | x | x |
Winter 2023 | x | y |
More details: key4hep/EDM4hep #228
stable | nightlies | |
---|---|---|
Spring 2021 | y | y |
Winter 2023 | y | y |