Skip to content

Mismatches between descriptor and input list in ParticleCombiners

This issue follows from the bug found in !5149 (merged). I decided to look for similar mismatches between descriptors and particle lists in all combiners. The example from the previous merge is below.

decay_descriptor="KS0 -> mu+ mu- pi+ pi-",
inputs=[pions, pions, muons, muons],

Because of the mismatch the combiner will never find any particles in these inputs, it will look for muons in the pions container and pions in the muon container.

With a script I found 142 versions of potential mismatching, a lot of these are accidental extra combiners where a for loop is creating too many descriptor particle combinations. This is an unnecessary combiner but nothing that really costs throughput or bandwidth. A few cases seem to be mistakes similar to the example above where the combiner is not doing anything and all physics is lost so these should be fixed.

A csv file with all potential cases is attached below. Most cases are in RD, QEE or Charm.

descriptor_mismatches.csv

FYI: @fibishop @abertoli @paandreo @cacochat @mengzhen @oboenteg Could you pass this on to line authors?

Edited by Daniel Magdalinski