Skip to content

Use functions from TruthUtils only with objects

Use functions from MagicNumbers.h only with objects and eliminate the need of specialization of templates for int. The only place where those specializations are used is Simulation/ISF/TruthSvc.h.

Practically this means that e.g. HepMC::is_simulation_particle(p->barcode()) will be replaced with HepMC::is_simulation_particle(p)

This MR is a dependency for !64569 (closed)

@jchapman

The changes to Generators/GeneratorFilters/src/xAODParticleFilter.cxx are also a bugfix.

Edited by Andrii Verbytskyi

Merge request reports