3 from TriggerMenuMT.HLT.Config.MenuComponents
import MenuSequenceCA, SelectionCA, InEventRecoCA
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from AthenaCommon.Logging
import logging
7 logging.getLogger().
info(
"Importing %s",__name__)
8 log = logging.getLogger(__name__)
11 from TrigLongLivedParticlesHypo.TrigIsoHPtTrackTriggerHypoTool
import TrigIsoHPtTrackTriggerHypoToolFromDict
14 theIsoHPtTrackTriggerHypo = CompFactory.TrigIsoHPtTrackTriggerHypoAlg(
16 trackKey = flags.Tracking.ActiveConfig.tracks_FTF
19 selAcc = SelectionCA(
'UncTrkEmptySeq')
21 DummyInputMakerAlg = CompFactory.InputMakerForRoI(
"IM_IsoHPtTrack_HypoOnlyStep" )
22 DummyInputMakerAlg.RoITool = CompFactory.ViewCreatorInitialROITool()
24 reco = InEventRecoCA(
'UncTrkEmptyStep',inputMaker=DummyInputMakerAlg)
25 selAcc.mergeReco(reco)
26 selAcc.addHypoAlgo(theIsoHPtTrackTriggerHypo)
28 log.debug(
"Building the Step dictinary for IsoHPt!")
29 return MenuSequenceCA(flags,
31 HypoToolGen = TrigIsoHPtTrackTriggerHypoToolFromDict,