ATLAS Offline Software
Loading...
Searching...
No Matches
METPhotonAssociator.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// METPhotonAssociator.h
8// Header file for class METPhotonAssociator
9//
10// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
11//
12// Author: P Loch, S Resconi, TJ Khoo, AS Mete
14#ifndef METRECONSTRUCTION_METPHOTONASSOCIATOR_H
15#define METRECONSTRUCTION_METPHOTONASSOCIATOR_H 1
16
17// METReconstruction includes
20
21//Includes for DataHandles
23
24
25namespace met{
27 : public METEgammaAssociator
28 {
29 // This macro defines the constructor with the interface declaration
31
32
33
34 // Public methods:
36 public:
37
38 // Constructor with name
39 METPhotonAssociator(const std::string& name);
41
42 // AsgTool Hooks
43 virtual StatusCode initialize() override;
44
46 // Private data:
48 protected:
49
50 StatusCode executeTool(xAOD::MissingETContainer* metCont, xAOD::MissingETAssociationMap* metMap) const final;
51
52 private:
53
56
57 SG::ReadHandleKey<xAOD::PhotonContainer> m_phContKey{this, "InputCollection", "Photons", "photons input key"};
58
59 };
60
61}
62
63#endif //> !METRECONSTRUCTION_METPHOTONASSOCIATOR_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)
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
METPhotonAssociator()
Default constructor:
SG::ReadHandleKey< xAOD::PhotonContainer > m_phContKey
StatusCode executeTool(xAOD::MissingETContainer *metCont, xAOD::MissingETAssociationMap *metMap) const final
METPhotonAssociator(const std::string &name)
MissingETAssociationMap_v1 MissingETAssociationMap
Version control by type defintion.