ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkTools
DerivationFrameworkTools
AsgSelectionToolWrapper.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef DERIVATIONFRAMEWORK_ASGSELECTIONTOOLWRAPPER_H
5
#define DERIVATIONFRAMEWORK_ASGSELECTIONTOOLWRAPPER_H
6
7
8
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
11
#include "
PATCore/IAsgSelectionTool.h
"
12
#include "GaudiKernel/ToolHandle.h"
13
#include "
StoreGate/WriteDecorHandleKey.h
"
14
#include "
xAODBase/IParticleContainer.h
"
15
16
namespace
DerivationFramework
{
17
18
class
AsgSelectionToolWrapper
:
public
extends<AthAlgTool, IAugmentationTool> {
19
public
:
20
21
using
base_class::base_class;
22
23
virtual
StatusCode
initialize
()
override
final
;
24
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
25
26
private
:
27
PublicToolHandle<IAsgSelectionTool>
m_tool
{
this
,
"AsgSelectionTool"
,
""
};
28
Gaudi::Property<std::string>
m_cut
{
this
,
"CutType"
,
""
};
29
SG::ReadHandleKey<xAOD::IParticleContainer>
m_containerKey
{
this
,
"ContainerName"
,
""
};
30
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_decorKey
{
this
,
"StoreGateEntryName"
,
m_containerKey
,
""
};
31
};
32
}
33
34
#endif
// DERIVATIONFRAMEWORK_ASGSELECTIONTOOLWRAPPER_H
AthAlgTool.h
IAsgSelectionTool.h
IAugmentationTool.h
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
DerivationFramework::AsgSelectionToolWrapper
Definition
AsgSelectionToolWrapper.h:18
DerivationFramework::AsgSelectionToolWrapper::m_containerKey
SG::ReadHandleKey< xAOD::IParticleContainer > m_containerKey
Definition
AsgSelectionToolWrapper.h:29
DerivationFramework::AsgSelectionToolWrapper::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
AsgSelectionToolWrapper.cxx:24
DerivationFramework::AsgSelectionToolWrapper::m_decorKey
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decorKey
Definition
AsgSelectionToolWrapper.h:30
DerivationFramework::AsgSelectionToolWrapper::m_cut
Gaudi::Property< std::string > m_cut
Definition
AsgSelectionToolWrapper.h:28
DerivationFramework::AsgSelectionToolWrapper::m_tool
PublicToolHandle< IAsgSelectionTool > m_tool
Definition
AsgSelectionToolWrapper.h:27
DerivationFramework::AsgSelectionToolWrapper::initialize
virtual StatusCode initialize() override final
Definition
AsgSelectionToolWrapper.cxx:15
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
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0