ATLAS Offline Software
Classes | Functions
python.TrigEgammaPrecisionPhotonCaloIsoHypoTool Namespace Reference

Classes

class  TrigEgammaPrecisionPhotonCaloIsoHypoToolConfig
 

Functions

def createTrigEgammaPrecisionPhotonCaloIsoHypoAlg (name, sequenceOut, sequenceIn)
 
def _IncTool (flags, name, monGroups, cpart, tool=None)
 
def TrigEgammaPrecisionPhotonCaloIsoHypoToolFromDict (flags, d, tool=None)
 

Function Documentation

◆ _IncTool()

def python.TrigEgammaPrecisionPhotonCaloIsoHypoTool._IncTool (   flags,
  name,
  monGroups,
  cpart,
  tool = None 
)
private

Definition at line 147 of file TrigEgammaPrecisionPhotonCaloIsoHypoTool.py.

147 def _IncTool( flags, name, monGroups, cpart, tool=None ):
148  config = TrigEgammaPrecisionPhotonCaloIsoHypoToolConfig(name, monGroups, cpart, tool=tool)
149  config.compile(flags)
150  return config.tool()
151 
152 
153 

◆ createTrigEgammaPrecisionPhotonCaloIsoHypoAlg()

def python.TrigEgammaPrecisionPhotonCaloIsoHypoTool.createTrigEgammaPrecisionPhotonCaloIsoHypoAlg (   name,
  sequenceOut,
  sequenceIn 
)

Definition at line 9 of file TrigEgammaPrecisionPhotonCaloIsoHypoTool.py.

9 def createTrigEgammaPrecisionPhotonCaloIsoHypoAlg(name, sequenceOut, sequenceIn):
10 
11  thePrecisionPhotonCaloIsoHypo = CompFactory.TrigEgammaPrecisionPhotonCaloIsoHypoAlg(name)
12  thePrecisionPhotonCaloIsoHypo.Photons = sequenceIn # Key of the input photon container
13  thePrecisionPhotonCaloIsoHypo.IsoPhotons = sequenceOut # key of the output isolated photon container
14  return thePrecisionPhotonCaloIsoHypo
15 
16 
17 #
18 # For photons
19 #

◆ TrigEgammaPrecisionPhotonCaloIsoHypoToolFromDict()

def python.TrigEgammaPrecisionPhotonCaloIsoHypoTool.TrigEgammaPrecisionPhotonCaloIsoHypoToolFromDict (   flags,
  d,
  tool = None 
)
Use menu decoded chain dictionary to configure the tool 

Definition at line 154 of file TrigEgammaPrecisionPhotonCaloIsoHypoTool.py.

154 def TrigEgammaPrecisionPhotonCaloIsoHypoToolFromDict(flags, d, tool=None):
155  """ Use menu decoded chain dictionary to configure the tool """
156  cparts = [i for i in d['chainParts'] if ((i['signature']=='Electron') or (i['signature']=='Photon'))]
157  return _IncTool( flags, d['chainName'], d['monGroups'], cparts[0], tool=tool )
python.TrigEgammaPrecisionPhotonCaloIsoHypoTool.createTrigEgammaPrecisionPhotonCaloIsoHypoAlg
def createTrigEgammaPrecisionPhotonCaloIsoHypoAlg(name, sequenceOut, sequenceIn)
Definition: TrigEgammaPrecisionPhotonCaloIsoHypoTool.py:9
python.TrigEgammaPrecisionPhotonCaloIsoHypoTool.TrigEgammaPrecisionPhotonCaloIsoHypoToolFromDict
def TrigEgammaPrecisionPhotonCaloIsoHypoToolFromDict(flags, d, tool=None)
Definition: TrigEgammaPrecisionPhotonCaloIsoHypoTool.py:154
python.TrigEgammaPrecisionPhotonCaloIsoHypoTool._IncTool
def _IncTool(flags, name, monGroups, cpart, tool=None)
Definition: TrigEgammaPrecisionPhotonCaloIsoHypoTool.py:147