Skip to content

Kernel/PartProp: modify LHCb::ParticleID to solve the problems introduced by !1187

Vanya Belyaev requested to merge vanya-particleid-v1 into master

LHCb::ParticleID class is modified to solve the issue with LHCBPS-1796

  • all quantities are calculated on flight. It definitely causes for CPU penalty, but actually all "expensive" functionality is used relatively rarely (e.g. decay-descriptors) and always in conjuction with really CPU expensive code - like filtering of decays according to decay descriptors. Therefore I think in reality this CPU penalty is not vizible and not so important.
  • it is tested versus the reference code by Phil Ilten for all PIDs from Particle Property service + all "exceptional" PIDs, explicitly coded in ParticleID class. The results are identical.

@philten @erodrigu @jonrob @gcorti

As pointed out in LHCBPS-1796, the branches on which the update from !1189 (merged) was applied are:

This will have to be backported to all those branches.

Edited by Marco Cattaneo

Merge request reports