ATLAS Offline Software
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
()
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
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition:
SysListHandle.h:33
SysWriteDecorHandle.h
CP::PhotonExtraVariablesAlg::m_systematicsList
CP::SysListHandle m_systematicsList
Definition:
PhotonExtraVariablesAlg.h:27
SysListHandle.h
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::SysReadHandle< xAOD::PhotonContainer >
CP::PhotonExtraVariablesAlg::initialize
virtual StatusCode initialize() override
Definition:
PhotonExtraVariablesAlg.cxx:11
CP
Select isolated Photons, Electrons and Muons.
Definition:
Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition:
AnaAlgorithm.cxx:40
CP::PhotonExtraVariablesAlg::m_caloEta2Handle
CP::SysWriteDecorHandle< float > m_caloEta2Handle
Definition:
PhotonExtraVariablesAlg.h:30
SysReadHandle.h
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition:
AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::PhotonExtraVariablesAlg::execute
virtual StatusCode execute() override
Definition:
PhotonExtraVariablesAlg.cxx:23
CP::PhotonExtraVariablesAlg
Definition:
PhotonExtraVariablesAlg.h:19
CP::SysWriteDecorHandle< int >
PhotonContainer.h
Generated on Sun Dec 22 2024 21:16:10 for ATLAS Offline Software by
1.8.18