34 def makeChain( flags, name, L1Thresholds, ChainSteps, Streams="physics:Main
", Groups=["RATE:TestRateGroup
", "BW:TestBW
"]): """
35 In addition to making the chain object fills the flags that are used to generate MnuCOnfig JSON file
37 prop = ChainProp( name=name, l1SeedThresholds=L1Thresholds, groups=Groups )
40 chainDict[
"chainCounter"] = chainsCounter
44 chainDict[
'prescale'] = 1
50 for step
in ChainSteps:
51 StepConfig+=[ChainStep(step.name,
53 chainDicts=step.chainDicts
if step.chainDicts
else listOfChainDicts,
54 comboHypoCfg=step.comboHypoCfg,
55 comboToolConfs=step.comboToolConfs, isEmpty=step.isEmpty)]
57 chainConfig = Chain( name=name, L1decisions=L1decisions, ChainSteps=StepConfig )
58 HLTMenuConfig.registerChain( chainDict )