ATLAS Offline Software
Loading...
Searching...
No Matches
python.TrigEgammaFastElectronHypoTool Namespace Reference

Classes

class  TrigEgammaFastElectronHypoToolConfig

Functions

 _IncTool (flags, name, monGroups, cpart, tool=None)
 TrigEgammaFastElectronHypoToolFromDict (flags, chainDict, tool=None)

Function Documentation

◆ _IncTool()

python.TrigEgammaFastElectronHypoTool._IncTool ( flags,
name,
monGroups,
cpart,
tool = None )
protected

Definition at line 162 of file TrigEgammaFastElectronHypoTool.py.

162def _IncTool(flags, name, monGroups, cpart, tool=None):
163 config = TrigEgammaFastElectronHypoToolConfig(name, monGroups, cpart, flags, tool=tool)
164 config.compile(flags)
165 return config.tool()
166
167
168

◆ TrigEgammaFastElectronHypoToolFromDict()

python.TrigEgammaFastElectronHypoTool.TrigEgammaFastElectronHypoToolFromDict ( flags,
chainDict,
tool = None )
Use menu decoded chain dictionary to configure the tool 

Definition at line 169 of file TrigEgammaFastElectronHypoTool.py.

169def TrigEgammaFastElectronHypoToolFromDict( flags, chainDict , tool=None):
170 """ Use menu decoded chain dictionary to configure the tool """
171 cparts = [i for i in chainDict['chainParts'] if (i['signature']=='Electron')]
172 return _IncTool( flags, chainDict['chainName'], chainDict['monGroups'], cparts[0] , tool=tool)