ATLAS Offline Software
Functions | Variables
python.HLT.Tau.GenerateTauChainDefs Namespace Reference

Functions

def generateChainConfigs (flags, chainDict, perSig_lengthOfChainConfigs)
 

Variables

 log
 

Function Documentation

◆ generateChainConfigs()

def python.HLT.Tau.GenerateTauChainDefs.generateChainConfigs (   flags,
  chainDict,
  perSig_lengthOfChainConfigs 
)

Definition at line 16 of file GenerateTauChainDefs.py.

16 def generateChainConfigs(flags, chainDict, perSig_lengthOfChainConfigs):
17 
18 
19  listOfChainDicts = splitChainDict(chainDict)
20  listOfChainDefs=[]
21 
22  for subChainDict in listOfChainDicts:
23  log.debug('Assembling subChainsDict %s for chain %s', len(listOfChainDefs), subChainDict['chainName'] )
24  Tau = TauChainConfiguration(subChainDict).assembleChain(flags)
25 
26  listOfChainDefs += [Tau]
27 
28 
29  if len(listOfChainDefs)>1:
30  theChainDef, perSig_lengthOfChainConfigs = mergeChainDefs(listOfChainDefs, chainDict, perSig_lengthOfChainConfigs)
31 
32  else:
33  theChainDef = listOfChainDefs[0]
34 
35  log.debug("theChainDef: %s" , theChainDef)
36  return theChainDef, perSig_lengthOfChainConfigs
37 
38 

Variable Documentation

◆ log

python.HLT.Tau.GenerateTauChainDefs.log

Definition at line 8 of file GenerateTauChainDefs.py.

ChainDictTools.splitChainDict
def splitChainDict(chainDict)
Definition: ChainDictTools.py:104
ChainMerging.mergeChainDefs
def mergeChainDefs(listOfChainDefs, chainDict, perSig_lengthOfChainConfigs=None)
Definition: ChainMerging.py:15
python.HLT.Tau.GenerateTauChainDefs.generateChainConfigs
def generateChainConfigs(flags, chainDict, perSig_lengthOfChainConfigs)
Definition: GenerateTauChainDefs.py:16