ATLAS Offline Software
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 
14 
16 
17 namespace CP {
18 
20 
21  public:
23  virtual StatusCode initialize() override;
24  virtual StatusCode execute() override;
25 
26  private:
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