Skip to content
Snippets Groups Projects
Commit 4e4f15a8 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'testhltmt_mc' into 'master'

Fix RoI output name for muon emulation (ATR-16984)

See merge request !4539
parents 8dc988b2 6023e4cb
No related merge requests found
...@@ -53,14 +53,14 @@ class L1DecoderTest(L1Decoder) : ...@@ -53,14 +53,14 @@ class L1DecoderTest(L1Decoder) :
emUnpacker = EMRoIsUnpackingTool(OutputLevel = self.OutputLevel) emUnpacker = EMRoIsUnpackingTool(OutputLevel = self.OutputLevel)
emUnpacker.ThresholdToChainMapping = MenuTest.EMThresholdToChainMapping emUnpacker.ThresholdToChainMapping = MenuTest.EMThresholdToChainMapping
emUnpacker.MonTool = RoIsUnpackingMonitoring( prefix="EM", maxCount=30 ) emUnpacker.MonTool = RoIsUnpackingMonitoring( prefix="EM", maxCount=30 )
self.roiUnpackers.append(emUnpacker) self.roiUnpackers += [emUnpacker]
# MU unpacker # MU unpacker
if TriggerFlags.doMuon(): if TriggerFlags.doMuon():
muUnpacker = MURoIsUnpackingTool(OutputLevel = self.OutputLevel) muUnpacker = MURoIsUnpackingTool(OutputLevel = self.OutputLevel)
muUnpacker.ThresholdToChainMapping = MenuTest.MUThresholdToChainMapping muUnpacker.ThresholdToChainMapping = MenuTest.MUThresholdToChainMapping
muUnpacker.MonTool = RoIsUnpackingMonitoring( prefix="MU", maxCount=20 ) muUnpacker.MonTool = RoIsUnpackingMonitoring( prefix="MU", maxCount=20 )
self.roiUnpackers.append(muUnpacker) self.roiUnpackers += [muUnpacker]
self.Chains = "HLTChainsResult" self.Chains = "HLTChainsResult"
...@@ -97,17 +97,22 @@ class L1EmulationTest(L1Decoder) : ...@@ -97,17 +97,22 @@ class L1EmulationTest(L1Decoder) :
# EM unpacker # EM unpacker
if TriggerFlags.doID() or TriggerFlags.doCalo(): if TriggerFlags.doID() or TriggerFlags.doCalo():
emUnpacker = RoIsUnpackingEmulationTool("EMRoIsUnpackingTool", emUnpacker = RoIsUnpackingEmulationTool("EMRoIsUnpackingTool",
Decisions = "EMRoIDecisions",
OutputTrigRoIs = "EMRoIs",
OutputLevel = self.OutputLevel, OutputLevel = self.OutputLevel,
ThresholdToChainMapping = MenuTest.EMThresholdToChainMapping) ThresholdToChainMapping = MenuTest.EMThresholdToChainMapping)
self.roiUnpackers.append(emUnpacker) self.roiUnpackers += [emUnpacker]
print emUnpacker
# MU unpacker # MU unpacker
if TriggerFlags.doMuon(): if TriggerFlags.doMuon():
muUnpacker = RoIsUnpackingEmulationTool("MURoIsUnpackingTool", muUnpacker = RoIsUnpackingEmulationTool("MURoIsUnpackingTool",
Decisions = "MURoIDecisions",
OutputTrigRoIs = "MURoIs",
OutputLevel=self.OutputLevel, OutputLevel=self.OutputLevel,
ThresholdToChainMapping = MenuTest.MUThresholdToChainMapping) ThresholdToChainMapping = MenuTest.MUThresholdToChainMapping)
self.roiUnpackers.append(muUnpacker) self.roiUnpackers += [muUnpacker]
self.Chains="HLTChainsResult" self.Chains="HLTChainsResult"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment