ATLAS Offline Software
IsoHighPtTrackTriggerConfiguration.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 from TriggerMenuMT.HLT.Config.MenuComponents import MenuSequenceCA, SelectionCA, InEventRecoCA
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 from AthenaCommon.Logging import logging
6 
7 logging.getLogger().info("Importing %s",__name__)
8 log = logging.getLogger(__name__)
9 
11  from TrigLongLivedParticlesHypo.TrigIsoHPtTrackTriggerHypoTool import TrigIsoHPtTrackTriggerHypoToolFromDict
12 
13  # Setup the hypothesis algorithm
14  theIsoHPtTrackTriggerHypo = CompFactory.TrigIsoHPtTrackTriggerHypoAlg(
15  "L2IsoHPtTrack",
16  trackKey = flags.Tracking.ActiveConfig.tracks_FTF
17  )
18 
19  selAcc = SelectionCA('UncTrkEmptySeq')
20 
21  DummyInputMakerAlg = CompFactory.InputMakerForRoI( "IM_IsoHPtTrack_HypoOnlyStep" )
22  DummyInputMakerAlg.RoITool = CompFactory.ViewCreatorInitialROITool()
23 
24  reco = InEventRecoCA('UncTrkEmptyStep',inputMaker=DummyInputMakerAlg)
25  selAcc.mergeReco(reco)
26  selAcc.addHypoAlgo(theIsoHPtTrackTriggerHypo)
27 
28  log.debug("Building the Step dictinary for IsoHPt!")
29  return MenuSequenceCA(flags,
30  selAcc,
31  HypoToolGen = TrigIsoHPtTrackTriggerHypoToolFromDict,
32  )
33 
grepfile.info
info
Definition: grepfile.py:38
IsoHighPtTrackTriggerConfiguration.IsoHPtTrackTriggerHypoSequenceGenCfg
def IsoHPtTrackTriggerHypoSequenceGenCfg(flags)
Definition: IsoHighPtTrackTriggerConfiguration.py:10