Skip to content

key4hep/k4EDM4hep2LcioConv

Repository files navigation

k4EDM4hep2LcioConv

Key4hep build DOI

Converter library to convert between the EDM4hep and LCIO event data models. Supports in-memory conversion in both directions and provides a standalone conversion tool for LCIO to EDM4hep.

Dependencies

  • LCIO >= v02-22
  • EMD4hep >= v00-99
  • podio >= v01-00
  • ROOT

Build and install

If you have an environment that fulfils all dependencies (e.g. a Key4hep stack), simply do

  • Get the sources to build from
git clone https://github.com/key4hep/k4EDM4hep2LcioConv
cd k4EDM4hep2LcioConv
  • Run CMake and configure it to use install in the current directory as install prefix
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=$(pwd)/install
  • Build the library and tests and run the tests
cmake --build build
ctest --test-dir build
  • Install the library and the standalone conversion tools
cmake --build build --target install