A generic tool which finds overlaps using ElementLinks. More...
#include <ObjLinkOverlapTool.h>
Public Member Functions | |
ObjLinkOverlapTool (const std::string &name) | |
Create proper constructor for Athena. | |
virtual StatusCode | findOverlaps (const xAOD::IParticleContainer &cont1, const xAOD::IParticleContainer &cont2) const override |
Identify overlaps by ElementLink. Flags objects in cont1 which are linked to objects in cont2. | |
Protected Member Functions | |
virtual StatusCode | initializeDerived () override |
Initialize the tool. |
A generic tool which finds overlaps using ElementLinks.
Allows to relate objects upstream (like when making derivations when all the information is available) and reuse the relation later when applying the full analysis selections. One expected use-case is for the Electron-Muon shared track matching.
ORUtils::ObjLinkOverlapTool::ObjLinkOverlapTool | ( | const std::string & | name | ) |
Create proper constructor for Athena.
Standalone constructor