ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkEGamma
DerivationFrameworkEGamma
EGPhotonBDTToolWrapper.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_EGSPHOTONBDTTOOLWRAPPER_H
6
#define DERIVATIONFRAMEWORK_EGSPHOTONBDTTOOLWRAPPER_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/IAsgEGammaIsEMSelector.h
"
16
#include "
EgammaAnalysisInterfaces/IPhotonObservableTool.h
"
17
#include "GaudiKernel/ToolHandle.h"
18
#include "
xAODEgamma/EgammaContainer.h
"
19
//
20
#include <string>
21
22
namespace
DerivationFramework
{
23
24
class
EGPhotonBDTToolWrapper
:
public
extends<AthAlgTool, IAugmentationTool>
25
{
26
public
:
27
28
using
base_class::base_class;
29
30
virtual
StatusCode
initialize
()
override
final
;
31
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
32
33
private
:
34
// selector tool
35
ToolHandle<IAsgEGammaIsEMSelector>
m_selectorTool
{
this
,
"PhotonBDTSelectionTool"
,
""
,
"Selector tool"
,};
36
// photon container name
37
SG::ReadHandleKey<xAOD::EgammaContainer>
m_ContainerName
{
this
,
"ContainerName"
,
""
,
"Input"
};
38
// Fudged photon container name
39
SG::ReadHandleKey<xAOD::EgammaContainer>
m_fudgedContainerName
{
this
,
"FudgedContainerName"
,
""
,
"Input with fudge factors applied"
};
40
41
// Write decoration handle keys
42
// these are not really configuarable
43
SG::WriteDecorHandleKey<xAOD::EgammaContainer>
m_decoratorPass
{
this
,
44
"decoratorPass"
,
m_ContainerName
,
""
,
""
};
45
SG::WriteDecorHandleKey<xAOD::EgammaContainer>
m_decoratorIsEM
{
this
,
46
"decoratorIsEM"
,
m_ContainerName
,
""
,
""
};
47
Gaudi::Property<std::string>
m_cut
{
this
,
"CutType"
,
""
,
"cut type"
};
48
};
49
}
50
51
#endif
// DERIVATIONFRAMEWORK_EGPHOTONBDTTOOLWRAPPER_H
AthAlgTool.h
EgammaContainer.h
IAsgEGammaIsEMSelector.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::EGPhotonBDTToolWrapper
Definition
EGPhotonBDTToolWrapper.h:25
DerivationFramework::EGPhotonBDTToolWrapper::m_decoratorPass
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_decoratorPass
Definition
EGPhotonBDTToolWrapper.h:43
DerivationFramework::EGPhotonBDTToolWrapper::m_ContainerName
SG::ReadHandleKey< xAOD::EgammaContainer > m_ContainerName
Definition
EGPhotonBDTToolWrapper.h:37
DerivationFramework::EGPhotonBDTToolWrapper::m_selectorTool
ToolHandle< IAsgEGammaIsEMSelector > m_selectorTool
Definition
EGPhotonBDTToolWrapper.h:35
DerivationFramework::EGPhotonBDTToolWrapper::m_decoratorIsEM
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_decoratorIsEM
Definition
EGPhotonBDTToolWrapper.h:45
DerivationFramework::EGPhotonBDTToolWrapper::initialize
virtual StatusCode initialize() override final
Definition
EGPhotonBDTToolWrapper.cxx:16
DerivationFramework::EGPhotonBDTToolWrapper::m_cut
Gaudi::Property< std::string > m_cut
Definition
EGPhotonBDTToolWrapper.h:47
DerivationFramework::EGPhotonBDTToolWrapper::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
EGPhotonBDTToolWrapper.cxx:30
DerivationFramework::EGPhotonBDTToolWrapper::m_fudgedContainerName
SG::ReadHandleKey< xAOD::EgammaContainer > m_fudgedContainerName
Definition
EGPhotonBDTToolWrapper.h:39
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