Skip to content

Removed hardcoded 10000 use of barcode

Changed this to use HepMC::SIM_BARCODE_THRESHOLD instead which is 2e5.

However, it was previously hardcoded to be 10000, so there is a small risk this could have meant to have been a threshold set to remove particles generated by PHOTOS. It is hard to tell since no comments in the code, nor any obvious documentation.

@averbyts @damazio @jchapman

Merge request reports

Loading