This repository can be a starting point and template for projects using the Key4HEP software stack.
-
ROOT
-
PODIO
-
Gaudi
-
k4FWCore
source /cvmfs/sw.hsf.org/key4hep/setup.sh
mkdir build install
cd build;
cmake .. -DCMAKE_INSTALL_PREFIX=../install
make install
Make sure that ../install/lib
and ../install/python
are in LD_LIBRARY_PATH
and PYTHONPATH
respectively, by doing:
export LD_LIBRARY_PATH=$PWD/../install/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$PWD/../install/python:$PYTHONPATH
and then run the examples like this:
k4run ../k4ProjectTemplate/options/createHelloWorld.py
k4run ../k4ProjectTemplate/options/createExampleEventData.py
These could perhaps be usefule for newcomers.