From b14261a45b8910fd912e68b655b78ea5e200d0d0 Mon Sep 17 00:00:00 2001 From: Marco Giacalone Date: Wed, 20 Nov 2024 13:37:07 +0100 Subject: [PATCH] Added description and example --- MC/bin/o2_hybrid_gen.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/MC/bin/o2_hybrid_gen.py b/MC/bin/o2_hybrid_gen.py index 61ba8cd0e..12b5b7c73 100755 --- a/MC/bin/o2_hybrid_gen.py +++ b/MC/bin/o2_hybrid_gen.py @@ -1,5 +1,12 @@ #!/usr/bin/env python3 +# This script creates a template JSON file for the configuration of the hybrid generator +# The generators to be used are passed as a list of strings via the --gen flag, while the +# output filename is set using --output. All the generators available in O2sim are supported. +# Example: +# $O2DPG_ROOT/MC/bin/o2_hybrid_gen.py --gen pythia8 boxgen external extkinO2 hepmc pythia8hf \ +# --output config.json + import argparse import json