ATLAS Offline Software
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
11 
12 // Read/decor handle keys
15 
16 // xAOD containers
17 #include "xAODJet/JetContainer.h"
18 
19 // STL includes
20 #include <string>
21 
22 namespace DerivationFramework {
23 
25  public:
26  TruthQGDecorationTool(const std::string& t, const std::string& n, const IInterface* p);
29  virtual StatusCode addBranches() const;
30 
31  private:
34  {this, "JetCollection", "AntiKt4TruthWZJets", "Name of jet collection for decoration"};
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
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
DerivationFramework::TruthQGDecorationTool
Definition: TruthQGDecorationTool.h:24
DerivationFramework::TruthQGDecorationTool::~TruthQGDecorationTool
~TruthQGDecorationTool()
Definition: TruthQGDecorationTool.cxx:26
DerivationFramework::TruthQGDecorationTool::initialize
StatusCode initialize()
Definition: TruthQGDecorationTool.cxx:30
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
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::TruthQGDecorationTool::m_decOutput
SG::WriteDecorHandleKey< xAOD::JetContainer > m_decOutput
output decoration
Definition: TruthQGDecorationTool.h:37
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
beamspotman.n
n
Definition: beamspotman.py:731
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
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::TruthQGDecorationTool::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition: TruthQGDecorationTool.cxx:39