ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkEGamma
DerivationFrameworkEGamma
EGSelectionToolWrapper.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_EGSELECTIONTOOLWRAPPER_H
6
#define DERIVATIONFRAMEWORK_EGSELECTIONTOOLWRAPPER_H
7
8
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
9
//
10
#include "
StoreGate/ReadHandle.h
"
11
#include "
StoreGate/ReadHandleKey.h
"
12
#include "
StoreGate/WriteDecorHandle.h
"
13
#include "
StoreGate/WriteHandleKey.h
"
14
//
15
#include "
AsgTools/IAsgTool.h
"
16
#include "
AthenaBaseComps/AthAlgTool.h
"
17
#include "
EgammaAnalysisInterfaces/IAsgEGammaIsEMSelector.h
"
18
#include "GaudiKernel/ToolHandle.h"
19
#include "
xAODEgamma/EgammaContainer.h
"
20
//
21
#include <string>
22
23
namespace
DerivationFramework
{
24
25
class
EGSelectionToolWrapper
:
public
extends<AthAlgTool, IAugmentationTool>
26
{
27
public
:
28
29
using
base_class::base_class;
30
31
virtual
StatusCode
initialize
()
override
final
;
32
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
33
34
private
:
35
ToolHandle<IAsgEGammaIsEMSelector>
m_tool
{
36
this
,
37
"EGammaSelectionTool"
,
38
""
,
39
"Selector tool"
,
40
};
41
42
SG::ReadHandleKey<xAOD::EgammaContainer>
m_ContainerName
{
this
,
43
"ContainerName"
,
""
,
"Input to decorate"
};
44
SG::ReadHandleKey<xAOD::EgammaContainer>
m_fudgedContainerName
{
this
,
"FudgedContainerName"
,
""
,
"Input with fudge factors applied"
};
45
46
// Write decoration handle keys
47
// these are not really configuarable
48
SG::WriteDecorHandleKey<xAOD::EgammaContainer>
m_decoratorPass
{
this
,
49
"decoratorPass"
,
m_ContainerName
,
""
,
""
};
50
SG::WriteDecorHandleKey<xAOD::EgammaContainer>
m_decoratorIsEM
{
this
,
51
"decoratorIsEM"
,
m_ContainerName
,
""
,
""
};
52
Gaudi::Property<std::string>
m_cut
{
this
,
"CutType"
,
""
,
"cut type"
};
53
54
};
55
}
56
57
#endif
// DERIVATIONFRAMEWORK_EGSELECTIONTOOLWRAPPER_H
AthAlgTool.h
EgammaContainer.h
IAsgEGammaIsEMSelector.h
IAsgTool.h
IAugmentationTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ReadHandle.h
Handle class for reading from StoreGate.
WriteDecorHandle.h
Handle class for adding a decoration to an object.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
DerivationFramework::EGSelectionToolWrapper
Definition
EGSelectionToolWrapper.h:26
DerivationFramework::EGSelectionToolWrapper::initialize
virtual StatusCode initialize() override final
Definition
EGSelectionToolWrapper.cxx:19
DerivationFramework::EGSelectionToolWrapper::m_tool
ToolHandle< IAsgEGammaIsEMSelector > m_tool
Definition
EGSelectionToolWrapper.h:35
DerivationFramework::EGSelectionToolWrapper::m_cut
Gaudi::Property< std::string > m_cut
Definition
EGSelectionToolWrapper.h:52
DerivationFramework::EGSelectionToolWrapper::m_decoratorIsEM
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_decoratorIsEM
Definition
EGSelectionToolWrapper.h:50
DerivationFramework::EGSelectionToolWrapper::m_ContainerName
SG::ReadHandleKey< xAOD::EgammaContainer > m_ContainerName
Definition
EGSelectionToolWrapper.h:42
DerivationFramework::EGSelectionToolWrapper::m_decoratorPass
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_decoratorPass
Definition
EGSelectionToolWrapper.h:48
DerivationFramework::EGSelectionToolWrapper::m_fudgedContainerName
SG::ReadHandleKey< xAOD::EgammaContainer > m_fudgedContainerName
Definition
EGSelectionToolWrapper.h:44
DerivationFramework::EGSelectionToolWrapper::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
EGSelectionToolWrapper.cxx:33
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