ATLAS Offline Software
DisTrkTriggerConfiguration.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 from TriggerMenuMT.HLT.Config.MenuComponents import MenuSequence, SelectionCA, InEventRecoCA
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 from AthenaCommon.Logging import logging
5 
6 logging.getLogger().info("Importing %s",__name__)
7 log = logging.getLogger(__name__)
8 
9 
11 
12  from TrigLongLivedParticlesHypo.TrigDisappearingTrackHypoConfig import TrigDisappearingTrackHypoToolFromDict
13  from TrigLongLivedParticlesHypo.TrigDisappearingTrackHypoConfig import createTrigDisappearingTrackHypoAlgCfg
14 
15  selAcc = SelectionCA('DisTrkSeq')
16  theDisTrkHypo = createTrigDisappearingTrackHypoAlgCfg(flags, "DisTrkTrack")
17 
18 
19  DummyInputMakerAlg = CompFactory.InputMakerForRoI( "IM_DisTrkTrack_HypoOnlyStep" )
20  DummyInputMakerAlg.RoITool = CompFactory.ViewCreatorInitialROITool()
21 
22 
23  reco = InEventRecoCA('DisTrkEmptyStep',inputMaker=DummyInputMakerAlg)
24  selAcc.mergeReco(reco)
25  selAcc.mergeHypo(theDisTrkHypo)
26 
27  log.debug("Building the Step dictinary for DisTrk")
28  return MenuSequence(flags,
29  selAcc,
30  HypoToolGen = TrigDisappearingTrackHypoToolFromDict,
31  )
grepfile.info
info
Definition: grepfile.py:38
python.TrigDisappearingTrackHypoConfig.createTrigDisappearingTrackHypoAlgCfg
ComponentAccumulator createTrigDisappearingTrackHypoAlgCfg(AthConfigFlags flags, str name)
Definition: TrigDisappearingTrackHypoConfig.py:10
DisTrkTriggerConfiguration.DisTrkTriggerHypoSequenceGenCfg
def DisTrkTriggerHypoSequenceGenCfg(flags)
Definition: DisTrkTriggerConfiguration.py:10