ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkMCTruth
DerivationFrameworkMCTruth
TruthD2Decorator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DERIVATIONFRAMEWORK_TRUTHD2DECORATOR_H
6
#define DERIVATIONFRAMEWORK_TRUTHD2DECORATOR_H
7
8
#include <string>
9
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
12
#include "
StoreGate/ReadHandleKey.h
"
13
#include "
StoreGate/WriteDecorHandleKey.h
"
14
#include "
xAODJet/JetContainer.h
"
15
16
namespace
DerivationFramework
{
17
18
class
TruthD2Decorator
:
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
SG::ReadHandleKey<xAOD::JetContainer>
m_jetContainerKey
28
{
this
,
"JetContainerKey"
,
"AntiKt10TruthTrimmedPtFrac5SmallR20Jets"
,
"Name of jet container key for input"
};
29
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_decorationName
30
{
this
,
"DecorationName"
,
m_jetContainerKey
,
"D2"
,
"Decoration Name"
};
31
};
32
}
33
34
#endif // DERIVATIONFRAMEWORK_TruthD2Decorator_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey< xAOD::JetContainer >
IAugmentationTool.h
DerivationFramework::TruthD2Decorator::m_jetContainerKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
Definition:
TruthD2Decorator.h:28
DerivationFramework::TruthD2Decorator::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition:
TruthD2Decorator.cxx:23
SG::ReadHandleKey< xAOD::JetContainer >
DerivationFramework::TruthD2Decorator::m_decorationName
SG::WriteDecorHandleKey< xAOD::JetContainer > m_decorationName
Definition:
TruthD2Decorator.h:30
DerivationFramework::TruthD2Decorator::initialize
virtual StatusCode initialize() override final
Definition:
TruthD2Decorator.cxx:14
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
DerivationFramework::TruthD2Decorator
Definition:
TruthD2Decorator.h:18
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition:
ParticleSortingAlg.h:24
JetContainer.h
Generated on Sat Nov 22 2025 21:22:27 for ATLAS Offline Software by
1.8.18