Merging: Allow overriding cross-section via command-line
Introduces -x
(or --cross-section
) argument in rivet-merge
script that allows overriding the file-based cross-sections.
This allows to reduce the following
rivet-merge -e -o merged.yoda file1.yoda file2.yoda ...
rivet-merge -o merged_scaled.yoda merged.yoda:1.234
to a single
rivet-merge -x 1.234 -e -o merged_scaled.yoda file1.yoda file2.yoda ...
If a value is supplied for both the global -x
and to the individual file (file.yoda:1.23
), the file-based value will take precedence.