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

Classes

class  TrigEgammaFastPhotonHypoToolConfig

Functions

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

Function Documentation

◆ _IncTool()

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

Definition at line 131 of file TrigEgammaFastPhotonHypoTool.py.

131def _IncTool(flags, name, monGroups, cpart, tool=None):
132 config = TrigEgammaFastPhotonHypoToolConfig(name,monGroups, cpart, tool=tool)
133 config.compile(flags)
134 return config.tool()
135
136
137

◆ TrigEgammaFastPhotonHypoToolFromDict()

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

Definition at line 138 of file TrigEgammaFastPhotonHypoTool.py.

138def TrigEgammaFastPhotonHypoToolFromDict(flags, chainDict, tool=None):
139 """ Use menu decoded chain dictionary to configure the tool """
140 cparts = [i for i in chainDict['chainParts'] if i['signature']=='Photon' ]
141 return _IncTool( flags, chainDict['chainName'], chainDict['monGroups'], cparts[0] , tool=tool)