Skip to content

Clean-up auto-configuration of SimBarcodeOffset and add a flag for the Regeneration Increment

John Derek Chapman requested to merge jchapman/athena:SimConfigUpdate_22.0 into 22.0

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

Merge request reports