ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
MuonAnalysisAlgorithms
MuonAnalysisAlgorithms
MuonIsolationAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
#ifndef MUON_ANALYSIS_ALGORITHMS__MUON_ISOLATION_ALG_H
10
#define MUON_ANALYSIS_ALGORITHMS__MUON_ISOLATION_ALG_H
11
12
#include <
AnaAlgorithm/AnaAlgorithm.h
>
13
#include <
IsolationSelection/IIsolationSelectionTool.h
>
14
#include <
SelectionHelpers/ISelectionNameSvc.h
>
15
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
16
#include <
SelectionHelpers/SysWriteSelectionHandle.h
>
17
#include <
SystematicsHandles/SysListHandle.h
>
18
#include <
SystematicsHandles/SysReadHandle.h
>
19
#include <
xAODMuon/MuonContainer.h
>
20
21
namespace
CP
22
{
24
25
class
MuonIsolationAlg
final :
public
EL::AnaAlgorithm
26
{
28
public
:
29
using
EL::AnaAlgorithm::AnaAlgorithm
;
30
StatusCode
initialize
()
override
;
31
StatusCode
execute
(
const
EventContext& ctx)
override
;
32
33
34
36
private
:
37
ToolHandle<IIsolationSelectionTool>
m_isolationTool
{
this
,
"isolationTool"
,
"CP::IsolationSelectionTool"
,
"the isolation tool we apply"
};
38
40
private
:
41
SysListHandle
m_systematicsList
{
this
};
42
44
private
:
45
SysReadHandle<xAOD::MuonContainer>
m_muonHandle
{
46
this
,
"muons"
,
"Muons"
,
"the muon collection to run on"
};
47
49
private
:
50
SysReadSelectionHandle
m_preselection
{
51
this
,
"preselection"
,
""
,
"the preselection to apply"
};
52
54
private
:
55
SysWriteSelectionHandle
m_isolationHandle
{
56
this
,
"isolationDecoration"
,
""
,
"the decoration for the muon isolation"
};
57
59
private
:
60
ServiceHandle<ISelectionNameSvc>
m_nameSvc
{
"SelectionNameSvc"
,
"MuonIsolationAlg"
};
61
63
private
:
64
SelectionType
m_setOnFail
{};
65
};
66
}
67
68
#endif
AnaAlgorithm.h
MuonContainer.h
IIsolationSelectionTool.h
ISelectionNameSvc.h
SysListHandle.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteSelectionHandle.h
CP::MuonIsolationAlg
an algorithm for calling IMuonSelectionTool
Definition
MuonIsolationAlg.h:26
CP::MuonIsolationAlg::m_setOnFail
SelectionType m_setOnFail
the bits to set for an object failing the preselection
Definition
MuonIsolationAlg.h:64
CP::MuonIsolationAlg::m_muonHandle
SysReadHandle< xAOD::MuonContainer > m_muonHandle
the muon collection we run on
Definition
MuonIsolationAlg.h:45
CP::MuonIsolationAlg::m_nameSvc
ServiceHandle< ISelectionNameSvc > m_nameSvc
the ISelectionNameSvc
Definition
MuonIsolationAlg.h:60
CP::MuonIsolationAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
MuonIsolationAlg.h:41
CP::MuonIsolationAlg::initialize
StatusCode initialize() override
Definition
MuonIsolationAlg.cxx:23
CP::MuonIsolationAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
MuonIsolationAlg.h:50
CP::MuonIsolationAlg::m_isolationTool
ToolHandle< IIsolationSelectionTool > m_isolationTool
the smearing tool
Definition
MuonIsolationAlg.h:37
CP::MuonIsolationAlg::m_isolationHandle
SysWriteSelectionHandle m_isolationHandle
the decoration for the muon isolation
Definition
MuonIsolationAlg.h:55
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition
SysListHandle.h:33
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition
SysReadHandle.h:33
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition
SysReadSelectionHandle.h:32
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
ServiceHandle
Definition
ClusterMakerTool.h:36
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
CP::SelectionType
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
Definition
SelectionHelpers.h:26
Generated on
for ATLAS Offline Software by
1.17.0