Clean-up auto-configuration of SimBarcodeOffset and add a flag for the Regeneration Increment
Barcodes for truth particles created during the simulation step use two offsets. All particles created during the simulation step have barcodes greater than SimBarcodeOffset
(default 200000). If a particle survives an interaction then its barcode is increased by RegenerationIncrement
(default 1000000).
This merge request makes the setting of SimBarcodeOffset
more robust and adds a flag for RegenerationIncrement
with accompanying auto-configuration.
These changes are for the CA-based configuration only and should make the configuration of truth-matching algorithms more robust in the future.
Edited by John Derek Chapman