ATLAS Offline Software
Functions
python.HLT.Electron.PrecisionElectronMenuSequences Namespace Reference

Functions

def tag (ion)
 
def precisionElectronSequenceGenCfg (flags, ion=False, variant='', is_probe_leg=False)
 
def precisionElectron_LRTSequenceGenCfg (flags, is_probe_leg=False)
 

Function Documentation

◆ precisionElectron_LRTSequenceGenCfg()

def python.HLT.Electron.PrecisionElectronMenuSequences.precisionElectron_LRTSequenceGenCfg (   flags,
  is_probe_leg = False 
)

Definition at line 36 of file PrecisionElectronMenuSequences.py.

36 def precisionElectron_LRTSequenceGenCfg(flags, is_probe_leg=False):
37  # This is to call precisionElectronMenuSequence for the _LRT variant
38  return precisionElectronSequenceGenCfg(flags, ion=False, variant='_LRT',is_probe_leg=is_probe_leg)

◆ precisionElectronSequenceGenCfg()

def python.HLT.Electron.PrecisionElectronMenuSequences.precisionElectronSequenceGenCfg (   flags,
  ion = False,
  variant = '',
  is_probe_leg = False 
)
seventh step:  precision electron.....

Definition at line 16 of file PrecisionElectronMenuSequences.py.

16 def precisionElectronSequenceGenCfg(flags, ion=False, variant='',is_probe_leg = False):
17  """ seventh step: precision electron....."""
18 
19  inViewRoIs = "precisionElectron"
20  probeInfo = '_probe' if is_probe_leg else ''
21  roiTool = CompFactory.ViewCreatorPreviousROITool()
22  reco = InViewRecoCA(tag(ion)+variant, RoITool = roiTool, InViewRoIs = inViewRoIs, RequireParentView = True, isProbe=is_probe_leg)
23 
24  # Configure the reconstruction algorithm sequence
25  from TriggerMenuMT.HLT.Electron.PrecisionElectronRecoSequences import precisionElectronRecoSequence
26  reco.mergeReco(precisionElectronRecoSequence(flags, inViewRoIs, ion, doGSF=False, doLRT = 'LRT' in variant))
27  TrigEgammaKeys = getTrigEgammaKeys(flags, variant, ion=ion)
28  selAcc = SelectionCA('PrecisionElectronMenuSequence'+variant,isProbe=is_probe_leg)
29 
30  from TrigEgammaHypo.TrigEgammaPrecisionElectronHypoTool import TrigEgammaPrecisionElectronHypoToolFromDict, TrigEgammaPrecisionElectronHypoAlgCfg
31 
32  selAcc.mergeReco(reco)
33  selAcc.mergeHypo(TrigEgammaPrecisionElectronHypoAlgCfg(flags, "TrigEgamma"+tag(ion)+"HypoAlg_noGSF"+variant+probeInfo, TrigEgammaKeys.precisionElectronContainer ))
34  return MenuSequence(flags,selAcc,HypoToolGen=TrigEgammaPrecisionElectronHypoToolFromDict)
35 

◆ tag()

def python.HLT.Electron.PrecisionElectronMenuSequences.tag (   ion)

Definition at line 12 of file PrecisionElectronMenuSequences.py.

12 def tag(ion):
13  return 'precision' + ('HI' if ion is True else '') + 'Electron'
14 
15 @AccumulatorCache
python.HLT.Electron.PrecisionElectronRecoSequences.precisionElectronRecoSequence
def precisionElectronRecoSequence(flags, RoIs, ion=False, doGSF=True, doLRT=False)
Definition: PrecisionElectronRecoSequences.py:12
python.HLT.Electron.PrecisionElectronMenuSequences.precisionElectronSequenceGenCfg
def precisionElectronSequenceGenCfg(flags, ion=False, variant='', is_probe_leg=False)
Definition: PrecisionElectronMenuSequences.py:16
python.HLT.Electron.PrecisionElectronMenuSequences.tag
def tag(ion)
Definition: PrecisionElectronMenuSequences.py:12
python.TrigEgammaPrecisionElectronHypoTool.TrigEgammaPrecisionElectronHypoAlgCfg
def TrigEgammaPrecisionElectronHypoAlgCfg(flags, name, inputElectronCollection)
Definition: TrigEgammaPrecisionElectronHypoTool.py:50
python.HLT.Electron.PrecisionElectronMenuSequences.precisionElectron_LRTSequenceGenCfg
def precisionElectron_LRTSequenceGenCfg(flags, is_probe_leg=False)
Definition: PrecisionElectronMenuSequences.py:36
python.HLT.Egamma.TrigEgammaKeys.getTrigEgammaKeys
def getTrigEgammaKeys(AthConfigFlags flags, name='', ion=False)
Definition: TrigEgammaKeys.py:138