ATLAS Offline Software
OverlapLinkHelper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ASSOCIATIONUTILS_OVERLAPLINKHELPER_H
6 #define ASSOCIATIONUTILS_OVERLAPLINKHELPER_H
7 
8 // Framework includes
10 
11 // EDM includes
13 
14 // Local includes
16 
17 namespace ORUtils
18 {
19 
35  {
36 
37  public:
38 
40  OverlapLinkHelper(const std::string& linkLabel);
41 
44  const xAOD::IParticle& p2) const;
45 
48  const xAOD::IParticle* getObjectLink(const xAOD::IParticle& p) const;
49 
50  private:
51 
56 
57  }; // class OverlapLinkHelper
58 
59 } // namespace ORUtils
60 
61 #endif
ORUtils::OverlapLinkHelper::OverlapLinkHelper
OverlapLinkHelper(const std::string &linkLabel)
Constructor.
Definition: OverlapLinkHelper.cxx:14
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
ORUtils::OverlapLinkHelper::m_linkDecorator
ort::objLinkDecorator_t m_linkDecorator
Object link decorator.
Definition: OverlapLinkHelper.h:53
SG::ConstAccessor
Helper class to provide constant type-safe access to aux data.
Definition: ConstAccessor.h:54
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:40
ORUtils
Definition: AltMuJetOverlapTool.h:20
ORUtils::OverlapLinkHelper::getObjectLink
const xAOD::IParticle * getObjectLink(const xAOD::IParticle &p) const
Retrieve an overlap-linked particle.
Definition: OverlapLinkHelper.cxx:35
SG::Decorator
Helper class to provide type-safe access to aux data.
Definition: Decorator.h:58
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
ORUtils::OverlapLinkHelper::addObjectLink
StatusCode addObjectLink(const xAOD::IParticle &p1, const xAOD::IParticle &p2) const
Decorate p1 with an overlap object link to p2.
Definition: OverlapLinkHelper.cxx:23
StatusCode.h
ORUtils::OverlapLinkHelper::m_linkAccessor
ort::objLinkAccessor_t m_linkAccessor
Corresponding object link accessor (for reading only)
Definition: OverlapLinkHelper.h:55
OverlapRemovalDefs.h
ORUtils::OverlapLinkHelper
Helper class for setting links between overlapping objects.
Definition: OverlapLinkHelper.h:35