Skip to content
Snippets Groups Projects
Commit f2733304 authored by Tomasz Bold's avatar Tomasz Bold
Browse files

Post review fixes

parent 673d22d1
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!36761Support multiplicity triggers in new JO
# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
from TriggerMenuMT.HLTMenuConfig.Electron.ElectronRecoSequences import l2CaloRecoCfg, l2CaloHypoCfg from TriggerMenuMT.HLTMenuConfig.Electron.ElectronRecoSequences import l2CaloRecoCfg, l2CaloHypoCfg
from TriggerMenuMT.HLTMenuConfig.Menu.MenuComponents import CAMenuSequence, \ from TriggerMenuMT.HLTMenuConfig.Menu.MenuComponents import CAMenuSequence, \
......
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
from TriggerMenuMT.HLTMenuConfig.Menu.ChainDefInMenu import ChainProp from TriggerMenuMT.HLTMenuConfig.Menu.ChainDefInMenu import ChainProp
import six import six
......
...@@ -777,7 +777,9 @@ class ChainStep(object): ...@@ -777,7 +777,9 @@ class ChainStep(object):
# include cases of emtpy steps with multiplicity = [] or multiplicity=[0,0,0///] # include cases of emtpy steps with multiplicity = [] or multiplicity=[0,0,0///]
if sum(multiplicity)==0: if sum(multiplicity)==0:
multiplicity=[] multiplicity=[]
# This check is commented out (temporarily before can be removed completely) to support signatures wiht one sequence and multiplicty > 1, e.g. HLT_2e3
# In such case there is only one sequence, however the multiplicty is == 2
# sanity check on inputs # sanity check on inputs
#if len(Sequences) != len(multiplicity): #if len(Sequences) != len(multiplicity):
# raise RuntimeError("Tried to configure a ChainStep %s with %i Sequences and %i multiplicities. These lists must have the same size" % (name, len(Sequences), len(multiplicity)) ) # raise RuntimeError("Tried to configure a ChainStep %s with %i Sequences and %i multiplicities. These lists must have the same size" % (name, len(Sequences), len(multiplicity)) )
......
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