ATLAS Offline Software
Loading...
Searching...
No Matches
DisTrkTriggerConfiguration.py
Go to the documentation of this file.
1# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2from TriggerMenuMT.HLT.Config.MenuComponents import MenuSequence, SelectionCA, InEventRecoCA
3from AthenaConfiguration.ComponentFactory import CompFactory
4from AthenaCommon.Logging import logging
5
6logging.getLogger().info("Importing %s",__name__)
7log = 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 )