Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas
athena
Commits
f550b5b8
Commit
f550b5b8
authored
Feb 10, 2020
by
Joerg Stelzer
Browse files
Enable HLT prescaling tool for L1Decoder (
ATR-20865
)
The prescaling happens according to the HLTPrescaleSet
parent
1336ee2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Trigger/TrigConfiguration/TrigConfigSvc/python/TrigConfigSvcCfg.py
View file @
f550b5b8
...
...
@@ -189,12 +189,15 @@ def setupHLTPrescaleCondAlg( flags = None ):
if
tc
[
"source"
]
==
"COOL"
:
if
flags
is
None
:
# old style config
from
AthenaCommon.AlgSequence
import
AthSequencer
condSequence
=
AthSequencer
(
"AthCondSeq"
)
condSequence
+=
hltPrescaleCondAlg
from
IOVDbSvc.CondDB
import
conddb
conddb
.
addFolder
(
"TRIGGER"
,
getHLTPrescaleFolderName
(),
className
=
"AthenaAttributeList"
)
log
.
info
(
"Adding folder %s to conddb"
,
getHLTPrescaleFolderName
()
)
# add the hltPrescaleCondAlg to condseq
if
flags
is
None
:
# old style config
from
AthenaCommon.AlgSequence
import
AthSequencer
condSequence
=
AthSequencer
(
"AthCondSeq"
)
condSequence
+=
hltPrescaleCondAlg
log
.
info
(
"Adding HLTPrescaleCondAlg to AthCondSeq"
)
return
hltPrescaleCondAlg
...
...
Trigger/TrigSteer/L1Decoder/src/L1Decoder.h
View file @
f550b5b8
...
...
@@ -75,7 +75,7 @@ private:
ToolHandleArray
<
IRoIsUnpackingTool
>
m_roiUnpackers
{
this
,
"roiUnpackers"
,
{},
"Tools unpacking RoIs"
};
ToolHandle
<
IPrescalingTool
>
m_prescaler
{
this
,
"prescaler"
,
"Prescaling
Emulation
Tool/Prescaling
Emulation
Tool"
,
ToolHandle
<
IPrescalingTool
>
m_prescaler
{
this
,
"prescaler"
,
"PrescalingTool/PrescalingTool"
,
"Prescaling tool"
};
ToolHandleArray
<
IRoIsUnpackingTool
>
m_rerunRoiUnpackers
{
this
,
"rerunRoiUnpackers"
,
{},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment