ATLAS Offline Software
Loading...
Searching...
No Matches
python.HLT.Jet.GenerateJetChainDefs Namespace Reference

Functions

 generateChainConfigs (flags, chainDict)

Variables

 log = logging.getLogger(__name__)

Function Documentation

◆ generateChainConfigs()

python.HLT.Jet.GenerateJetChainDefs.generateChainConfigs ( flags,
chainDict )

Definition at line 13 of file GenerateJetChainDefs.py.

13def generateChainConfigs(flags, chainDict ):
14
15 if log.isEnabledFor(logging.DEBUG): # pprint.pformat is expensive
16 log.debug('full jet dictionary is: %s\n', pprint.pformat(chainDict))
17
18 # Jet chain is assembled always from the full dictionary (multiple legs are handled internally by the jet reco / hypo)
19 theChainDef = JetChainConfiguration(chainDict)
20 theChainDef.prepareDataDependencies(flags)
21
22 listOfChainDefs = []
23
24 for leg in range(len(chainDict['chainParts'])):
25
26 listOfChainDefs += [theChainDef.assembleChain(flags)]
27
28 if len(listOfChainDefs) > 1:
29 jetChain = mergeChainDefs(listOfChainDefs, chainDict)
30 else:
31 jetChain = listOfChainDefs[0]
32 return jetChain
33
34
35
36
37
38

Variable Documentation

◆ log

python.HLT.Jet.GenerateJetChainDefs.log = logging.getLogger(__name__)

Definition at line 8 of file GenerateJetChainDefs.py.