ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
JetAnalysisAlgorithms
JetAnalysisAlgorithms
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
8
#include <
AnaAlgorithm/AnaAlgorithm.h
>
9
#include <
AsgTools/PropertyWrapper.h
>
10
#include <
AsgTools/ToolHandle.h
>
11
#include <
AsgDataHandles/ReadHandleKey.h
>
12
#include <
AsgDataHandles/WriteDecorHandleKey.h
>
13
#include <
xAODTrigger/jFexSRJetRoIContainer.h
>
14
#include <
TrigConfInterfaces/ITrigConfigTool.h
>
15
16
namespace
CP
17
{
18
class
L1jFexJetThresholdsDecoratorAlg
final :
public
EL::AnaAlgorithm
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
31
SG::ReadHandleKey<xAOD::jFexSRJetRoIContainer>
m_l1JetsKey
{
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
47
SG::WriteDecorHandleKey<xAOD::jFexSRJetRoIContainer>
m_thresholdsDecorKey
{
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
;
57
bool
m_thresholdNamesLoaded
{
false
};
58
std::string
m_cachedL1MenuName
;
59
};
60
}
61
62
#endif
// ASG_ANALYSIS_ALGORITHMS__L1_JFEX_JET_THRESHOLDS_DECORATOR_ALG_H
AnaAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
ITrigConfigTool.h
PropertyWrapper.h
ToolHandle.h
CP::L1jFexJetThresholdsDecoratorAlg::rebuildJfexThresholdTable
StatusCode rebuildJfexThresholdTable(const EventContext &ctx)
Definition
L1jFexJetThresholdsDecoratorAlg.cxx:37
CP::L1jFexJetThresholdsDecoratorAlg::m_l1ThresholdType
Gaudi::Property< std::string > m_l1ThresholdType
Definition
L1jFexJetThresholdsDecoratorAlg.h:36
CP::L1jFexJetThresholdsDecoratorAlg::m_thresholdsDecorKey
SG::WriteDecorHandleKey< xAOD::jFexSRJetRoIContainer > m_thresholdsDecorKey
Definition
L1jFexJetThresholdsDecoratorAlg.h:47
CP::L1jFexJetThresholdsDecoratorAlg::m_cachedL1MenuName
std::string m_cachedL1MenuName
Definition
L1jFexJetThresholdsDecoratorAlg.h:58
CP::L1jFexJetThresholdsDecoratorAlg::m_l1JetsKey
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_l1JetsKey
Definition
L1jFexJetThresholdsDecoratorAlg.h:31
CP::L1jFexJetThresholdsDecoratorAlg::L1jFexJetThresholdsDecoratorAlg
L1jFexJetThresholdsDecoratorAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
Definition
L1jFexJetThresholdsDecoratorAlg.cxx:22
CP::L1jFexJetThresholdsDecoratorAlg::m_decorationName
Gaudi::Property< std::string > m_decorationName
Definition
L1jFexJetThresholdsDecoratorAlg.h:41
CP::L1jFexJetThresholdsDecoratorAlg::m_trigConfigTool
ToolHandle< TrigConf::ITrigConfigTool > m_trigConfigTool
Definition
L1jFexJetThresholdsDecoratorAlg.h:51
CP::L1jFexJetThresholdsDecoratorAlg::m_thresholdNamesLoaded
bool m_thresholdNamesLoaded
Definition
L1jFexJetThresholdsDecoratorAlg.h:57
CP::L1jFexJetThresholdsDecoratorAlg::initialize
StatusCode initialize() override
Definition
L1jFexJetThresholdsDecoratorAlg.cxx:27
CP::L1jFexJetThresholdsDecoratorAlg::m_jfexThresholdNames
std::vector< std::string > m_jfexThresholdNames
Definition
L1jFexJetThresholdsDecoratorAlg.h:56
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition
AnaAlgorithm.h:74
EL::AnaAlgorithm::execute
virtual::StatusCode execute()
execute this algorithm
Definition
AnaAlgorithm.cxx:315
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
jFexSRJetRoIContainer.h
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
Generated on
for ATLAS Offline Software by
1.17.0