Welcome to k4 Marlin Wrapper
Use the CVMFS HSF key4hep view to compile k4MarlinWrapper.
source /cvmfs/sw.hsf.org/key4hep/setup.sh
# Alternatively use nightlies
# source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
git clone https://github.com/key4hep/k4MarlinWrapper.git
cd k4MarlinWrapper
mkdir build install; cd build
cmake ..
cmake -DCMAKE_INSTALL_PREFIX=../install ..
make -j 4
make install
To run k4MarlinWrapper, some input is needed:
- As an example, copy the
muons.slcio
from the DD4hep file located in theDDTest/inputFiles/
directory totest/inputFiles/
directory in k4MarlinWrapper
To copy file and run:
mkdir ../test/inputFiles
cp /path/to/muons.slcio ../test/inputFiles/muons.slcio
k4run ../k4MarlinWrapper/examples/runit.py
Several tests are provided
# Display available tests
ctest -N
# Run all tests
ctest
# Run specific test with verbose output
ctest --verbose -R test_clicReconstruction
Please refer to this doc