ATLAS Offline Software
Functions | Variables
python.HLT.MinBias.GenerateMinBiasChainDefs Namespace Reference

Functions

def generateChainConfigs (flags, chainDict)
 

Variables

 log
 

Function Documentation

◆ generateChainConfigs()

def python.HLT.MinBias.GenerateMinBiasChainDefs.generateChainConfigs (   flags,
  chainDict 
)

Definition at line 14 of file GenerateMinBiasChainDefs.py.

14 def generateChainConfigs(flags, chainDict ):
15 
16  listOfChainDicts = splitChainDict(chainDict)
17  log.debug("Implement case for minbias chain with %d legs ",len(listOfChainDicts))
18 
19  listOfChainDefs = []
20 
21  for subChainDict in listOfChainDicts:
22 
23  MinBias = MinBiasChainConfig(subChainDict).assembleChain(flags)
24 
25  listOfChainDefs += [MinBias]
26  log.debug('length of chaindefs %s', len(listOfChainDefs) )
27 
28 
29  if len(listOfChainDefs)>1:
30  log.debug("Implement case for mulit-leg minbias chain")
31  theChainDef = mergeChainDefs(listOfChainDefs, chainDict)
32  else:
33  theChainDef = listOfChainDefs[0]
34 
35  log.debug("theChainDef %s" , theChainDef)
36 
37  return theChainDef

Variable Documentation

◆ log

python.HLT.MinBias.GenerateMinBiasChainDefs.log

Definition at line 9 of file GenerateMinBiasChainDefs.py.

python.HLT.MinBias.GenerateMinBiasChainDefs.generateChainConfigs
def generateChainConfigs(flags, chainDict)
Definition: GenerateMinBiasChainDefs.py:14
ChainDictTools.splitChainDict
def splitChainDict(chainDict)
Definition: ChainDictTools.py:104
ChainMerging.mergeChainDefs
def mergeChainDefs(listOfChainDefs, chainDict, perSig_lengthOfChainConfigs=None)
Definition: ChainMerging.py:15