ATLAS Offline Software
ObjLinkOverlapTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ASSOCIATIONUTILS_OBJLINKOVERLAPTOOL_H
6 #define ASSOCIATIONUTILS_OBJLINKOVERLAPTOOL_H
7 
8 // Framework includes
9 #include "AsgTools/AsgTool.h"
10 
11 // Local inlcudes
14 
15 namespace ORUtils
16 {
17 
28  class ObjLinkOverlapTool : public virtual IOverlapTool,
29  public BaseOverlapTool
30  {
31 
34 
35  public:
36 
38  ObjLinkOverlapTool(const std::string& name);
39 
42  virtual StatusCode
44  const xAOD::IParticleContainer& cont2) const override;
45 
46  protected:
47 
49  virtual StatusCode initializeDerived() override;
50  }; // class ObjLinkOverlapTool
51 
52 } // namespace ORUtils
53 
54 #endif
ORUtils::ObjLinkOverlapTool::initializeDerived
virtual StatusCode initializeDerived() override
Initialize the tool.
Definition: ObjLinkOverlapTool.cxx:28
ORUtils::ObjLinkOverlapTool::ObjLinkOverlapTool
ObjLinkOverlapTool(const std::string &name)
Create proper constructor for Athena.
Definition: ObjLinkOverlapTool.cxx:20
ORUtils
Definition: AltMuJetOverlapTool.h:20
ORUtils::ObjLinkOverlapTool::findOverlaps
virtual StatusCode findOverlaps(const xAOD::IParticleContainer &cont1, const xAOD::IParticleContainer &cont2) const override
Identify overlaps by ElementLink.
Definition: ObjLinkOverlapTool.cxx:37
ORUtils::BaseOverlapTool
Common base class tool for overlap tools.
Definition: BaseOverlapTool.h:38
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ORUtils::ObjLinkOverlapTool
A generic tool which finds overlaps using ElementLinks.
Definition: ObjLinkOverlapTool.h:30
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
BaseOverlapTool.h
AsgTool.h
ORUtils::IOverlapTool
Interface class for overlap removal tools.
Definition: IOverlapTool.h:27
IOverlapTool.h