ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkMCTruth
DerivationFrameworkMCTruth
TruthQGDecorationTool.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_TruthQGDecorationTool_H
6
#define DERIVATIONFRAMEWORK_TruthQGDecorationTool_H
7
8
// Interface classes
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
11
12
// Read/decor handle keys
13
#include "
StoreGate/ReadHandleKey.h
"
14
#include "
StoreGate/WriteDecorHandleKey.h
"
15
16
// xAOD containers
17
#include "
xAODJet/JetContainer.h
"
18
19
// STL includes
20
#include <string>
21
22
namespace
DerivationFramework
{
23
24
class
TruthQGDecorationTool
:
public
extends<AthAlgTool, IAugmentationTool> {
25
public
:
26
27
using
base_class::base_class;
28
29
StatusCode
initialize
();
30
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
;
31
32
private
:
34
SG::ReadHandleKey<xAOD::JetContainer>
m_jetsKey
35
{
this
,
"JetCollection"
,
"AntiKt4TruthWZJets"
,
"Name of jet collection for decoration"
};
37
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_decOutput
38
{
this
,
"TrueFlavor"
,
m_jetsKey
,
"TrueFlavor"
,
"Name of the output decoration on the jet"
};
39
};
40
}
41
42
#endif // DERIVATIONFRAMEWORK_TRUTHDRESSINGTool_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey< xAOD::JetContainer >
DerivationFramework::TruthQGDecorationTool
Definition:
TruthQGDecorationTool.h:24
DerivationFramework::TruthQGDecorationTool::initialize
StatusCode initialize()
Definition:
TruthQGDecorationTool.cxx:17
IAugmentationTool.h
DerivationFramework::TruthQGDecorationTool::m_jetsKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetsKey
input collection key
Definition:
TruthQGDecorationTool.h:35
SG::ReadHandleKey< xAOD::JetContainer >
DerivationFramework::TruthQGDecorationTool::m_decOutput
SG::WriteDecorHandleKey< xAOD::JetContainer > m_decOutput
output decoration
Definition:
TruthQGDecorationTool.h:38
DerivationFramework::TruthQGDecorationTool::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const
Definition:
TruthQGDecorationTool.cxx:26
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
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 Wed Nov 19 2025 21:22:53 for ATLAS Offline Software by
1.8.18