Skip to content

Migrate InDetValidation packages from using PartPropSvc/HepPDT to using TruthUtils

A number of components in packages under InnerDetector/InDetValidation were retrieving/creating the PartPropSvc to get the HepPDT::ParticleDataTable to get HepPDT::ParticleData to find out the charge of a particle from its pdg_id. This can be done more simply using the MC::charge(int pdgid) function from TruthUtils.

Switching to this allows the clean-up of some deprecated syntax and the dependency on HepPDT to be dropped from these packages.

Merge request reports