ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
EgammaAnalysisAlgorithms
EgammaAnalysisAlgorithms
EgammaIsolationCorrectionAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
#ifndef EGAMMA_ANALYSIS_ALGORITHMS__EGAMMA_ISOLATION_CORRECTION_ALG_H
10
#define EGAMMA_ANALYSIS_ALGORITHMS__EGAMMA_ISOLATION_CORRECTION_ALG_H
11
12
#include <
AnaAlgorithm/AnaAlgorithm.h
>
13
#include <
EgammaAnalysisAlgorithms/CopyHelpers.h
>
14
#include <
IsolationCorrections/IIsolationCorrectionTool.h
>
15
#include <
SelectionHelpers/OutOfValidityHelper.h
>
16
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
17
#include <
SystematicsHandles/SysCopyHandle.h
>
18
#include <
SystematicsHandles/SysListHandle.h
>
19
20
namespace
CP
21
{
24
25
class
EgammaIsolationCorrectionAlg
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<CP::IIsolationCorrectionTool>
m_isolationCorrectionTool
{
this
,
"isolationCorrectionTool"
,
"IsolationCorrectionTool"
,
"the smearing tool we apply"
};
38
40
private
:
41
SysListHandle
m_systematicsList
{
this
};
42
44
private
:
45
SysCopyHandle<xAOD::EgammaContainer>
m_egammaHandle
{
46
this
,
"egammas"
,
"Electrons"
,
"the egamma collection to run on"
};
47
49
private
:
50
SysReadSelectionHandle
m_preselection
{
51
this
,
"preselection"
,
""
,
"the preselection to apply"
};
52
54
private
:
55
OutOfValidityHelper
m_outOfValidity
{
this
};
56
};
57
}
58
59
#endif
AnaAlgorithm.h
CopyHelpers.h
IIsolationCorrectionTool.h
OutOfValidityHelper.h
SysCopyHandle.h
SysListHandle.h
SysReadSelectionHandle.h
CP::EgammaIsolationCorrectionAlg
an algorithm for calling CP::IIsolationCorrectionTool
Definition
EgammaIsolationCorrectionAlg.h:26
CP::EgammaIsolationCorrectionAlg::m_isolationCorrectionTool
ToolHandle< CP::IIsolationCorrectionTool > m_isolationCorrectionTool
the smearing tool
Definition
EgammaIsolationCorrectionAlg.h:37
CP::EgammaIsolationCorrectionAlg::initialize
StatusCode initialize() override
Definition
EgammaIsolationCorrectionAlg.cxx:23
CP::EgammaIsolationCorrectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
EgammaIsolationCorrectionAlg.h:41
CP::EgammaIsolationCorrectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
EgammaIsolationCorrectionAlg.h:50
CP::EgammaIsolationCorrectionAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition
EgammaIsolationCorrectionAlg.h:55
CP::EgammaIsolationCorrectionAlg::m_egammaHandle
SysCopyHandle< xAOD::EgammaContainer > m_egammaHandle
the egamma collection we run on
Definition
EgammaIsolationCorrectionAlg.h:45
CP::OutOfValidityHelper
a helper to translate a CP::CorrectionCode into a StatusCode
Definition
OutOfValidityHelper.h:73
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::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition
SysReadSelectionHandle.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