ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TriggerCommon
TriggerMenuMT
python
HLT
Electron
FastElectronMenuSequences.py
Go to the documentation of this file.
1
#
2
# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
#
4
5
from
TriggerMenuMT.HLT.Egamma.TrigEgammaKeys
import
getTrigEgammaKeys
6
7
# menu components
8
from
TriggerMenuMT.HLT.Config.MenuComponents
import
MenuSequence, SelectionCA, InViewRecoCA
9
from
AthenaConfiguration.ComponentFactory
import
CompFactory
10
from
AthenaConfiguration.AccumulatorCache
import
AccumulatorCache
11
12
@AccumulatorCache
13
def
fastElectronSequenceGenCfg
(flags, name='FastElectron', variant='', is_probe_leg = False):
14
""" second step: tracking....."""
15
16
InViewRoIs =
"EMFastElectronRoIs"
+variant
17
18
roiTool = CompFactory.ViewCreatorPreviousROITool()
19
reco = InViewRecoCA(
"EMElectron"
+variant, RoITool = roiTool, InViewRoIs = InViewRoIs, RequireParentView =
True
, isProbe=is_probe_leg)
20
21
# Configure the reconstruction algorithm sequence
22
from
TriggerMenuMT.HLT.Electron.FastElectronRecoSequences
import
fastElectronRecoSequence
23
reco.mergeReco(fastElectronRecoSequence(flags, name, InViewRoIs, variant))
24
25
theFastElectronHypo = CompFactory.TrigEgammaFastElectronHypoAlg(
"TrigEgammaFastElectronHypoAlg"
+variant)
26
TrigEgammaKeys = getTrigEgammaKeys(flags, variant)
27
theFastElectronHypo.Electrons = TrigEgammaKeys.fastElectronContainer
28
theFastElectronHypo.RunInView =
True
29
from
TrigEgammaHypo.TrigEgammaFastElectronHypoTool
import
TrigEgammaFastElectronHypoToolFromDict
30
31
selAcc = SelectionCA(
'FastElectronMenuSequence'
+variant,isProbe=is_probe_leg)
32
selAcc.mergeReco(reco)
33
selAcc.addHypoAlgo(theFastElectronHypo)
34
35
return
MenuSequence(flags,selAcc,HypoToolGen=TrigEgammaFastElectronHypoToolFromDict)
36
37
38
def
fastElectron_LRTSequenceGenCfg
(flags, name='FastElectron', is_probe_leg=False):
39
# This is to call fastElectronMenuSequence for the _LRT variant
40
return
fastElectronSequenceGenCfg
(flags, name, is_probe_leg=is_probe_leg, variant=
'_LRT'
)
python.HLT.Electron.FastElectronMenuSequences.fastElectron_LRTSequenceGenCfg
fastElectron_LRTSequenceGenCfg(flags, name='FastElectron', is_probe_leg=False)
Definition
FastElectronMenuSequences.py:38
python.HLT.Electron.FastElectronMenuSequences.fastElectronSequenceGenCfg
fastElectronSequenceGenCfg(flags, name='FastElectron', variant='', is_probe_leg=False)
Definition
FastElectronMenuSequences.py:13
Generated on
for ATLAS Offline Software by
1.17.0