Truth decoration cleanup
In !322 (merged) I tried to make the truth array dumping and overlap use associated IParticle
s, so that we can use other collections that we already store in the EDM (e.g. the ones we use for truth labeling). To keep the MR from going on forever, though, I also stopped short of making all the decorators use these collections. Specifically, we still have:
-
LeptonTruthDecorator
, which does a lot of things, ranging from adding information about the muon associated with the b-tagging object to looping over nearby truth particles and adding various parameters. The former could stay in a muon-specific class, but the properties of nearby leptons should probably use a configurable list of associated particles. -
JetLeptonDecayLabelDecorator
, which is hardcoded to useConeExclBHadronsFinal
andConeExclCHadronsFinal
, but could probably be configured to use other collections.
I was imagining that the truths
list in the configuration could allow you to a decorator algorithm that would optionally add all the above properties to the jet. Other ideas welcome of course.