Skip to content

Commit 61254d8

Browse files
jackal1-66alcaliva
authored andcommitted
Added description and example
(cherry picked from commit b14261a)
1 parent 3737197 commit 61254d8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

MC/bin/o2_hybrid_gen.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
#!/usr/bin/env python3
22

3+
# This script creates a template JSON file for the configuration of the hybrid generator
4+
# The generators to be used are passed as a list of strings via the --gen flag, while the
5+
# output filename is set using --output. All the generators available in O2sim are supported.
6+
# Example:
7+
# $O2DPG_ROOT/MC/bin/o2_hybrid_gen.py --gen pythia8 boxgen external extkinO2 hepmc pythia8hf \
8+
# --output config.json
9+
310
import argparse
411
import json
512

0 commit comments

Comments
 (0)