Skip to content

Work out weighted cross-section average in multi-file runs

Christian Gutschow requested to merge multi_file_xsec into release-3-1-x

As reported by @fsiegert - when running Rivet over multiple HepMC files in the same run, the cross-section used in finalize will correspond to the one reported by the last file.

This change set is to work out an on-the-fly weighted average (using the effective number of entries as the file weight) when running over multiple HepMC file and use that instead.

(Doesn't affect merging but is relevant for reentrant/"top up" runs.)

Edited by Christian Gutschow

Merge request reports