Skip to content
Snippets Groups Projects
Commit cef2917c authored by Francesca Pastore's avatar Francesca Pastore
Browse files

fix bug for combohypotools in asym legs, ATR-21092

parent e4bef36b
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,7 @@ def setupMenu():
# this is for test only
ChainProp(name='HLT_2mu6_Dr_L12MU4', groups=MultiMuonGroup),
ChainProp(name='HLT_mu6_Dr_mu4_Dr_L12MU4', l1SeedThresholds=['MU4']*2, groups=MultiMuonGroup),
# ATR-20049
ChainProp(name='HLT_mu6_mu4_L12MU4', l1SeedThresholds=['MU4']*2, groups=MultiMuonGroup),
......
......@@ -792,10 +792,8 @@ class ChainStep(object):
if self.isCombo:
self.makeCombo()
def addCombHypoTools(self, tools):
def addComboHypoTools(self, tools):
self.comboToolConfs=tools
self.combo.addComboHypoToolConfs(self.comboToolConfs)
def makeCombo(self):
if len(self.sequences)==0:
......
......@@ -127,7 +127,7 @@ class MuonChainConfiguration(ChainConfigurationBase):
"ivarmedium":[['getmuFast', 'getmuComb'], ['getmuEFSA', 'getmuEFCB', 'getmuEFIso']],
"invM":[[],['getmuInvM']],
"lateMu":[[],['getLateMuRoI','getLateMu']],
"Dr": [['getmuFastDr', 'getmuCombDr']]
"Dr": [['getmuFastDr', 'getmuCombDr'],[]]
}
return stepDictionary
......@@ -238,10 +238,10 @@ class MuonChainConfiguration(ChainConfigurationBase):
def getmuCombDr(self):
step=self.getStep(2, 'muComb', sequenceCfgArray=[muCombSequenceCfg])
step.addCombHypoTools([dimuDrComboHypoToolFromDict] )
step.addComboHypoTools([dimuDrComboHypoToolFromDict] )
return step
def getmuFastDr(self):
step=self.getStep(1,"mufast", [muFastSequenceCfg] )
step.addCombHypoTools([dimuDrComboHypoToolFromDict] )
step.addComboHypoTools([dimuDrComboHypoToolFromDict] )
return step
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