Convert GEN particle information to a Graphviz DOT file and to PNG, PDF, SVG files.
Editable installation: clone the repository, then:
pip install --user -e .
Installation directly from git:
pip install --user gen2dot@git+https://github.com/albertobelloni/gen2dot
The three scripts described below will be installed in ~/.local/bin/.
Accepts NanoAOD as input (and probably, at some point, some form of user-defined text files)
Accepts (possibly gzipped) LHE files
Produces a gzipped JSON file that maps particle PDG IDs to particle names. It is probably not needed; the package already contains a working JSON file, and PDG IDs do not change often...
All dependencies are usually installed by default
Install pylhe with: pip install [--user] pylhe
Documentation: https://pypi.org/project/pylhe/
Install particle with: pip install [--user] particle
Documentation: https://pypi.org/project/particle/