ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
OverlapRemovalAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
#ifndef ASG_ANALYSIS_ALGORITHMS__OVERLAP_REMOVAL_ALG_H
9
#define ASG_ANALYSIS_ALGORITHMS__OVERLAP_REMOVAL_ALG_H
10
11
#include <
AnaAlgorithm/AnaAlgorithm.h
>
12
#include <
AssociationUtils/ToolBox.h
>
13
#include <
SelectionHelpers/SysWriteSelectionHandle.h
>
14
#include <
SystematicsHandles/SysCopyHandle.h
>
15
#include <
SystematicsHandles/SysListHandle.h
>
16
#include <
AsgTools/PropertyWrapper.h
>
17
18
#include <
xAODEgamma/ElectronContainer.h
>
19
#include <
xAODEgamma/PhotonContainer.h
>
20
#include <
xAODJet/JetContainer.h
>
21
#include <
xAODMuon/MuonContainer.h
>
22
#include <
xAODTau/TauJetContainer.h
>
23
24
namespace
CP
25
{
27
28
class
OverlapRemovalAlg
final :
public
EL::AnaAlgorithm
29
{
31
public
:
32
using
EL::AnaAlgorithm::AnaAlgorithm
;
33
StatusCode
initialize
()
override
;
34
StatusCode
execute
(
const
EventContext& ctx)
override
;
35
36
37
39
private
:
40
ToolHandle<ORUtils::IOverlapRemovalTool>
m_overlapTool
{
this
,
"overlapTool"
,
"ORUtils::OverlapRemovalTool"
,
"the overlap removal tool"
};
41
43
private
:
44
SysListHandle
m_systematicsList
{
this
};
45
46
private
:
47
SysCopyHandle<const xAOD::ElectronContainer>
m_electronsHandle
{
48
this
,
"electrons"
,
""
,
"the electrons container to use"
};
49
SysCopyHandle<const xAOD::MuonContainer>
m_muonsHandle
{
50
this
,
"muons"
,
""
,
"the muons container to use"
};
51
SysCopyHandle<const xAOD::JetContainer>
m_jetsHandle
{
52
this
,
"jets"
,
""
,
"the jets container to use"
};
53
SysCopyHandle<const xAOD::TauJetContainer>
m_tausHandle
{
54
this
,
"taus"
,
""
,
"the taus container to use"
};
55
SysCopyHandle<const xAOD::PhotonContainer>
m_photonsHandle
{
56
this
,
"photons"
,
""
,
"the photons container to use"
};
57
SysCopyHandle<const xAOD::JetContainer>
m_fatJetsHandle
{
58
this
,
"fatJets"
,
""
,
"the fat jets container to use"
};
59
61
private
:
62
SysWriteSelectionHandle
m_electronsSelectionHandle
{
63
this
,
"electronsDecoration"
,
""
,
"the decoration for the electron overlap removal selection"
};
64
SysWriteSelectionHandle
m_muonsSelectionHandle
{
65
this
,
"muonsDecoration"
,
""
,
"the decoration for the muon overlap removal selection"
};
66
SysWriteSelectionHandle
m_jetsSelectionHandle
{
67
this
,
"jetsDecoration"
,
""
,
"the decoration for the jet overlap removal selection"
};
68
SysWriteSelectionHandle
m_tausSelectionHandle
{
69
this
,
"tausDecoration"
,
""
,
"the decoration for the tau overlap removal selection"
};
70
SysWriteSelectionHandle
m_photonsSelectionHandle
{
71
this
,
"photonsDecoration"
,
""
,
"the decoration for the photon overlap removal selection"
};
72
SysWriteSelectionHandle
m_fatJetsSelectionHandle
{
73
this
,
"fatJetsDecoration"
,
""
,
"the decoration for the fat jet overlap removal selection"
};
74
76
private
:
77
Gaudi::Property<std::string>
m_overlapRemovalDecoration
{
this
,
"OutputLabel"
,
""
,
"the decoration for the overlap removal tool output"
};
78
80
private
:
81
std::unique_ptr<const SG::Accessor<char> >
m_overlapRemovalAccessor
;
82
83
};
84
}
85
86
#endif
AnaAlgorithm.h
ElectronContainer.h
PhotonContainer.h
MuonContainer.h
JetContainer.h
PropertyWrapper.h
SysCopyHandle.h
SysListHandle.h
SysWriteSelectionHandle.h
TauJetContainer.h
ToolBox.h
CP::OverlapRemovalAlg
an algorithm for calling IPileupReweightingTool
Definition
OverlapRemovalAlg.h:29
CP::OverlapRemovalAlg::m_tausSelectionHandle
SysWriteSelectionHandle m_tausSelectionHandle
Definition
OverlapRemovalAlg.h:68
CP::OverlapRemovalAlg::m_muonsHandle
SysCopyHandle< const xAOD::MuonContainer > m_muonsHandle
Definition
OverlapRemovalAlg.h:49
CP::OverlapRemovalAlg::m_overlapTool
ToolHandle< ORUtils::IOverlapRemovalTool > m_overlapTool
The OR toolbox.
Definition
OverlapRemovalAlg.h:40
CP::OverlapRemovalAlg::m_jetsSelectionHandle
SysWriteSelectionHandle m_jetsSelectionHandle
Definition
OverlapRemovalAlg.h:66
CP::OverlapRemovalAlg::m_photonsHandle
SysCopyHandle< const xAOD::PhotonContainer > m_photonsHandle
Definition
OverlapRemovalAlg.h:55
CP::OverlapRemovalAlg::m_overlapRemovalDecoration
Gaudi::Property< std::string > m_overlapRemovalDecoration
the tool output decoration for the overlap removal status
Definition
OverlapRemovalAlg.h:77
CP::OverlapRemovalAlg::m_fatJetsHandle
SysCopyHandle< const xAOD::JetContainer > m_fatJetsHandle
Definition
OverlapRemovalAlg.h:57
CP::OverlapRemovalAlg::m_electronsHandle
SysCopyHandle< const xAOD::ElectronContainer > m_electronsHandle
Definition
OverlapRemovalAlg.h:47
CP::OverlapRemovalAlg::initialize
StatusCode initialize() override
Definition
OverlapRemovalAlg.cxx:22
CP::OverlapRemovalAlg::m_jetsHandle
SysCopyHandle< const xAOD::JetContainer > m_jetsHandle
Definition
OverlapRemovalAlg.h:51
CP::OverlapRemovalAlg::m_tausHandle
SysCopyHandle< const xAOD::TauJetContainer > m_tausHandle
Definition
OverlapRemovalAlg.h:53
CP::OverlapRemovalAlg::m_photonsSelectionHandle
SysWriteSelectionHandle m_photonsSelectionHandle
Definition
OverlapRemovalAlg.h:70
CP::OverlapRemovalAlg::m_overlapRemovalAccessor
std::unique_ptr< const SG::Accessor< char > > m_overlapRemovalAccessor
the accessor for m_overlapRemovalDecoration
Definition
OverlapRemovalAlg.h:81
CP::OverlapRemovalAlg::m_electronsSelectionHandle
SysWriteSelectionHandle m_electronsSelectionHandle
the decoration for the overlap removal status
Definition
OverlapRemovalAlg.h:62
CP::OverlapRemovalAlg::m_fatJetsSelectionHandle
SysWriteSelectionHandle m_fatJetsSelectionHandle
Definition
OverlapRemovalAlg.h:72
CP::OverlapRemovalAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
OverlapRemovalAlg.h:44
CP::OverlapRemovalAlg::m_muonsSelectionHandle
SysWriteSelectionHandle m_muonsSelectionHandle
Definition
OverlapRemovalAlg.h:64
CP::SysCopyHandle
a systematics data handle that will either copy the input object or act like an update handle
Definition
SysCopyHandle.h:65
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition
SysListHandle.h:33
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition
SysWriteSelectionHandle.h:32
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition
AnaAlgorithm.h:74
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaAlgorithm.cxx:40
EL::AnaAlgorithm::execute
virtual::StatusCode execute()
execute this algorithm
Definition
AnaAlgorithm.cxx:315
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
Generated on
for ATLAS Offline Software by
1.17.0