CA-based ParticleGun configuration
Most of the new configuration is in Generators/ParticleGun/python/ParticleGunConfig.py HITS file output matches legacy configuration, but the OutputLevel does not seem to get properly in the CA-based version currently, so the log includes DEBUG as well as INFO messages from ParticleGun.
The approach used for ParticleGun configuration in Simulation/SimuJobTransforms/python/CommonSimulationSteering.py could be expanded to configured the CosmicGenerator also.
Added two new flags:
-
flags.Random.SeedOffset: this will also be used to replaceflags.Digitization.RandomSeedOffsetin a future MR. -
flags.Sim.GenerationConfiguration: placeholder for "on-the-fly" generation configuration until there has been a discussion of CA-based Evgen configuration.
Edited by John Derek Chapman