Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julie Kirk
athena
Commits
0fb6d62f
Commit
0fb6d62f
authored
6 years ago
by
Tomasz Bold
Browse files
Options
Downloads
Patches
Plain Diff
Enable L1 menu info decoding for MET
parent
07ce9286
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Trigger/TrigSteer/L1Decoder/src/METRoIsUnpackingTool.cxx
+9
-2
9 additions, 2 deletions
Trigger/TrigSteer/L1Decoder/src/METRoIsUnpackingTool.cxx
Trigger/TrigSteer/L1Decoder/src/RoIsUnpackingToolBase.cxx
+3
-0
3 additions, 0 deletions
Trigger/TrigSteer/L1Decoder/src/RoIsUnpackingToolBase.cxx
with
12 additions
and
2 deletions
Trigger/TrigSteer/L1Decoder/src/METRoIsUnpackingTool.cxx
+
9
−
2
View file @
0fb6d62f
...
...
@@ -4,6 +4,7 @@
#include
"TrigConfL1Data/ThresholdConfig.h"
#include
"TrigT1Result/JetEnergyResult.h"
#include
"TrigT1Result/RoIBResult.h"
#include
"TrigConfL1Data/CTPConfig.h"
#include
"METRoIsUnpackingTool.h"
METRoIsUnpackingTool
::
METRoIsUnpackingTool
(
const
std
::
string
&
type
,
...
...
@@ -26,8 +27,14 @@ StatusCode METRoIsUnpackingTool::initialize()
return
StatusCode
::
SUCCESS
;
}
StatusCode
METRoIsUnpackingTool
::
updateConfiguration
(
const
IRoIsUnpackingTool
::
SeedingMap
&
)
{
using
namespace
TrigConf
;
StatusCode
METRoIsUnpackingTool
::
updateConfiguration
(
const
IRoIsUnpackingTool
::
SeedingMap
&
seeding
)
{
using
namespace
TrigConf
;
ATH_CHECK
(
decodeMapping
(
[](
const
TriggerThreshold
*
th
){
return
L1DataDef
::
TE
==
th
->
ttype
()
or
L1DataDef
::
XE
==
th
->
ttype
()
or
L1DataDef
::
XS
==
th
->
ttype
();
},
m_configSvc
->
ctpConfig
()
->
menu
().
itemVector
(),
seeding
)
);
const
ThresholdConfig
*
thresholdConfig
=
m_configSvc
->
thresholdConfig
();
std
::
vector
<
const
TriggerThreshold
*>
filtered
;
{
...
...
This diff is collapsed.
Click to expand it.
Trigger/TrigSteer/L1Decoder/src/RoIsUnpackingToolBase.cxx
+
3
−
0
View file @
0fb6d62f
...
...
@@ -30,13 +30,16 @@ StatusCode RoIsUnpackingToolBase::decodeMapping( std::function< bool(const TrigC
auto
itemsIterator
=
l1Items
.
get
<
TrigConf
::
tag_name_hash
>
().
find
(
itemName
);
if
(
itemsIterator
!=
l1Items
.
get
<
TrigConf
::
tag_name_hash
>
().
end
()
)
{
const
TrigConf
::
TriggerItem
*
item
=
*
itemsIterator
;
const
TrigConf
::
TriggerItemNode
*
node
=
item
->
topNode
();
std
::
vector
<
TrigConf
::
TriggerThreshold
*>
itemThresholds
;
node
->
getAllThresholds
(
itemThresholds
);
ATH_MSG_DEBUG
(
"Item "
<<
item
->
name
()
<<
" with thresholds "
<<
itemThresholds
.
size
()
);
for
(
const
TrigConf
::
TriggerThreshold
*
th
:
itemThresholds
)
{
if
(
filter
(
th
)
)
{
m_thresholdToChainMapping
[
HLT
::
Identifier
(
th
->
name
())].
push_back
(
HLT
::
Identifier
(
chainName
)
);
ATH_MSG_DEBUG
(
"Associating "
<<
chainName
<<
" with threshold "
<<
th
->
name
()
);
}
}
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment