ATLAS Offline Software
Functions | Variables
PrecisionPhotonCaloIsoMenuSequences Namespace Reference

Functions

def tag (ion)
 
def precisionPhotonCaloIsoSequenceGenCfg (flags, name, ion=False, is_probe_leg=False)
 

Variables

 log
 

Function Documentation

◆ precisionPhotonCaloIsoSequenceGenCfg()

def PrecisionPhotonCaloIsoMenuSequences.precisionPhotonCaloIsoSequenceGenCfg (   flags,
  name,
  ion = False,
  is_probe_leg = False 
)
Creates secpond step photon sequence

Definition at line 16 of file PrecisionPhotonCaloIsoMenuSequences.py.

16 def precisionPhotonCaloIsoSequenceGenCfg(flags, name, ion=False, is_probe_leg=False):
17  """Creates secpond step photon sequence"""
18 
19  InViewRoIs = "PrecisionPhotonCaloIsoRoIs"
20  hiInfo = 'HI' if ion is True else ''
21  TrigEgammaKeys = getTrigEgammaKeys(flags, ion=ion)
22 
23  roiTool = CompFactory.ViewCreatorPreviousROITool()
24  recoAcc = InViewRecoCA(tag(ion),InViewRoIs=InViewRoIs, RoITool = roiTool, RequireParentView = True, isProbe=is_probe_leg)
25 
26  from TriggerMenuMT.HLT.Photon.PrecisionPhotonCaloIsoRecoSequences import precisionPhotonCaloIsoRecoSequence
27  recoAcc.mergeReco(precisionPhotonCaloIsoRecoSequence(flags, InViewRoIs,'PrecisionPhotonCaloIsoRecoSequence'+hiInfo, ion))
28 
29  selAcc = SelectionCA('PrecisionPhotonCaloIsoMenuSequences'+hiInfo, isProbe=is_probe_leg)
30 
31  from TriggerMenuMT.HLT.Egamma.TrigEgammaFactoriesCfg import TrigEgammaFSEventDensitySequenceCfg
32  selAcc.mergeReco(recoAcc, upSequenceCA= TrigEgammaFSEventDensitySequenceCfg(flags))
33  from TrigEgammaHypo.TrigEgammaPrecisionPhotonCaloIsoHypoTool import createTrigEgammaPrecisionPhotonCaloIsoHypoAlg, TrigEgammaPrecisionPhotonCaloIsoHypoToolFromDict
34  sequenceOut = TrigEgammaKeys.precisionPhotonIsoContainer
35  selAcc.addHypoAlgo(createTrigEgammaPrecisionPhotonCaloIsoHypoAlg(name+tag(ion) +"Hypo", sequenceOut, TrigEgammaKeys.precisionPhotonContainer))
36  return MenuSequence(flags,selAcc,HypoToolGen=TrigEgammaPrecisionPhotonCaloIsoHypoToolFromDict)

◆ tag()

def PrecisionPhotonCaloIsoMenuSequences.tag (   ion)

Definition at line 12 of file PrecisionPhotonCaloIsoMenuSequences.py.

12 def tag(ion):
13  return 'precision' + ('HI' if ion is True else '') + 'PhotonCaloIso'
14 
15 @AccumulatorCache

Variable Documentation

◆ log

PrecisionPhotonCaloIsoMenuSequences.log

Definition at line 10 of file PrecisionPhotonCaloIsoMenuSequences.py.

PrecisionPhotonCaloIsoRecoSequences.precisionPhotonCaloIsoRecoSequence
def precisionPhotonCaloIsoRecoSequence(flags, RoIs, name=None, ion=False)
Definition: PrecisionPhotonCaloIsoRecoSequences.py:31
PrecisionPhotonCaloIsoMenuSequences.precisionPhotonCaloIsoSequenceGenCfg
def precisionPhotonCaloIsoSequenceGenCfg(flags, name, ion=False, is_probe_leg=False)
Definition: PrecisionPhotonCaloIsoMenuSequences.py:16
python.HLT.Egamma.TrigEgammaFactoriesCfg.TrigEgammaFSEventDensitySequenceCfg
def TrigEgammaFSEventDensitySequenceCfg(flags, name='TrigEgammaFSEventDensitySequence')
Definition: TrigEgammaFactoriesCfg.py:168
python.TrigEgammaPrecisionPhotonCaloIsoHypoTool.createTrigEgammaPrecisionPhotonCaloIsoHypoAlg
def createTrigEgammaPrecisionPhotonCaloIsoHypoAlg(name, sequenceOut, sequenceIn)
Definition: TrigEgammaPrecisionPhotonCaloIsoHypoTool.py:9
PrecisionPhotonCaloIsoMenuSequences.tag
def tag(ion)
Definition: PrecisionPhotonCaloIsoMenuSequences.py:12
python.HLT.Egamma.TrigEgammaKeys.getTrigEgammaKeys
def getTrigEgammaKeys(AthConfigFlags flags, name='', ion=False)
Definition: TrigEgammaKeys.py:138