ATLAS Offline Software
Loading...
Searching...
No Matches
L1jFexJetThresholdsDecoratorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ASG_ANALYSIS_ALGORITHMS__L1_JFEX_JET_THRESHOLDS_DECORATOR_ALG_H
6#define ASG_ANALYSIS_ALGORITHMS__L1_JFEX_JET_THRESHOLDS_DECORATOR_ALG_H
7
10#include <AsgTools/ToolHandle.h>
15
16namespace CP
17{
19 {
20 public:
21 L1jFexJetThresholdsDecoratorAlg(const std::string& name,
22 ISvcLocator* svcLoc = nullptr);
23
24 StatusCode initialize() override;
25 StatusCode execute(const EventContext& ctx) override;
26
27 private:
28 // Lazily rebuilt in execute() — beginInputFile() fires before xAODConfigSvc publishes the menu (map::at).
29 StatusCode rebuildJfexThresholdTable(const EventContext& ctx);
30
32 this, "l1Jets", "L1_jFexSRJetRoI",
33 "Phase-I L1Calo jFEX SR jet RoI container"
34 };
35
36 Gaudi::Property<std::string> m_l1ThresholdType{
37 this, "l1ThresholdType", "jJ",
38 "L1 threshold type for jFEX bit-to-name lookup."
39 };
40
41 Gaudi::Property<std::string> m_decorationName{
42 this, "DecorationName", "thresholds",
43 "Aux key written on each L1 jFEX RoI (vector<string> of the menu "
44 "threshold names whose bits are set)."
45 };
46
48 this, "ThresholdsDecorKey", "",
49 "Internal: L1 jFEX thresholds decoration key (set in initialize())."};
50
51 ToolHandle<TrigConf::ITrigConfigTool> m_trigConfigTool{
52 this, "TrigConfigTool", "TrigConf::xAODConfigTool/xAODConfigTool",
53 "Trigger configuration tool (Phase-I L1 menu access)"
54 };
55
56 std::vector<std::string> m_jfexThresholdNames;
58 std::string m_cachedL1MenuName;
59 };
60}
61
62#endif // ASG_ANALYSIS_ALGORITHMS__L1_JFEX_JET_THRESHOLDS_DECORATOR_ALG_H
Property holding a SG store/key/clid from which a ReadHandle is made.
StatusCode rebuildJfexThresholdTable(const EventContext &ctx)
SG::WriteDecorHandleKey< xAOD::jFexSRJetRoIContainer > m_thresholdsDecorKey
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_l1JetsKey
L1jFexJetThresholdsDecoratorAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
ToolHandle< TrigConf::ITrigConfigTool > m_trigConfigTool
the (new) base class for EventLoop algorithms
virtual::StatusCode execute()
execute this algorithm
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.
Select isolated Photons, Electrons and Muons.