11   from AthenaConfiguration.ComponentFactory 
import CompFactory
 
   12   theFastCaloHypo = CompFactory.TrigEgammaForwardFastCaloHypoAlg(name)
 
   13   theFastCaloHypo.CaloClusters = sequenceOut
 
   14   return theFastCaloHypo
 
   21   __operation_points  = [  
'tight'    , 
 
   32   def __init__(self, name, cand, threshold, sel, trackinfo, noringerinfo):
 
   34     from AthenaCommon.Logging 
import logging
 
   35     self.
__log = logging.getLogger(
'TrigEgammaForwardFastCaloHypoTool')
 
   45     from AthenaConfiguration.ComponentFactory 
import CompFactory
 
   46     tool = CompFactory.TrigEgammaForwardFastCaloHypoTool( name )
 
   47     tool.AcceptAll      = 
False 
   57     self.
__log.
debug( 
'noringerinfo :%s', noringerinfo )
 
   81     self.
tool().AcceptAll      = 
True 
   90 def _IncTool(name, cand, threshold, sel, trackinfo, noringerinfo):
 
   97     """ Use menu decoded chain dictionary to configure the tool """ 
   98     cparts = [i 
for i 
in d[
'chainParts'] 
if ((i[
'signature']==
'Electron') 
or (i[
'signature']==
'Photon'))]
 
  101         return cpart[
'threshold']
 
  104         return cpart[
'addInfo'][0] 
if cpart[
'addInfo'] 
else cpart[
'IDinfo']
 
  107         return cpart[
'trigType']
 
  109     def __trackinfo(cpart):
 
  110         return cpart[
'trkInfo'] 
if cpart[
'trkInfo'] 
else '' 
  112     def __noringer(cpart):    
 
  113         return cpart[
'L2IDAlg'] 
if cpart[
'trigType']==
'e' else '' 
  115     name = d[
'chainName']
 
  117     return _IncTool( name, __cand( cparts[0]), __th( cparts[0]),  __sel( cparts[0]), __trackinfo(cparts[0]), __noringer(cparts[0]))