ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkEGamma
DerivationFrameworkEGamma
EGammaEnergyCalibrationWrapper.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
// Author: Chengxi Yang (cxyang@berkeley.edu)
5
6
#ifndef DERIVATIONFRAMEWORK_EGAMMAENERGYCALIBRATIONWRAPPER_H
7
#define DERIVATIONFRAMEWORK_EGAMMAENERGYCALIBRATIONWRAPPER_H
8
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
11
//
12
#include "
StoreGate/ReadHandleKey.h
"
13
#include "GaudiKernel/ServiceHandle.h"
14
#include "
xAODEgamma/EgammaContainer.h
"
15
// name space of global event info is defined here
16
#include "
EgammaAnalysisInterfaces/IegammaMVASvc.h
"
17
#include "
xAODEventInfo/EventInfo.h
"
18
//
19
#include <string>
20
21
22
namespace
DerivationFramework
{
23
24
class
EGammaEnergyCalibrationWrapper
:
25
public
extends<AthAlgTool, IAugmentationTool>
26
{
27
public
:
28
using
base_class::base_class;
29
StatusCode
initialize
()
override
final
;
30
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
31
32
private
:
33
34
SG::ReadHandleKey<xAOD::EgammaContainer>
m_electronContainerKey
{
35
this
,
"ElectronContainerName"
,
"Electrons"
,
"Electron container"
36
};
37
38
SG::ReadHandleKey<xAOD::EgammaContainer>
m_photonContainerKey
{
39
this
,
"PhotonContainerName"
,
"Photons"
,
"Photon container"
40
};
41
42
SG::WriteDecorHandleKey<xAOD::EgammaContainer>
m_electronEnergyDecoKey
{
43
this
,
"decoratorTransformerEnergy"
,
m_electronContainerKey
,
""
,
"Calibrated energy decoration for electrons"
44
};
45
46
SG::WriteDecorHandleKey<xAOD::EgammaContainer>
m_photonEnergyDecoKey
{
47
this
,
"decoratorTransformerEnergyPhoton"
,
m_photonContainerKey
,
""
,
"Calibrated energy decoration for photons"
48
};
49
50
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfo_key
{
this
,
"EventInfo"
,
"EventInfo"
,
"Input event information"
};
51
52
ServiceHandle<IegammaMVASvc>
m_MVACalibSvc
{
53
this
,
"TransformerCalibSvc"
,
""
,
"Calibration service using Transformer model"
54
};
55
};
56
57
}
// namespace DerivationFramework
58
59
#endif
AthAlgTool.h
EgammaContainer.h
IAugmentationTool.h
IegammaMVASvc.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::EGammaEnergyCalibrationWrapper
Definition
EGammaEnergyCalibrationWrapper.h:26
DerivationFramework::EGammaEnergyCalibrationWrapper::m_eventInfo_key
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
Definition
EGammaEnergyCalibrationWrapper.h:50
DerivationFramework::EGammaEnergyCalibrationWrapper::m_electronEnergyDecoKey
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_electronEnergyDecoKey
Definition
EGammaEnergyCalibrationWrapper.h:42
DerivationFramework::EGammaEnergyCalibrationWrapper::m_electronContainerKey
SG::ReadHandleKey< xAOD::EgammaContainer > m_electronContainerKey
Definition
EGammaEnergyCalibrationWrapper.h:34
DerivationFramework::EGammaEnergyCalibrationWrapper::initialize
StatusCode initialize() override final
Definition
EGammaEnergyCalibrationWrapper.cxx:12
DerivationFramework::EGammaEnergyCalibrationWrapper::m_photonContainerKey
SG::ReadHandleKey< xAOD::EgammaContainer > m_photonContainerKey
Definition
EGammaEnergyCalibrationWrapper.h:38
DerivationFramework::EGammaEnergyCalibrationWrapper::m_photonEnergyDecoKey
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_photonEnergyDecoKey
Definition
EGammaEnergyCalibrationWrapper.h:46
DerivationFramework::EGammaEnergyCalibrationWrapper::m_MVACalibSvc
ServiceHandle< IegammaMVASvc > m_MVACalibSvc
Definition
EGammaEnergyCalibrationWrapper.h:52
DerivationFramework::EGammaEnergyCalibrationWrapper::addBranches
StatusCode addBranches(const EventContext &ctx) const override final
Definition
EGammaEnergyCalibrationWrapper.cxx:23
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
ServiceHandle
Definition
ClusterMakerTool.h:36
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0