- meant as an extension of https://github.com/matplo/heppy
-
install heppy and
export HEPPY_DIR=<path to heppy>
-
execute
$HEPPY_DIR/scripts/pipenv_heppy.sh run <where pyjetty>/cpptools/build.sh
- that's it... -
alternatively load the heppy module (from in heppy/modules)
- modules/pyjetty contains an env module
module use <where pyjetty>/modules
module load pyjetty/1.0
pyjettypython $PYJETTY_DIR/cpptools/tests/pythia_gen_fj_lund_test.py
notes/tips: use a new shell after building; no need to load or set heppy the pyjetty module should take care of things
- in the
cpptools/src
directory create your code/directory - edit
cpptools/src/pyjetty.i
,cpptools/src/CMakeLists.txt
as needed - run
./cpptools/scripts/build_cpptools.sh
- TennGen background generator (via https://github.com/matplo/TennGen)
-- install with
$HEPPY_DIR/scripts/pipenv_heppy.sh run <where pyjetty>/cpptools/build.sh --tenngen
- TGlauberMC - a Glauber MC implementation (via https://github.com/matplo/TGlauberMC)
-- install with
$HEPPY_DIR/scripts/pipenv_heppy.sh run <where pyjetty>/cpptools/build.sh --tglaubermc
Note: to install both use both flags: --tenngen --tglaubermc
Please fork and make a pull request. Please let us know if you are using this code - we are very much open for collaboration - email us at [email protected]