EDM4hep Discussion

→ Europe/Zurich
Zoom

Zoom

Zoom Meeting ID
98484040528
Host
Andre Sailer
Useful links
Join via phone
Zoom URL

EDM4hep Live Notes
==================

Date: January 26, 2021
Indico: https://indico.cern.ch/event/1000558/

This is a document for taking notes during EDM4hep meetings.

Connected: Andre, Weidong, Tao, Xingtao, Teng, Joseph, Benedikt, Valentin, Birgit, Placido, Graeme, Thomas, Clement, Gerri, Sanghyun, Brieuc, Frank,

Apologies:

## Introduction and General Points

### Key4hep presentation IAS

* https://indico.cern.ch/event/971970/timetable/#153-3-status-of-the-key4hep-so

* Add to https://key4hep.github.io/key4hep-doc/talks-and-presentations/README.html
    * And the EP RnD website (Graeme)

    * Also add a link to the FCC presentation https://indico.cern.ch/event/934666/contributions/4154228/ from Epiphany


### Virtual Chep

* papers(!) due February 28, 2021
    * Submissions should consist of a paper of 6-10 pages, following the instructions for authors. Paper submission is open until 28 February 2021.
    * https://indico.cern.ch/event/948465/page/21562-instructions-to-submitters

* Contribution:
    * Key4hep overview
    * Delphes parts?
        * There will not be a dedicated delphes contribution
    * podio+edm4hep!
        * Created Overleaf and outline

* Done: create repository for published documents
* Done: share the overleaf from the last CHEP proceedings
    * https://github.com/key4hep/documents/
    * Private repository


## Progress and Discussion

## Podio

### Benchmarking
[Thomas] Added some scripts and tools to have almost automatic benchmarking and some results using k4SimDelphes to "generate" data for I/O. Could be made fully automatic with a bit more work and if we want it to be fully automatic.
* https://github.com/tmadlener/podio_benchmarking
* Example results: https://github.com/tmadlener/podio_benchmarking/tree/master/results/k4SimDelphes/ee_Z_bbbar

### Issues/PRs

#### more fixes to unsigned and shadowed variables
* https://github.com/AIDASoft/podio/pull/158
* https://github.com/AIDASoft/podio/pull/171
    * effc++ warnings not all fixable or not relevant
    * Should check if worth fixing, or downsides
* https://github.com/AIDASoft/podio/issues/170
    * sign vs unsigned
    * using negative values for some special cases (invalid, untracked), could use largest unsigned, or cast to signed when comparing with vectors
    * Maybe better to leave it signed to avoid possible issues with   `max<unsigned> - 1`
    * Use a typedef for the "podIDType"?
    *

#### Multiple Yaml files

* https://github.com/AIDASoft/podio/issues/168
*

#### c++ concepts
* BH: add compile time checks for class behaviours: e.g., movable

#### CollectionIterator does not fully satisfy iterator concept
* https://github.com/AIDASoft/podio/issues/150
* For const collections, would be useful, e.g. using std::find on the collection

#### Idea: True reference collections
* https://github.com/AIDASoft/podio/issues/146

#### issue w/ ROOT and (vectors of) non-copyable collections
* happens in ROOT 6.22
* PM: there is a patch available in LCG repository
    * ROOT team is working on a general solution

#### What are the different branches in the root file?

* Related to use in RDataFrame
* Encode more information in the _relation_ branch names?

#### Multi-Threading

See minutes of https://indico.cern.ch/event/969468/
--> Open issue(s) for further discussion

* Thomas and Benedikt discussing and started to work, nothing to report yet

#### "event class" in podio

* Currently being perceived

### PRs
* https://github.com/AIDASoft/podio/pulls

#### Disable collection operator=
* https://github.com/AIDASoft/podio/pull/154
* Review: Benedikt

 

### Meta Data

#### Usage of "metadata" for user defined data
* need to check if current implementation addresses all use cases
* need test use-cases

### Issues following MetaData Developments

* cannot write out event data previously read from file
    * Issue: https://github.com/AIDASoft/podio/issues/103
    * Test: https://github.com/AIDASoft/podio/pull/102
    * TM: have fix, but break framework core handling of collections

* there seems to be a fix in the Gaudi ROOTWriter in FCC-EDM !?
    * historical reason, fixes and developments should be back ported to PODIO
    * ...

### EventStore

### Schema Evolution

- Version for object descriptions, etc.
- Open issue: https://github.com/AIDASoft/podio/issues/86

### Features

* Subset collections?

## LCIOConverters

* k4LCIOReader:
    * https://github.com/key4hep/k4LCIOReader
    * Moved k4LCIOReader code to key4hep project

* TrackState Covariance Matrix conversion from LCIO
    * https://github.com/key4hep/k4LCIOReader/issues/8
    * Change EDM4hep storage of the covariance matrix
    * What is done in ACTS?
        * Different track parametrisation and time, no easy conversion

## EDM4hep
https://github.com/key4hep/EDM4hep/pulls


### EDM4hep tools
https://github.com/key4hep/EDM4hep-utils

### Issues

### Repository is getting too big

* github pages branch is getting large
* Can they be created on the fly?
* Use a different host for the website

### Tracker Hit

* Q: Tracker hit input to tracking algorithms?
* A: In LCIO different traker hits: Planar and Cylindrical using inheritance. Still needs to be adressed how to do this in EDM4hep.
* Q: Is inheritance needed?
* Q: What to use for Driftchambers?
* Open issue:


### Need review of EDM4hepDelphes output

* Output is not stored if no tracks or towers created (?)
    * Allow also other types to be part of the list
    * Allow construction in a more general way (VV)
* Need to assume there is a complete list of reconstructed particles?

* Relations:
    * FCCSW: Issue with more than one RecoParticle pointing to one MCParticle
    * In LCIO to Delphes, conversion happens later than in edm4hep, maybe delphes does de-duplication?
    * TODO: open issue in edm4hep with reproducer (VV)

--> Moving to separate repository

#### Reworking output handling

- TM: better address edge cases
- TM + CH: FCC cases, not sure if delphes or output
- https://github.com/key4hep/k4SimDelphes/pull/5
- TM: How and what to test?
-


### PRs
https://github.com/key4hep/EDM4hep/pulls/


### Release 1.0

* Need:
    * ~~Plugin~~
    * ~~Eventheader~~
    * ~~Meta Data (Event / Run Parameters)~~

## AOB

### Generator infrastructure in FCCSW moved to EDM4hep
* VV: show at next key4hep

### Framework integration of k4SimDelphes

* On hold until delphes output reworked
* Started with updating the Gaudi documentation
    * New cmake in Gaudi v35

### Dual Read-out calorimeter for FCC

* Special data structure used for that simulation
* Tried to use edm4hep, some issues
* Present in a future meeting

### Conditions handling in Belle2
* Benedikt, or Martin Ritter

### Feedback from FCC tutorial for snowmass

* Common question: What are the different branches in the root file?
* ``uproot`` was also used to access the root file
    * Basically re-implemented event store
        * Associations
    * Try to get this into the, e.g., podio repository

### Next meeting:

* February 9, 2021

 

There are minutes attached to this event. Show them.
    • 09:00 → 09:05
      Introduction 5m
      Speakers: Andre Sailer (CERN), Frank-Dieter Gaede (Deutsches Elektronen-Synchrotron (DE))
    • 09:25 → 10:00
      Discussion 35m
      Speaker: Dr All