ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TriggerCommon
TriggerMenuMT
python
HLT
CommonSequences
CaloSequences_FWD.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.Config.MenuComponents
import
MenuSequence, SelectionCA, InViewRecoCA
6
from
AthenaConfiguration.AccumulatorCache
import
AccumulatorCache
7
from
AthenaConfiguration.ComponentFactory
import
CompFactory
8
9
class
CaloMenuDefs_FWD
(object):
10
"""Static Class to collect all string manipulations in Calo sequences """
11
from
TrigEDMConfig.TriggerEDM
import
recordable
12
L2CaloClusters= recordable(
"HLT_FastCaloEMClusters_FWD"
)
13
14
15
#
16
# central or forward fast calo sequence
17
#
18
19
@AccumulatorCache
20
def
fastCalo_FWDSequenceGenCfg
(flags,name,doRinger=True, is_probe_leg=False):
21
""" Creates Egamma Fast Calo FWD MENU sequence (Reco and Hypo)
22
The Hypo name changes depending on name, so for different implementations (Electron, Gamma,....)
23
"""
24
25
from
TrigT2CaloCommon.CaloDef
import
fastCaloVDVCfg
26
from
TrigT2CaloCommon.CaloDef
import
fastCaloRecoSequenceCfg
27
nameselAcc =
"fastCaloFWDSequence"
28
output =
"HLT_FastCaloEMClusters_FWD"
29
CaloMenuDefs_FWD.L2CaloClusters = output
30
selAcc = SelectionCA(nameselAcc,isProbe=is_probe_leg)
31
InViewRoIs=
"FSJETMETCaloRoI"
32
reco = InViewRecoCA(
"EMCaloFWD"
,InViewRoIs=InViewRoIs,isProbe=is_probe_leg)
33
reco.mergeReco(fastCaloVDVCfg(flags,InViewRoIs=InViewRoIs))
34
reco.mergeReco(fastCaloRecoSequenceCfg(flags, inputEDM=InViewRoIs,doForward=
True
,ClustersName=output))
35
selAcc.mergeReco(reco)
36
37
# hypo
38
from
TrigEgammaForwardHypo.TrigEgammaForwardFastCaloHypoTool
import
TrigEgammaForwardFastCaloHypoToolFromDict
39
theFastCaloHypo = CompFactory.TrigEgammaForwardFastCaloHypoAlgMT(name+
"EgammaFastCaloFWDHypo"
)
40
selAcc.addHypoAlgo(theFastCaloHypo)
41
42
return
MenuSequence(flags,selAcc,HypoToolGen=TrigEgammaForwardFastCaloHypoToolFromDict)
43
python.HLT.CommonSequences.CaloSequences_FWD.CaloMenuDefs_FWD
Definition
CaloSequences_FWD.py:9
python.HLT.CommonSequences.CaloSequences_FWD.fastCalo_FWDSequenceGenCfg
fastCalo_FWDSequenceGenCfg(flags, name, doRinger=True, is_probe_leg=False)
Definition
CaloSequences_FWD.py:20
Generated on
for ATLAS Offline Software by
1.17.0