ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
MET
METUtilities
src
METMakerAlg.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// METMakerAlg.h
8
9
#ifndef METMakerAlg_H
10
#define METMakerAlg_H
11
12
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
13
#include "GaudiKernel/ToolHandle.h"
14
15
#include "
xAODEgamma/Electron.h
"
16
#include "
xAODEgamma/Photon.h
"
17
#include "
xAODMuon/Muon.h
"
18
#include "
xAODTau/TauJet.h
"
19
20
#include "
xAODJet/JetContainer.h
"
21
#include "
xAODMuon/MuonContainer.h
"
22
#include "
xAODEgamma/ElectronContainer.h
"
23
#include "
xAODEgamma/PhotonContainer.h
"
24
#include "
xAODTau/TauJetContainer.h
"
25
26
#include "
xAODMissingET/MissingETContainer.h
"
27
#include "
xAODMissingET/MissingETAssociationMap.h
"
28
#include "
TauAnalysisTools/ITauSelectionTool.h
"
29
#include "
EgammaAnalysisInterfaces/IAsgPhotonIsEMSelector.h
"
30
#include "
MuonAnalysisInterfaces/IMuonSelectionTool.h
"
31
#include "
EgammaAnalysisInterfaces/IAsgElectronLikelihoodTool.h
"
32
33
34
class
IMETMaker
;
35
class
IAsgElectronLikelihoodTool
;
36
class
IAsgPhotonIsEMSelector
;
37
namespace
CP
{
38
class
IMuonSelectionTool
;
39
}
40
41
namespace
met
{
42
class
METMakerAlg
:
public
AthReentrantAlgorithm
{
43
44
public
:
45
47
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
48
50
virtual
~METMakerAlg
();
51
53
virtual
StatusCode
initialize
()
override
;
54
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
55
virtual
StatusCode
finalize
()
override
;
56
57
protected
:
// was private childORMETMaker
58
59
virtual
bool
accept
(
const
xAOD::Electron
* el)
const
;
60
virtual
bool
accept
(
const
xAOD::Photon
* ph)
const
;
61
virtual
bool
accept
(
const
xAOD::TauJet
* tau)
const
;
62
virtual
bool
accept
(
const
xAOD::Muon
*
muon
)
const
;
63
64
Gaudi::Property<std::string>
m_softclname
{
this
,
"METSoftClName"
,
"SoftClus"
};
65
Gaudi::Property<std::string>
m_softtrkname
{
this
,
"METSoftTrkName"
,
"PVSoftTrk"
};
66
67
SG::ReadHandleKey<xAOD::ElectronContainer>
m_ElectronContainerKey
{
this
,
"InputElectrons"
,
"Electrons"
};
68
SG::ReadHandleKey<xAOD::PhotonContainer>
m_PhotonContainerKey
{
this
,
"InputPhotons"
,
"Photons"
};
69
SG::ReadHandleKey<xAOD::TauJetContainer>
m_TauJetContainerKey
{
this
,
"InputTaus"
,
"TauJets"
};
70
SG::ReadHandleKey<xAOD::MuonContainer>
m_MuonContainerKey
{
this
,
"InputMuons"
,
"Muons"
};
71
SG::ReadHandleKey<xAOD::JetContainer>
m_JetContainerKey
{
this
,
"InputJets"
,
"AntiKt4LCTopoJets"
};
72
73
SG::ReadHandleKey<xAOD::MissingETContainer>
m_CoreMetKey
{
this
,
"METCoreName"
,
"MET_Core"
};
74
75
SG::WriteHandleKey<xAOD::MissingETContainer>
m_metKey
{
this
,
"METName"
,
"MET_Reference"
,
"MET container"
};
76
SG::ReadHandleKey<xAOD::MissingETAssociationMap>
m_metMapKey
{
this
,
"METMapName"
,
"METAssoc"
};
77
78
79
Gaudi::Property<bool>
m_doTruthLep
{
this
,
"DoTruthLeptons"
,
false
};
80
82
ToolHandle<IMETMaker>
m_metmaker
{
this
,
"Maker"
,
"Maker"
};
83
84
ToolHandle<CP::IMuonSelectionTool>
m_muonSelTool
{
this
,
"MuonSelectionTool"
,
"MuonSelectionTool"
};
85
ToolHandle<IAsgElectronLikelihoodTool>
m_elecSelLHTool
{
this
,
"ElectronLHSelectionTool"
,
"ElectronLHSelectionTool"
};
86
ToolHandle<IAsgPhotonIsEMSelector>
m_photonSelIsEMTool
{
this
,
"PhotonIsEMSelectionTool"
,
"PhotonIsEMSelectionTool"
};
87
ToolHandle<TauAnalysisTools::ITauSelectionTool>
m_tauSelTool
{
this
,
"TauSelectionTool"
,
"TauSelectionTool"
};
88
89
};
90
91
}
92
93
#endif
AthReentrantAlgorithm.h
ElectronContainer.h
Electron.h
PhotonContainer.h
Photon.h
MissingETContainer.h
MuonContainer.h
Muon.h
IAsgElectronLikelihoodTool.h
IAsgPhotonIsEMSelector.h
IMuonSelectionTool.h
ITauSelectionTool.h
JetContainer.h
MissingETAssociationMap.h
TauJetContainer.h
TauJet.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CP::IMuonSelectionTool
Interface for (a) muon selector tool(s).
Definition
IMuonSelectionTool.h:25
IAsgElectronLikelihoodTool
Interface to tool to select electrons.
Definition
IAsgElectronLikelihoodTool.h:27
IAsgPhotonIsEMSelector
Interface to tool to select photons.
Definition
IAsgPhotonIsEMSelector.h:25
IMETMaker
Definition
IMETMaker.h:28
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
met::METMakerAlg
Definition
METMakerAlg.h:42
met::METMakerAlg::~METMakerAlg
virtual ~METMakerAlg()
Destructor:
met::METMakerAlg::accept
virtual bool accept(const xAOD::Electron *el) const
Definition
METMakerAlg.cxx:253
met::METMakerAlg::m_TauJetContainerKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_TauJetContainerKey
Definition
METMakerAlg.h:69
met::METMakerAlg::m_doTruthLep
Gaudi::Property< bool > m_doTruthLep
Definition
METMakerAlg.h:79
met::METMakerAlg::m_metKey
SG::WriteHandleKey< xAOD::MissingETContainer > m_metKey
Definition
METMakerAlg.h:75
met::METMakerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
METMakerAlg.cxx:79
met::METMakerAlg::m_MuonContainerKey
SG::ReadHandleKey< xAOD::MuonContainer > m_MuonContainerKey
Definition
METMakerAlg.h:70
met::METMakerAlg::m_softclname
Gaudi::Property< std::string > m_softclname
Definition
METMakerAlg.h:64
met::METMakerAlg::initialize
virtual StatusCode initialize() override
Athena algorithm's Hooks.
Definition
METMakerAlg.cxx:29
met::METMakerAlg::m_softtrkname
Gaudi::Property< std::string > m_softtrkname
Definition
METMakerAlg.h:65
met::METMakerAlg::m_metmaker
ToolHandle< IMETMaker > m_metmaker
Athena configured tools.
Definition
METMakerAlg.h:82
met::METMakerAlg::m_muonSelTool
ToolHandle< CP::IMuonSelectionTool > m_muonSelTool
Definition
METMakerAlg.h:84
met::METMakerAlg::m_metMapKey
SG::ReadHandleKey< xAOD::MissingETAssociationMap > m_metMapKey
Definition
METMakerAlg.h:76
met::METMakerAlg::m_photonSelIsEMTool
ToolHandle< IAsgPhotonIsEMSelector > m_photonSelIsEMTool
Definition
METMakerAlg.h:86
met::METMakerAlg::m_PhotonContainerKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_PhotonContainerKey
Definition
METMakerAlg.h:68
met::METMakerAlg::m_JetContainerKey
SG::ReadHandleKey< xAOD::JetContainer > m_JetContainerKey
Definition
METMakerAlg.h:71
met::METMakerAlg::m_elecSelLHTool
ToolHandle< IAsgElectronLikelihoodTool > m_elecSelLHTool
Definition
METMakerAlg.h:85
met::METMakerAlg::m_tauSelTool
ToolHandle< TauAnalysisTools::ITauSelectionTool > m_tauSelTool
Definition
METMakerAlg.h:87
met::METMakerAlg::finalize
virtual StatusCode finalize() override
Definition
METMakerAlg.cxx:72
met::METMakerAlg::m_ElectronContainerKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_ElectronContainerKey
Definition
METMakerAlg.h:67
met::METMakerAlg::m_CoreMetKey
SG::ReadHandleKey< xAOD::MissingETContainer > m_CoreMetKey
Definition
METMakerAlg.h:73
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
met
Definition
IMETSignificance.h:24
xAOD::TauJet
TauJet_v3 TauJet
Definition of the current "tau version".
Definition
TauJet.h:17
xAOD::Muon
Muon_v1 Muon
Reference the current persistent version:
Definition
Event/xAOD/xAODMuon/xAODMuon/Muon.h:13
xAOD::Photon
Photon_v1 Photon
Definition of the current "egamma version".
Definition
Event/xAOD/xAODEgamma/xAODEgamma/Photon.h:17
xAOD::muon
@ muon
Definition
TrackingPrimitives.h:196
xAOD::Electron
Electron_v1 Electron
Definition of the current "egamma version".
Definition
Event/xAOD/xAODEgamma/xAODEgamma/Electron.h:17
Generated on
for ATLAS Offline Software by
1.17.0