ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkMCTruth
DerivationFrameworkMCTruth
TruthQGDecorationTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 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
TruthQGDecorationTool
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
);
27
~TruthQGDecorationTool
();
28
StatusCode
initialize
();
29
virtual
StatusCode
addBranches
()
const
;
30
31
private
:
33
SG::ReadHandleKey<xAOD::JetContainer>
m_jetsKey
34
{
this
,
"JetCollection"
,
"AntiKt4TruthWZJets"
,
"Name of jet collection for decoration"
};
36
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_decOutput
37
{
this
,
"TrueFlavor"
,
m_jetsKey
,
"TrueFlavor"
,
"Name of the output decoration on the jet"
};
38
};
39
}
40
41
#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::~TruthQGDecorationTool
~TruthQGDecorationTool()
Definition:
TruthQGDecorationTool.cxx:25
DerivationFramework::TruthQGDecorationTool::initialize
StatusCode initialize()
Definition:
TruthQGDecorationTool.cxx:29
IAugmentationTool.h
DerivationFramework::TruthQGDecorationTool::TruthQGDecorationTool
TruthQGDecorationTool(const std::string &t, const std::string &n, const IInterface *p)
Definition:
TruthQGDecorationTool.cxx:17
DerivationFramework::TruthQGDecorationTool::m_jetsKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetsKey
input collection key
Definition:
TruthQGDecorationTool.h:34
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
SG::ReadHandleKey< xAOD::JetContainer >
DerivationFramework::TruthQGDecorationTool::m_decOutput
SG::WriteDecorHandleKey< xAOD::JetContainer > m_decOutput
output decoration
Definition:
TruthQGDecorationTool.h:37
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:209
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
beamspotman.n
n
Definition:
beamspotman.py:729
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
DerivationFramework::TruthQGDecorationTool::addBranches
virtual StatusCode addBranches() const
Definition:
TruthQGDecorationTool.cxx:38
Generated on Tue Sep 2 2025 21:25:43 for ATLAS Offline Software by
1.8.18