ATLAS Offline Software
Functions | Variables
PrecisionPhotonMenuSequences Namespace Reference

Functions

def tag (ion)
 
def precisionPhotonSequenceGenCfg (flags, ion=False, is_probe_leg=False)
 

Variables

 log
 

Function Documentation

◆ precisionPhotonSequenceGenCfg()

def PrecisionPhotonMenuSequences.precisionPhotonSequenceGenCfg (   flags,
  ion = False,
  is_probe_leg = False 
)
This function creates the PrecisionPhoton sequence

Definition at line 18 of file PrecisionPhotonMenuSequences.py.

18 def precisionPhotonSequenceGenCfg(flags, ion=False, is_probe_leg=False):
19  """ This function creates the PrecisionPhoton sequence"""
20  # Prepare first the EventView
21  InViewRoIs="PrecisionPhotonRoIs"
22 
23  # Configure the reconstruction algorithm sequence
24  TrigEgammaKeys = getTrigEgammaKeys(flags, ion = ion)
25 
26  hiInfo = 'HI' if ion is True else ''
27  probeInfo = '_probe' if is_probe_leg is True else ''
28 
29  roiTool = CompFactory.ViewCreatorPreviousROITool()
30  recoAcc = InViewRecoCA(tag(ion),InViewRoIs=InViewRoIs, RoITool = roiTool, RequireParentView = True, isProbe=is_probe_leg)
31 
32  from TriggerMenuMT.HLT.Photon.PrecisionPhotonRecoSequences import precisionPhotonRecoSequence
33  recoAcc.mergeReco(precisionPhotonRecoSequence(flags, InViewRoIs,'PrecisionPhotonRecoSequence'+hiInfo, ion))
34 
35  selAcc = SelectionCA('PrecisionPhotonMenuSequence'+hiInfo, isProbe=is_probe_leg)
36 
37  selAcc.mergeReco(recoAcc)
38  sequenceOut = TrigEgammaKeys.precisionPhotonContainer
39 
40  from TrigEgammaHypo.TrigEgammaPrecisionPhotonHypoTool import TrigEgammaPrecisionPhotonHypoAlgCfg, TrigEgammaPrecisionPhotonHypoToolFromDict
41 
42  selAcc.mergeHypo(TrigEgammaPrecisionPhotonHypoAlgCfg(flags, "Photon"+tag(ion)+"Hypo"+probeInfo, sequenceOut))
43 
44  return MenuSequence(flags, selAcc, HypoToolGen=TrigEgammaPrecisionPhotonHypoToolFromDict)

◆ tag()

def PrecisionPhotonMenuSequences.tag (   ion)

Definition at line 13 of file PrecisionPhotonMenuSequences.py.

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

Variable Documentation

◆ log

PrecisionPhotonMenuSequences.log

Definition at line 11 of file PrecisionPhotonMenuSequences.py.

PrecisionPhotonMenuSequences.tag
def tag(ion)
Definition: PrecisionPhotonMenuSequences.py:13
PrecisionPhotonRecoSequences.precisionPhotonRecoSequence
def precisionPhotonRecoSequence(flags, RoIs, name=None, ion=False)
Definition: PrecisionPhotonRecoSequences.py:28
PrecisionPhotonMenuSequences.precisionPhotonSequenceGenCfg
def precisionPhotonSequenceGenCfg(flags, ion=False, is_probe_leg=False)
Definition: PrecisionPhotonMenuSequences.py:18
python.HLT.Egamma.TrigEgammaKeys.getTrigEgammaKeys
def getTrigEgammaKeys(AthConfigFlags flags, name='', ion=False)
Definition: TrigEgammaKeys.py:138
python.TrigEgammaPrecisionPhotonHypoTool.TrigEgammaPrecisionPhotonHypoAlgCfg
def TrigEgammaPrecisionPhotonHypoAlgCfg(flags, name, sequenceOut, **kwargs)
Definition: TrigEgammaPrecisionPhotonHypoTool.py:12