This completely reworks
ParticleJetAssociation to simplify its usage and make it thread-safe. Additionally, some MT-safety issues in
EventSelectionTool are fixed. Major changes are:
ParticleJetAssociationnow inherits from
IJetDecoratorinstead of "being its own interface".
EventSelectionToolnow require a few more configured properties. These have been added to existing config.
- Both implementations of
ParticleJetAssociationAlg(the BTagging one and the ParticleJetTools one) have been removed.
- A new
JetDecorationAlghas been created. It runs any set of
IJetDecoratoron a jet collection (which can be
const). This will probably be more broadly useful for flavor tagging and other applications. This has replaced
ParticleJetAssociationAlgwherever it was previously used.
The discussion on this MR revealed some deeper underlying issues and so the scope has broadened substantially since it was first opened. Original description below for reference.
A few tools still using direct StoreGate access were recently reported. This fixes the two jet-related ones,
JetParticleAssociation (see ATLASRECTS-6096 and ATLASRECTS-6098). In the case of
EventSelectionTool, this necessitated adding an additional configurable property specifying the name of the input jet collection. So, I've also updated existing config using this tool.