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