EDM4hep Discussion

Europe/Zurich
Vidyo

Vidyo

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

Date: June 9, 2020
Indico: https://indico.cern.ch/event/927396/

This is a document for taking notes during EDM4hep meetings.

Connected: Jiaheng, Tommaso, Weidong, Tao, Frank, Thomas, Placido, Clement, Valentin, Erica, Sang Hyun Ko, Gerri, Xingtao, Michele

Apologies: Graeme

## Introduction and General Points

 

## Progress and Discussion


### Delphes plugin

* https://github.com/key4hep/EDM4hep/pull/56
    * https://github.com/AIDASoft/podio/pull/95
* Some remaining technical questions:
    * Is there always one collection with MCParticles?
        - Delphes can have stable, all
    * Convenient accessor for Metadata information would be nice
        * E.g.: particle ID
        * -> LCIO::ParticleIDNavigator convenience class
            * http://lcio.desy.de/v02-09/doc/doxygen_api/html/classUTIL_1_1PIDHandler.html (?)
    * List of all Reconstructed Particles from Delphes?
    * How to find track associated to Reconstructed Particle?
        * Only via related MCParticle
    

* What should the Delphes outputfile look like?
    1) Standard Delphes output
    2) Output looking like full reconstruction output

*  Links to existing plugins etc:
    * https://github.com/HEP-FCC/FCCSW/blob/master/Sim/SimDelphesInterface/src/DelphesSaveJets.h
    * https://github.com/HEP-FCC/FCCSW/blob/master/Sim/SimDelphesInterface/src/DelphesSaveJets.cpp
    * https://github.com/HEP-FCC/FCCSW/blob/master/Sim/SimDelphesInterface/src/DelphesSaveChargedParticles.h
    * https://github.com/HEP-FCC/FCCSW/blob/master/Sim/SimDelphesInterface/src/DelphesSaveChargedParticles.cpp
    * Overwrite EventStore functions from podio
        * Storing different Jet variables for example
        * Feed them back to podio later
    * Finalize conversion of reconstructed particles
    * started delphes2lcio:
        * https://github.com/iLCSoft/LCIO/pull/80

* Sharing Delphes Data to Snowmass Process

### Delphes--EDM4hep Discussion Meeting Follow-up

### Spack installation

* Nightly build should be working again after PR
    * Link:
* Depending on spack-based LCG releases
    * Need discuss with Ivan how to proceed

* gcc 8.3.1 (from devtoolset) does not have spack recipe
* Relocation issue, spack error, but works manually
* NB (added after the meeting): Compatibility with devtoolset and ROOT: https://root-forum.cern.ch/t/devtoolset-gcc-toolset-compatibility/38286
    * Just for devtoolset 3?


### Linking issues with K4FWcore/EDM4hep
* https://github.com/key4hep/K4FWCore/issues/9


### Nightly Builds and CI
- can we organize nightly builds of PODIO to be used for EDM4hep CI ?
    - should be addressed with spack releases mentioned above
- can we add a Ubuntu build to the CI ?
    - have observed build (link) issues on Ubuntu
        - "--as-needed" option added to calls to the linker
    - Ubuntu: 18.04 / 20.04 (LTS releases), system compiler gcc-7

## Podio

### Meta Data

- Merged: https://github.com/AIDASoft/podio/pull/92
- Based on LCIO LCParameters (GenericParameters)
- Storing and reading them on demand is tricky, need table of contents to locate correct instance of parameters
- Just do it and make IO performent later?
- Also changes in Readers/Writers/EventStore necessary

#### Usage of "metadata" for user defined data

* Rename to "Userdata"?
* Need LCGenericObject-like class (Parameters?), not part of podio at the moment

### Issues following MetaData Developments

* Some issues with podio, Frank will open issues, create (failing) tests

### EventStore

- Needs some reworking and definition of interfaces

### Schema Evolution

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

### Features

* Subset collections?

## LCIOConverters

* Used to reconstruct clusters with Pandora
    * Publish Pandora Interface on github

### Writing second file with another tree
* Cannot write second file?
* Have to do: ``` TFile::Open("tmp.root", "RECREATE")``` ?
    * Doesn't help

## EDM4hep

### Release 1.0

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


## AOB

### Dual Readout Calorimeter Plans
* First implement DD4hep description
* Look at use of EDM4hep for simulation, different data model in use at the moment

### Next meeting:

* June 23, 2020

 

 

There are minutes attached to this event. Show them.