Helper class for setting links between overlapping objects. More...
#include <OverlapLinkHelper.h>
Public Member Functions | |
| OverlapLinkHelper (const std::string &linkLabel) | |
| Constructor. | |
| StatusCode | addObjectLink (const xAOD::IParticle &p1, const xAOD::IParticle &p2) |
| Decorate p1 with an overlap object link to p2. | |
| const xAOD::IParticle * | getObjectLink (const xAOD::IParticle &p) const |
| Retrieve an overlap-linked particle. Returns null if no ElementLink decoration exists. | |
Helper class for setting links between overlapping objects.
This utility class is used by the OverlapTools, though it could probably be used by a user as well. It can do two things at the moment:
For this simple implementation, use a single object link. I might later allow for an array of links to include all possible object overlaps.
1.6.1