3 from AthenaCommon.Logging
import logging
4 log = logging.getLogger(__name__)
6 from ..Config.MenuComponents
import MenuSequence, SelectionCA, InEventRecoCA, InViewRecoCA
7 from AthenaConfiguration.ComponentFactory
import CompFactory
8 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
9 from TrigEDMConfig.TriggerEDM
import recordable
15 RoIToolCreator = CompFactory.ViewCreatorMuonSuperROITool
if flags.Trigger.InDetTracking.bmumux.SuperRoI
else CompFactory.ViewCreatorCentredOnIParticleROITool
18 'RoIEtaWidth' : flags.Trigger.InDetTracking.bmumux.etaHalfWidth,
19 'RoIPhiWidth' : flags.Trigger.InDetTracking.bmumux.phiHalfWidth,
20 'RoIZedWidth' : flags.Trigger.InDetTracking.bmumux.zedHalfWidth,
21 'RoisWriteHandleKey' :
recordable(flags.Trigger.InDetTracking.bmumux.roi) }
24 'RoITool' : RoIToolCreator(**roiToolOptions),
25 'mergeUsingFeature' :
True,
26 'PlaceMuonInView' :
True,
27 'InViewMuonCandidates' :
'BmumuxMuonCandidates',
28 'InViewMuons' :
'HLT_Muons_Bmumux' }
30 reco = InViewRecoCA(
'Bmumux', **viewMakerOptions)
31 from .BphysicsRecoSequences
import bmumuxRecoSequenceCfg
32 reco.mergeReco(
bmumuxRecoSequenceCfg(flags, reco.inputMaker().InViewRoIs, reco.inputMaker().InViewMuons))
34 selAcc = SelectionCA(
'bmumuxSequence')
36 from TrigGenericAlgs.TrigGenericAlgsConfig
import ROBPrefetchingAlgCfg_Si
39 hypoAlg = CompFactory.TrigBphysStreamerHypo(
'BmumuxStreamerHypoAlg')
40 selAcc.addHypoAlgo(hypoAlg)
42 from TrigBphysHypo.TrigBphysStreamerHypoConfig
import TrigBphysStreamerHypoToolFromDict
43 return MenuSequence(flags, selAcc, HypoToolGen=TrigBphysStreamerHypoToolFromDict)
47 from ..Muon.MuonMenuSequences
import muCombAlgSequenceCfg
48 from TrigBphysHypo.TrigBphysStreamerHypoConfig
import TrigBphysStreamerHypoToolFromDict
51 hypo = CompFactory.TrigBphysStreamerHypo(
'DimuL2StreamerHypoAlg',
54 sequence.addHypoAlgo(hypo)
56 return MenuSequence(flags, sequence,
57 HypoToolGen = TrigBphysStreamerHypoToolFromDict)
62 selAcc = SelectionCA(
'dimuSequence')
64 inputMakerAlg = CompFactory.InputMakerForRoI(
'IM_bphysStreamerDimuEF',
65 RoITool = CompFactory.ViewCreatorPreviousROITool(),
66 mergeUsingFeature =
True)
68 reco = InEventRecoCA(
'bphysStreamerDimuEFReco', inputMaker=inputMakerAlg)
69 selAcc.mergeReco(reco)
71 hypoAlg = CompFactory.TrigBphysStreamerHypo(
'DimuEFStreamerHypoAlg', triggerLevel =
'EF')
72 selAcc.addHypoAlgo(hypoAlg)
74 from TrigBphysHypo.TrigBphysStreamerHypoConfig
import TrigBphysStreamerHypoToolFromDict
75 return MenuSequence(flags, selAcc, HypoToolGen=TrigBphysStreamerHypoToolFromDict)
79 from ..Config.GenerateMenuMT
import GenerateMenuMT
81 chains = [chain.name
for chain
in menu.chainsInMenu[
'Bphysics']
if 'noL2Comb' in chain.name]