ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
EgammaAnalysisAlgorithms
EgammaAnalysisAlgorithms
PhotonShowerShapeFudgeAlg.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__ELECTRON_PHOTON_SHOWER_SHAPE_FUDGE_ALG_H
10
#define EGAMMA_ANALYSIS_ALGORITHMS__ELECTRON_PHOTON_SHOWER_SHAPE_FUDGE_ALG_H
11
12
#include <
AnaAlgorithm/AnaAlgorithm.h
>
13
#include <
EgammaAnalysisInterfaces/IElectronPhotonShowerShapeFudgeTool.h
>
14
#include <
SelectionHelpers/OutOfValidityHelper.h
>
15
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
16
#include <
SystematicsHandles/SysCopyHandle.h
>
17
#include <
SystematicsHandles/SysListHandle.h
>
18
#include <
xAODEgamma/PhotonContainer.h
>
19
20
namespace
CP
21
{
24
25
class
PhotonShowerShapeFudgeAlg
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<IElectronPhotonShowerShapeFudgeTool>
m_showerShapeFudgeTool
{
this
,
"showerShapeFudgeTool"
,
"ElectronPhotonShowerShapeFudgeTool"
,
"the smearing tool we apply"
};
38
40
private
:
41
SysListHandle
m_systematicsList
{
this
};
42
44
private
:
45
SysCopyHandle<xAOD::PhotonContainer>
m_photonHandle
{
46
this
,
"photons"
,
"Photons"
,
"the photon 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
PhotonContainer.h
IElectronPhotonShowerShapeFudgeTool.h
OutOfValidityHelper.h
SysCopyHandle.h
SysListHandle.h
SysReadSelectionHandle.h
CP::OutOfValidityHelper
a helper to translate a CP::CorrectionCode into a StatusCode
Definition
OutOfValidityHelper.h:73
CP::PhotonShowerShapeFudgeAlg
an algorithm for calling IElectronPhotonShowerShapeFudgeTool for photons
Definition
PhotonShowerShapeFudgeAlg.h:26
CP::PhotonShowerShapeFudgeAlg::m_showerShapeFudgeTool
ToolHandle< IElectronPhotonShowerShapeFudgeTool > m_showerShapeFudgeTool
the smearing tool
Definition
PhotonShowerShapeFudgeAlg.h:37
CP::PhotonShowerShapeFudgeAlg::m_photonHandle
SysCopyHandle< xAOD::PhotonContainer > m_photonHandle
the photon collection we run on
Definition
PhotonShowerShapeFudgeAlg.h:45
CP::PhotonShowerShapeFudgeAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
PhotonShowerShapeFudgeAlg.h:41
CP::PhotonShowerShapeFudgeAlg::initialize
StatusCode initialize() override
Definition
PhotonShowerShapeFudgeAlg.cxx:23
CP::PhotonShowerShapeFudgeAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
PhotonShowerShapeFudgeAlg.h:50
CP::PhotonShowerShapeFudgeAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition
PhotonShowerShapeFudgeAlg.h:55
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