Skip to content

Migrate TrkValTools and TrkTruthToTrack packages to use TruthUtils

A number of components in the TrkValTools and TrkTruthToTrack packages 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

Loading