ATLAS Offline Software
AugmentationToolLeadingJets.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_AUGMENTATIONTOOLLEADINGJETS_H
6 #define DERIVATIONFRAMEWORK_AUGMENTATIONTOOLLEADINGJETS_H
7 
8 #include <string>
9 
12 #include "xAODJet/JetContainer.h"
15 
16 namespace DerivationFramework {
17 
18  class AugmentationToolLeadingJets : 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:
28  { this, "JetKey", "AntiKt4EMTopoJets", "" };
30  { this, "DecorationKey", m_jetKey, "DFDecoratorLeadingJets", "" };
31  };
32 }
33 
34 #endif // DERIVATIONFRAMEWORK_AUGMENTATIONTOOLLEADINGJETS_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey< xAOD::JetContainer >
IAugmentationTool.h
DerivationFramework::AugmentationToolLeadingJets::m_decorationKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_decorationKey
Definition: AugmentationToolLeadingJets.h:30
SG::ReadHandleKey< xAOD::JetContainer >
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
DerivationFramework::AugmentationToolLeadingJets::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition: AugmentationToolLeadingJets.cxx:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework::AugmentationToolLeadingJets::m_jetKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey
Definition: AugmentationToolLeadingJets.h:28
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::AugmentationToolLeadingJets
Definition: AugmentationToolLeadingJets.h:18
DerivationFramework::AugmentationToolLeadingJets::initialize
virtual StatusCode initialize() override final
Definition: AugmentationToolLeadingJets.cxx:16
JetContainer.h