ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigSteer
HLTSeeding
src
L1TriggerResultMaker.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef HLTSEEDING_L1TRIGGERRESULTMAKER_H
6
#define HLTSEEDING_L1TRIGGERRESULTMAKER_H
7
8
// Local includes
9
#include "
HLTSeeding/IRoIThresholdsTool.h
"
10
11
// Trigger includes
12
#include "
xAODTrigger/eFexEMRoIContainer.h
"
13
#include "
xAODTrigger/eFexTauRoIContainer.h
"
14
#include "
xAODTrigger/jFexFwdElRoIContainer.h
"
15
#include "
xAODTrigger/jFexTauRoIContainer.h
"
16
#include "
xAODTrigger/jFexSRJetRoIContainer.h
"
17
#include "
xAODTrigger/jFexLRJetRoIContainer.h
"
18
#include "
xAODTrigger/gFexJetRoIContainer.h
"
19
#include "
xAODTrigger/gFexGlobalRoIContainer.h
"
20
#include "
xAODTrigger/MuonRoIContainer.h
"
21
#include "
xAODTrigger/TrigCompositeContainer.h
"
22
#include "
xAODTrigger/CTPResult.h
"
23
24
// Athena includes
25
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
26
#include "
StoreGate/ReadHandleKey.h
"
27
#include "
StoreGate/WriteHandleKey.h
"
28
32
class
L1TriggerResultMaker
:
public
AthReentrantAlgorithm
{
33
public
:
35
L1TriggerResultMaker
(
const
std::string& name, ISvcLocator* svcLoc);
36
37
// ------------------------- AthReentrantAlgorithm methods -------------------
38
virtual
StatusCode
initialize
()
override
;
39
virtual
StatusCode
execute
(
const
EventContext& eventContext)
const override
;
40
41
private
:
42
// ------------------------- Properties --------------------------------------
43
SG::WriteHandleKey<xAOD::TrigCompositeContainer>
m_l1TriggerResultWHKey
{
44
this
,
"L1TriggerResultWHKey"
,
"L1TriggerResult"
,
45
"Key of the output L1 Trigger Result"
};
46
47
// Muon RoIs
48
SG::ReadHandleKeyArray<xAOD::MuonRoIContainer>
m_muRoIKeys
{
49
this
,
"MuRoIKeys"
, {
"LVL1MuonRoIs"
},
50
"Keys of the muon RoI container to be linked to L1 Trigger Result"
};
51
52
// eFex EM RoIs
53
SG::ReadHandleKeyArray<xAOD::eFexEMRoIContainer>
m_eFexEMRoIKeys
{
54
this
,
"eFexEMRoIKeys"
, {
"L1_eEMRoI"
},
55
"Keys of the eFex EM RoI container to be linked to L1 Trigger Result"
};
56
57
// eFex Tau RoIs
58
SG::ReadHandleKeyArray<xAOD::eFexTauRoIContainer>
m_eFexTauRoIKeys
{
59
this
,
"eFexTauRoIKeys"
, {
"L1_eTauRoI"
},
60
"Keys of the eFex Tau RoI container to be linked to L1 Trigger Result"
};
61
62
// jFex Fwd El RoIs
63
SG::ReadHandleKeyArray<xAOD::jFexFwdElRoIContainer>
m_jFexFwdElRoIKeys
{
64
this
,
"jFexFwdElRoIKeys"
, {
"L1_jFexFwdElRoI"
},
65
"Keys of the jFex Fwd El RoI container to be linked to L1 Trigger Result"
};
66
67
// jFex Tau RoIs
68
SG::ReadHandleKeyArray<xAOD::jFexTauRoIContainer>
m_jFexTauRoIKeys
{
69
this
,
"jFexTauRoIKeys"
, {
"L1_jFexTauRoI"
},
70
"Keys of the jFex Tau RoI container to be linked to L1 Trigger Result"
};
71
72
// jFex small-R Jet RoIs
73
SG::ReadHandleKeyArray<xAOD::jFexSRJetRoIContainer>
m_jFexSRJetRoIKeys
{
74
this
,
"jFexSRJetRoIKeys"
, {
"L1_jFexSRJetRoI"
},
75
"Keys of the jFex small-R Jet RoI container to be linked to L1 Trigger Result"
};
76
77
// jFex large-R Jet RoIs
78
SG::ReadHandleKeyArray<xAOD::jFexLRJetRoIContainer>
m_jFexLRJetRoIKeys
{
79
this
,
"jFexLRJetRoIKeys"
, {
"L1_jFexLRJetRoI"
},
80
"Keys of the jFex large-R Jet RoI container to be linked to L1 Trigger Result"
};
81
82
// gFex small-R Jet RoIs
83
SG::ReadHandleKeyArray<xAOD::gFexJetRoIContainer>
m_gFexSRJetRoIKeys
{
84
this
,
"gFexSRJetRoIKeys"
, {
"L1_gFexSRJetRoI"
},
85
"Keys of the gFex small-R Jet RoI container to be linked to L1 Trigger Result"
};
86
87
// gFex large-R Jet RoIs
88
SG::ReadHandleKeyArray<xAOD::gFexJetRoIContainer>
m_gFexLRJetRoIKeys
{
89
this
,
"gFexLRJetRoIKeys"
, {
"L1_gFexLRJetRoI"
},
90
"Keys of the gFex large-R Jet RoI container to be linked to L1 Trigger Result"
};
91
92
// gFex Scalar E (JwoJ) RoIs -- carries gFex SumET (Y component); MET (X)
93
// is overwritten by the decoder from sqrt(METx^2 + METy^2) computed from
94
// m_gMETComponentsJwojKeys, so both keys must be linked together for the
95
// h_gFexMet round-trip histogram to reproduce.
96
SG::ReadHandleKeyArray<xAOD::gFexGlobalRoIContainer>
m_gScalarEJwojKeys
{
97
this
,
"gScalarEJwojKeys"
, {},
98
"Keys of the gFex Scalar E (JwoJ) RoI container to be linked to L1 Trigger Result"
};
99
100
// gFex MET Components (JwoJ) RoIs -- carries METx / METy partials
101
SG::ReadHandleKeyArray<xAOD::gFexGlobalRoIContainer>
m_gMETComponentsJwojKeys
{
102
this
,
"gMETComponentsJwojKeys"
, {},
103
"Keys of the gFex MET Components (JwoJ) RoI container to be linked to L1 Trigger Result"
};
104
105
// Key of the cTau container to create (if empty, cTau creation is disabled)
106
SG::WriteHandleKey<xAOD::eFexTauRoIContainer>
m_cTauRoIKey
{
107
this
,
"cTauRoIKey"
,
"L1_cTauRoI"
,
108
"Key of the cTau RoI container to be created (contains copies of eTaus matched to jTaus)"
};
109
110
// Key of the cTau decoration linking eFexTau to the matching jFexTau
111
SG::WriteDecorHandleKey<xAOD::eFexTauRoIContainer>
m_cjTauLinkKey
{
112
this
,
"cjTauLinkKey"
,
"L1_cTauRoI.jTauLink"
,
113
"Decoration for the link from eTau to the matching jTau"
};
114
115
// Threshold pattern tools
116
ToolHandleArray<IRoIThresholdsTool>
m_thresholdPatternTools
{
117
this
,
"ThresholdPatternTools"
, {},
118
"Tools decorating RoI containers with threshold patterns"
119
};
120
121
// CTP result
122
SG::ReadHandleKey<xAOD::CTPResult>
m_CTPKey
{
123
this
,
"CTPKey"
,
"CTPResult"
,
124
"Key of the CTP result to be linked to L1 Trigger Result"
};
125
126
// Placeholder for other L1 xAOD outputs:
127
// - L1Topo result
128
// - the remaining Run-3 L1Calo RoIs
129
130
// ------------------------- Helper methods ----------------------------------
132
StatusCode
createCombinedTauRoIs
(
xAOD::TrigComposite
& l1tr,
const
EventContext& eventContext)
const
;
133
};
134
135
#endif
// HLTSEEDING_L1TRIGGERRESULTMAKER_H
AthReentrantAlgorithm.h
CTPResult.h
IRoIThresholdsTool.h
MuonRoIContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrigCompositeContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
L1TriggerResultMaker::m_cTauRoIKey
SG::WriteHandleKey< xAOD::eFexTauRoIContainer > m_cTauRoIKey
Definition
L1TriggerResultMaker.h:106
L1TriggerResultMaker::m_jFexSRJetRoIKeys
SG::ReadHandleKeyArray< xAOD::jFexSRJetRoIContainer > m_jFexSRJetRoIKeys
Definition
L1TriggerResultMaker.h:73
L1TriggerResultMaker::m_jFexTauRoIKeys
SG::ReadHandleKeyArray< xAOD::jFexTauRoIContainer > m_jFexTauRoIKeys
Definition
L1TriggerResultMaker.h:68
L1TriggerResultMaker::m_l1TriggerResultWHKey
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_l1TriggerResultWHKey
Definition
L1TriggerResultMaker.h:43
L1TriggerResultMaker::m_gMETComponentsJwojKeys
SG::ReadHandleKeyArray< xAOD::gFexGlobalRoIContainer > m_gMETComponentsJwojKeys
Definition
L1TriggerResultMaker.h:101
L1TriggerResultMaker::m_gFexSRJetRoIKeys
SG::ReadHandleKeyArray< xAOD::gFexJetRoIContainer > m_gFexSRJetRoIKeys
Definition
L1TriggerResultMaker.h:83
L1TriggerResultMaker::m_jFexFwdElRoIKeys
SG::ReadHandleKeyArray< xAOD::jFexFwdElRoIContainer > m_jFexFwdElRoIKeys
Definition
L1TriggerResultMaker.h:63
L1TriggerResultMaker::createCombinedTauRoIs
StatusCode createCombinedTauRoIs(xAOD::TrigComposite &l1tr, const EventContext &eventContext) const
Create the combined Tau container matching eTau to jTau.
Definition
L1TriggerResultMaker.cxx:130
L1TriggerResultMaker::m_thresholdPatternTools
ToolHandleArray< IRoIThresholdsTool > m_thresholdPatternTools
Definition
L1TriggerResultMaker.h:116
L1TriggerResultMaker::initialize
virtual StatusCode initialize() override
Definition
L1TriggerResultMaker.cxx:43
L1TriggerResultMaker::m_CTPKey
SG::ReadHandleKey< xAOD::CTPResult > m_CTPKey
Definition
L1TriggerResultMaker.h:122
L1TriggerResultMaker::m_eFexTauRoIKeys
SG::ReadHandleKeyArray< xAOD::eFexTauRoIContainer > m_eFexTauRoIKeys
Definition
L1TriggerResultMaker.h:58
L1TriggerResultMaker::m_gFexLRJetRoIKeys
SG::ReadHandleKeyArray< xAOD::gFexJetRoIContainer > m_gFexLRJetRoIKeys
Definition
L1TriggerResultMaker.h:88
L1TriggerResultMaker::m_eFexEMRoIKeys
SG::ReadHandleKeyArray< xAOD::eFexEMRoIContainer > m_eFexEMRoIKeys
Definition
L1TriggerResultMaker.h:53
L1TriggerResultMaker::m_gScalarEJwojKeys
SG::ReadHandleKeyArray< xAOD::gFexGlobalRoIContainer > m_gScalarEJwojKeys
Definition
L1TriggerResultMaker.h:96
L1TriggerResultMaker::L1TriggerResultMaker
L1TriggerResultMaker(const std::string &name, ISvcLocator *svcLoc)
Standard constructor.
Definition
L1TriggerResultMaker.cxx:37
L1TriggerResultMaker::m_muRoIKeys
SG::ReadHandleKeyArray< xAOD::MuonRoIContainer > m_muRoIKeys
Definition
L1TriggerResultMaker.h:48
L1TriggerResultMaker::m_jFexLRJetRoIKeys
SG::ReadHandleKeyArray< xAOD::jFexLRJetRoIContainer > m_jFexLRJetRoIKeys
Definition
L1TriggerResultMaker.h:78
L1TriggerResultMaker::m_cjTauLinkKey
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_cjTauLinkKey
Definition
L1TriggerResultMaker.h:111
L1TriggerResultMaker::execute
virtual StatusCode execute(const EventContext &eventContext) const override
Definition
L1TriggerResultMaker.cxx:67
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
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
eFexEMRoIContainer.h
eFexTauRoIContainer.h
gFexGlobalRoIContainer.h
gFexJetRoIContainer.h
jFexFwdElRoIContainer.h
jFexLRJetRoIContainer.h
jFexSRJetRoIContainer.h
jFexTauRoIContainer.h
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.h:32
xAOD::TrigComposite
TrigComposite_v1 TrigComposite
Declare the latest version of the class.
Definition
TrigComposite.h:16
Generated on
for ATLAS Offline Software by
1.17.0