ATLAS Offline Software
METTriggerAugmentationTool.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 METTRIGGERAUGMENTATIONTOOL_H
6 #define METTRIGGERAUGMENTATIONTOOL_H
7 
8 #include <string>
9 
14 #include <TH2.h>
15 #include <memory>
16 
17 namespace DerivationFramework {
18 
19  class METTriggerAugmentationTool : public extends<AthAlgTool, IAugmentationTool> {
20  public:
21  METTriggerAugmentationTool(const std::string& t, const std::string& n, const IInterface* p);
22  virtual StatusCode initialize() override final;
23  virtual StatusCode addBranches(const EventContext& ctx) const override final;
24  private:
25  SG::ReadHandleKey<xAOD::EnergySumRoI> m_L1METName{this, "L1METName", "LVL1EnergySumRoI"};
26  SG::ReadHandleKey<xAOD::JetRoIContainer> m_L1JetName{this, "L1JetName", "LVL1JetRoIs"};
27  SG::WriteHandleKey<xAOD::EnergySumRoI> m_outputName{this, "OutputName", "LVL1EnergySumRoI_KF"};
28  Gaudi::Property<std::string> m_LUTFileName{this, "LUTFile", "LUT_data15.root"};
29  std::unique_ptr<TH2> m_LUT{};
30  };
31 }
32 
33 #endif // METTRIGGERAUGMENTATIONTOOL_H
DerivationFramework::METTriggerAugmentationTool::m_LUT
std::unique_ptr< TH2 > m_LUT
Definition: METTriggerAugmentationTool.h:29
DerivationFramework::METTriggerAugmentationTool
Definition: METTriggerAugmentationTool.h:19
IAugmentationTool.h
DerivationFramework::METTriggerAugmentationTool::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition: METTriggerAugmentationTool.cxx:51
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::METTriggerAugmentationTool::initialize
virtual StatusCode initialize() override final
Definition: METTriggerAugmentationTool.cxx:23
DerivationFramework::METTriggerAugmentationTool::m_L1METName
SG::ReadHandleKey< xAOD::EnergySumRoI > m_L1METName
Definition: METTriggerAugmentationTool.h:25
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
beamspotman.n
n
Definition: beamspotman.py:727
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
JetRoIContainer.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::METTriggerAugmentationTool::METTriggerAugmentationTool
METTriggerAugmentationTool(const std::string &t, const std::string &n, const IInterface *p)
Definition: METTriggerAugmentationTool.cxx:16
DerivationFramework::METTriggerAugmentationTool::m_outputName
SG::WriteHandleKey< xAOD::EnergySumRoI > m_outputName
Definition: METTriggerAugmentationTool.h:27
DerivationFramework::METTriggerAugmentationTool::m_LUTFileName
Gaudi::Property< std::string > m_LUTFileName
Definition: METTriggerAugmentationTool.h:28
DerivationFramework::METTriggerAugmentationTool::m_L1JetName
SG::ReadHandleKey< xAOD::JetRoIContainer > m_L1JetName
Definition: METTriggerAugmentationTool.h:26
EnergySumRoI.h