ATLAS Offline Software
Loading...
Searching...
No Matches
METElectronAssociator.h
Go to the documentation of this file.
1
2
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
20
21//Includes for DataHandles
23
24namespace 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
49 StatusCode executeTool(xAOD::MissingETContainer* metCont, xAOD::MissingETAssociationMap* metMap) const final;
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
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
defines an "iterator" over instances of a given type in StoreGateSvc
Property holding a SG store/key/clid from which a ReadHandle is made.
METEgammaAssociator(const std::string &name)
StatusCode executeTool(xAOD::MissingETContainer *metCont, xAOD::MissingETAssociationMap *metMap) const final
SG::ReadHandleKey< xAOD::ElectronContainer > m_elContKey
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
METElectronAssociator(const std::string &name)
METElectronAssociator()
Default constructor:
MissingETAssociationMap_v1 MissingETAssociationMap
Version control by type defintion.