xAOD::EventInfo in Generators
First step towards complete migration of Generators
from legacy EventInfo
to xAOD::EventInfo
. In this MR the support for xAOD::EventInfo
was introduced, and the legacy EventInfo
was kept to make sure we don't break Simulation. Once Simulation has been fully migrated to xAOD::EventInfo
, then we'll need to drop the legacy EventInfo
from Generators as well.
The changes include:
- Scheduling of the
xAOD::EventInfo
converter algorithm has been added toEvgenJobTransforms/skel.GENtoEVGEN.py
,EvgenJobTransforms/skel.ABtoEVGEN.py
andEvgenJobTransforms/skel.GENtoTXT.py
. Also,xAOD::EventInfo
has been added to the Output Stream item list. As a result, the jobs now write out both the legacy and the new Event Info objects. - Added support for
xAOD::EventInfo
toEvgenProdTools/CopyEventWeight
andEvgenProdTools/CountHepMC
- Several client classes within
Generators
that have read-only access to Event Info, have been switched to reading ofxAOD::EventInfo
. Affected clients:Herwig7
HforTool
MCTester_i
Rivet_i
PrintMC
Tauolapp_i
TruthIO
- Applied a small fix to
AtlasUnixGeneratorJob.py
- Added support for
xAOD::EventInfo
inpostJO.CopyWeights.py
andfragment.SimCopyWeights.py
, and fixed the clients of these two scripts.
Edited by Vakhtang Tsulaia