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
ADD_CMODE(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
IAsgElectronLikelihoodTool.h
IAsgPhotonIsEMSelector.h
IMuonSelectionTool.h
ITauSelectionTool.h
JetContainer.h
MissingETAssociationMap.h
MissingETContainer.h
MuonContainer.h
Muon.h
PhotonContainer.h
Photon.h
TauJetContainer.h
TauJet.h
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
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
CutsMETMaker::accept
StatusCode accept(const xAOD::Muon *mu)
Definition
CutsMETMaker.cxx:18
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArG4FSStartPointFilterLegacy.execute
execute
Definition
LArG4FSStartPointFilterLegacy.py:20
python.tests.PyTestsLib.finalize
finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition
PyTestsLib.py:50
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
Muon.h:13
xAOD::Photon
Photon_v1 Photon
Definition of the current "egamma version".
Definition
Photon.h:17
xAOD::Electron
Electron_v1 Electron
Definition of the current "egamma version".
Definition
Electron.h:17
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0