ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
EgammaAnalysisAlgorithms
EgammaAnalysisAlgorithms
PhotonExtraVariablesAlg.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
#ifndef PHOTON_EXTRAVARIABLES_ALG__H
8
#define PHOTON_EXTRAVARIABLES_ALG__H
9
10
#include <
AnaAlgorithm/AnaAlgorithm.h
>
11
#include <
SystematicsHandles/SysListHandle.h
>
12
#include <
SystematicsHandles/SysReadHandle.h
>
13
#include <
SystematicsHandles/SysWriteDecorHandle.h
>
14
15
#include <
xAODEgamma/PhotonContainer.h
>
16
17
namespace
CP
{
18
19
class
PhotonExtraVariablesAlg
final :
public
EL::AnaAlgorithm
{
20
21
public
:
22
using
EL::AnaAlgorithm::AnaAlgorithm
;
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
25
26
private
:
27
CP::SysListHandle
m_systematicsList
{
this
};
28
CP::SysReadHandle<xAOD::PhotonContainer>
m_photonsHandle
{
this
,
"photons"
,
""
,
"the input photon container"
};
29
CP::SysWriteDecorHandle<int>
m_conversionTypeHandle
{
this
,
"conversionType"
,
"conversionType_%SYS%"
,
"decoration name for photon conversionType"
};
30
CP::SysWriteDecorHandle<float>
m_caloEta2Handle
{
this
,
"caloEta2"
,
"caloEta2_%SYS%"
,
"decoration name for photon caloEtaBE(2)"
};
31
};
32
33
}
// namespace
34
35
#endif
AnaAlgorithm.h
PhotonContainer.h
SysListHandle.h
SysReadHandle.h
SysWriteDecorHandle.h
CP::PhotonExtraVariablesAlg
Definition
PhotonExtraVariablesAlg.h:19
CP::PhotonExtraVariablesAlg::initialize
virtual StatusCode initialize() override
Definition
PhotonExtraVariablesAlg.cxx:11
CP::PhotonExtraVariablesAlg::m_caloEta2Handle
CP::SysWriteDecorHandle< float > m_caloEta2Handle
Definition
PhotonExtraVariablesAlg.h:30
CP::PhotonExtraVariablesAlg::m_photonsHandle
CP::SysReadHandle< xAOD::PhotonContainer > m_photonsHandle
Definition
PhotonExtraVariablesAlg.h:28
CP::PhotonExtraVariablesAlg::m_conversionTypeHandle
CP::SysWriteDecorHandle< int > m_conversionTypeHandle
Definition
PhotonExtraVariablesAlg.h:29
CP::PhotonExtraVariablesAlg::m_systematicsList
CP::SysListHandle m_systematicsList
Definition
PhotonExtraVariablesAlg.h:27
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::SysWriteDecorHandle
a data handle for reading systematics varied input data
Definition
SysWriteDecorHandle.h:42
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