ATLAS Offline Software
METElectronAssociator.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // METElectronAssociator.h
8 // Header file for class METElectronAssociator
9 //
10 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
11 //
12 // Author: P Loch, S Resconi, TJ Khoo, AS Mete
14 #ifndef METRECONSTRUCTION_METELECTRONASSOCIATOR_H
15 #define METRECONSTRUCTION_METELECTRONASSOCIATOR_H 1
16 
17 // METReconstruction includes
19 #include "xAODEgamma/ElectronFwd.h"
20 
21 //Includes for DataHandles
22 #include "StoreGate/DataHandle.h"
23 
24 namespace met{
26  : public METEgammaAssociator
27  {
28  // This macro defines the constructor with the interface declaration
30 
31 
32 
33  // Public methods:
35  public:
36 
37  // Constructor with name
38  METElectronAssociator(const std::string& name);
40 
41  // AsgTool Hooks
42  virtual StatusCode initialize() override;
43 
45  // Private data:
47  protected:
48 
50 
51  private:
52 
55 
56  SG::ReadHandleKey<xAOD::ElectronContainer> m_elContKey{this, "InputCollection", "Electrons", "electrons input key"};
57 
58  };
59 
60 }
61 
62 #endif //> !METRECONSTRUCTION_METELECTRONASSOCIATOR_H
IMETAssocToolBase
Definition: IMETAssocToolBase.h:25
SG::ReadHandleKey< xAOD::ElectronContainer >
METEgammaAssociator.h
DataHandle.h
xAOD::MissingETAssociationMap_v1
Definition: MissingETAssociationMap_v1.h:29
met
Definition: IMETSignificance.h:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
met::METElectronAssociator::METElectronAssociator
METElectronAssociator()
Default constructor:
met::METElectronAssociator::executeTool
StatusCode executeTool(xAOD::MissingETContainer *metCont, xAOD::MissingETAssociationMap *metMap) const final
Definition: METElectronAssociator.cxx:62
ElectronFwd.h
met::METElectronAssociator::m_elContKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_elContKey
Definition: METElectronAssociator.h:56
xAOD::MissingETContainer_v1
Container for xAOD::MissingET_v1 objects.
Definition: MissingETContainer_v1.h:21
met::METElectronAssociator::~METElectronAssociator
~METElectronAssociator()=default
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
met::METEgammaAssociator
Definition: METEgammaAssociator.h:30
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
met::METElectronAssociator
Definition: METElectronAssociator.h:27
met::METElectronAssociator::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: METElectronAssociator.cxx:37