ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkEGamma
DerivationFrameworkEGamma
EGPhotonBDTToolDecorator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DERIVATIONFRAMEWORK_EGSPHOTONBDTTOOLDECORATOR_H
6
#define DERIVATIONFRAMEWORK_EGSPHOTONBDTTOOLDECORATOR_H
7
8
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
9
//
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
StoreGate/WriteDecorHandleKey.h
"
12
//
13
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
14
#include "
AthenaBaseComps/AthAlgTool.h
"
15
#include "
EgammaAnalysisInterfaces/IPhotonObservableTool.h
"
16
#include "GaudiKernel/ToolHandle.h"
17
#include "
xAODEgamma/EgammaContainer.h
"
18
//
19
#include <string>
20
21
namespace
DerivationFramework
{
22
23
class
EGPhotonBDTToolDecorator
:
public
extends<AthAlgTool, IAugmentationTool>
24
{
25
public
:
26
27
using
base_class::base_class;
28
29
virtual
StatusCode
initialize
()
override
final
;
30
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
31
32
private
:
33
// photon observable tool (for calculating the BDT score)
34
ToolHandle<IPhotonObservableTool>
m_observableTool
{
this
,
"PhotonObservableTool"
,
""
,
"Observable tool"
,};
35
// photon container name
36
SG::ReadHandleKey<xAOD::EgammaContainer>
m_ContainerName
{
this
,
"ContainerName"
,
""
,
"Input to decorate"
};
37
// Fudged photon container name
38
SG::ReadHandleKey<xAOD::EgammaContainer>
m_fudgedContainerName
{
this
,
"FudgedContainerName"
,
""
,
"Input with fudge factors applied"
};
39
40
// Write decoration handle keys
41
SG::WriteDecorHandleKey<xAOD::EgammaContainer>
m_decoratorScore
{
this
,
42
"decoratorScore"
,
m_ContainerName
,
""
,
""
};
43
};
44
}
45
46
#endif
// DERIVATIONFRAMEWORK_EGPHOTONBDTTOOLDECORATOR_H
AthAlgTool.h
EgammaContainer.h
IAugmentationTool.h
IPhotonObservableTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
DerivationFramework::EGPhotonBDTToolDecorator
Definition
EGPhotonBDTToolDecorator.h:24
DerivationFramework::EGPhotonBDTToolDecorator::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
EGPhotonBDTToolDecorator.cxx:29
DerivationFramework::EGPhotonBDTToolDecorator::m_fudgedContainerName
SG::ReadHandleKey< xAOD::EgammaContainer > m_fudgedContainerName
Definition
EGPhotonBDTToolDecorator.h:38
DerivationFramework::EGPhotonBDTToolDecorator::initialize
virtual StatusCode initialize() override final
Definition
EGPhotonBDTToolDecorator.cxx:16
DerivationFramework::EGPhotonBDTToolDecorator::m_ContainerName
SG::ReadHandleKey< xAOD::EgammaContainer > m_ContainerName
Definition
EGPhotonBDTToolDecorator.h:36
DerivationFramework::EGPhotonBDTToolDecorator::m_observableTool
ToolHandle< IPhotonObservableTool > m_observableTool
Definition
EGPhotonBDTToolDecorator.h:34
DerivationFramework::EGPhotonBDTToolDecorator::m_decoratorScore
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_decoratorScore
Definition
EGPhotonBDTToolDecorator.h:41
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
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
Generated on
for ATLAS Offline Software by
1.17.0