ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
EgammaAnalysisAlgorithms
EgammaAnalysisAlgorithms
PhotonOriginCorrectionAlg.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
#ifndef EGAMMA_ANALYSIS_ALGORITHMS__PHOTON_ORIGIN_CORRECTION_ALG_H
8
#define EGAMMA_ANALYSIS_ALGORITHMS__PHOTON_ORIGIN_CORRECTION_ALG_H
9
10
#include <
AnaAlgorithm/AnaReentrantAlgorithm.h
>
11
#include <
AsgDataHandles/ReadHandleKey.h
>
12
#include <
AsgTools/PropertyWrapper.h
>
13
#include <
EgammaAnalysisAlgorithms/CopyHelpers.h
>
14
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
15
#include <
SystematicsHandles/SysCopyHandle.h
>
16
#include <
SystematicsHandles/SysListHandle.h
>
17
18
#include "
xAODEgamma/PhotonContainer.h
"
19
#include "
xAODTracking/VertexContainer.h
"
20
21
namespace
CP
{
24
25
class
PhotonOriginCorrectionAlg
final :
public
EL::AnaReentrantAlgorithm
{
27
public
:
28
PhotonOriginCorrectionAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
29
30
public
:
31
StatusCode
initialize
()
override
;
32
33
public
:
34
StatusCode
execute
(
const
EventContext &ctx)
const override
;
35
37
private
:
38
SysCopyHandle<xAOD::PhotonContainer>
m_PhotonHandle
{
39
this
,
"photons"
,
"Photons"
,
"the egamma collection to run on"
};
40
42
private
:
43
SysListHandle
m_systematicsList
{
this
};
44
46
private
:
47
SysReadSelectionHandle
m_preselection
{
this
,
"preselection"
,
""
,
48
"the preselection to apply"
};
49
51
SG::ReadHandleKey<xAOD::VertexContainer>
m_primVertices
{
52
this
,
"Vertices"
,
"PrimaryVertices"
,
"Collection of Primary Vertices"
};
53
};
54
}
// namespace CP
55
56
#endif
AnaReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CopyHelpers.h
PhotonContainer.h
PropertyWrapper.h
SysCopyHandle.h
SysListHandle.h
SysReadSelectionHandle.h
VertexContainer.h
CP::PhotonOriginCorrectionAlg::m_PhotonHandle
SysCopyHandle< xAOD::PhotonContainer > m_PhotonHandle
the egamma collection we run on
Definition
PhotonOriginCorrectionAlg.h:38
CP::PhotonOriginCorrectionAlg::PhotonOriginCorrectionAlg
PhotonOriginCorrectionAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition
PhotonOriginCorrectionAlg.cxx:20
CP::PhotonOriginCorrectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
PhotonOriginCorrectionAlg.h:47
CP::PhotonOriginCorrectionAlg::initialize
StatusCode initialize() override
Definition
PhotonOriginCorrectionAlg.cxx:24
CP::PhotonOriginCorrectionAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
PhotonOriginCorrectionAlg.cxx:35
CP::PhotonOriginCorrectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
PhotonOriginCorrectionAlg.h:43
CP::PhotonOriginCorrectionAlg::m_primVertices
SG::ReadHandleKey< xAOD::VertexContainer > m_primVertices
the vertices to loop over to select the Primary
Definition
PhotonOriginCorrectionAlg.h:51
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::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition
AnaReentrantAlgorithm.h:51
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
Generated on
for ATLAS Offline Software by
1.17.0