ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
12// Read/decor handle keys
15
16// xAOD containers
18
19// STL includes
20#include <string>
21
22namespace 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:
35 {this, "JetCollection", "AntiKt4TruthWZJets", "Name of jet collection for decoration"};
36
38 {this, "TrueFlavor", m_jetsKey, "TrueFlavor", "Name of the output decoration on the jet"};
39 };
40}
41
42#endif // DERIVATIONFRAMEWORK_TRUTHDRESSINGTool_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
SG::WriteDecorHandleKey< xAOD::JetContainer > m_decOutput
output decoration
virtual StatusCode addBranches(const EventContext &ctx) const
SG::ReadHandleKey< xAOD::JetContainer > m_jetsKey
input collection key
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
THE reconstruction tool.