Key4hep Discussion

→ Europe/Zurich
Zoom

Zoom

Zoom Meeting ID
95444210901
Host
Andre Sailer
Alternative hosts
Juan Miguel Carceller, Thomas Madlener
Useful links
Join via phone
Zoom URL

# Key4hep Live Notes

Date: October 20, 2026

Agenda: https://indico.cern.ch/event/1743774/

Connected: Andrea, Juan, Joshua, David, Bohdan, Andre, Benedikt, Thomas, 
Apologies: Brieuc, 

## Github project

- https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Akey4hep

## Discussions
[Github Project Discussions](https://github.com/orgs/key4hep/projects/2/views/1?visibleFields=%5B%22Repository%22%2C%22Title%22%2C3970156%2C%22Status%22%2C%22Assignees%22%5D)

## Presentations

https://github.com/orgs/key4hep/projects/4/views/1


## Key4hep in-person workshop
- [ ] Figure out who participant from Rome / Sapienza is (she put down the workshop list as guarantor for the CERN hostel)

## Potential bug in LCFIPlus vertexing
* https://github.com/lcfiplus/LCFIPlus/pull/80
* Beamspot size is (re)set to the ILC in case an LCFIPlus algorithm / process doesn't set it explicitly
* Longterm vision / plan for LCFIPlus
    * Yet another framework in a framework. Not designed for multithreading
    * Andrea testing / exploring the Gaudi port: https://github.com/key4hep/k4Reco/pull/63
    * ACTS Vertexing will need the ACTS geometry. Some of the DC studies not there yet from a geometry point of view(!)
        * Primary vertexing might not need geometry, but secondary vertexing will
    * Current port of LCFIPlus vertexing takes ReconstructedParticles as inputs. Should we have a version that takes tracks? LCFIPlus wants reco particles for V0s for a mass hypothesis
    * LCFIPlus still has some hardcoded assumptions about the presence of a TPC
    * [ ] Estimate the effort that would be necessary to have only the primary and secondary vertexing ported (without taking the LCFIPlus internal EDM & machinery) 
    * [ ] Apply fix from LCFIPlus PR and add it to the port PR to avoid diverging
* [ ] Which version of LCFIPlus do we currently build in the nightlies

## Nightlies not built for the past few days
* Broken builds. Should appear again today / tomorrow

## Release
* Tagging most packages this week unless there are comments
    * Only PRs from k4RecTracker from Andrea blocking?
    * k4Gen PRs (from David & Joshua)?
    
## Open items from last time
* [ ] Move `k4RecCalorimeter` from `HEP-FCC` to `key4hep`
* [ ] Need to make sure that `k4-project-template` ships the current defaults for `.clang-format`, etc.

## Organizing github responsibilities
* Looks like not everyone that would needs / wants to have merge rights has them (e.g. [here](https://github.com/key4hep/k4DetectorPerformance/pull/8#issuecomment-6270786525))
* Should we create github teams for managing this? -> Yes
    * Which teams should we create. For now keep number of teams low-ish and refine once it becomes necessary

## Reconstruction (partially) part of k4-bench
* See, e.g. https://k4bench-dashboard.app.cern.ch/reconstruction?detector=ALLEGRO_o1_v04&mmetric=mean_rss_anon_mb&platform=x86_64-el9-gcc16-opt&sample=p8_ee_Zbb_ecm91&stack=key4hep-2026-10-17&tab=Overview&tmetric=mean_time_s&view=Performance+Trends
   * Per event, per algorithm breakdowns of time, memory, etc.
   * Already used to discover a memory leak in Delphes: https://github.com/delphes/delphes/pull/212
   * Technically done via a custom Gaudi Auditor (living in k4Bench)
   * Can run locally: `k4bench k4run your_options.py --k4run-args="..." --memory-events N`

## GGTFTrackFinder too memory hungry
* Uncovered by new k4-bench functionality
* ONNX does not give back memory and just keeps the max memory it had used so far
    * Can be fixed, but the underlying issue is still that the model uses too much memory for certain events

## EDM4hep
* Simcalohit add addMCParticleContribution [EDM4hep#534](https://github.com/key4hep/EDM4hep/pull/534)
    * Some discussion about how / where to document things
    * Proposal for "external" documentation

## AOB


## Next meetings

* Nov 03, 2026, 16:00 CET

There are minutes attached to this event. Show them.
    • 16:00 → 16:10
      Introduction 10m
    • 16:10 → 17:00
      Discussion 50m
      Speaker: Everyone