Fix seeds for GaussMP
This introduces the EvtCounter
tool to GenInit
which is used in GaussMP to assign the different event numbers to the concurrent processes. This is intended as a band-aid solution until we can run a multi-threaded Gauss on the farm. The simulation phase is seeded from the event and run number stored in the GenHeader and thus does not need to be modified.
The tool is only used if the EvtCounter
property of GenInit
is set. I have made changes to the Gauss configurable to automate this if multi-processing is used.
I hope someone knows a better way than parsing argv
again but I didn't find anything grepping in Gaudi and LHCb (@clemenci ?).