Python >= 3.7
PyYaml
Check your python version
python --versionyou can install pyYaml as user with:
pip3 install pyyaml --userBefore begining, you should setup the environment by:
source /path/to/k4GeneratorsConfig/setup.(tc)(z)shThe setup script will check that python3 is available on your machine.
Once you have written your own inputfile(input.yaml), as seen in the examples, execute the following:
k4GeneratorsConfig input.yaml
This will create a directory containing the desired runcards. The directory can be set in the inputfile as:
OutDir: /path/to/outThe commands above create input files for all generators as well as a run script. This run script contains a conversion to the EDM4HEP format. It is therefore necessary to compile the converter provided in this package against the KEY4HEP release you will be using. The first command can be omitted if you are in the BASH shell:
bash
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
mkdir build
cd build
cmake ../CMakeLists.txt -DCMAKE_INSTALL_PREFIX=../install
make install
cd /path/to/out
./Run_PROCESSNAME.sh