ATLAS Offline Software
Loading...
Searching...
No Matches
dEdxTriggerConfiguration.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 AthenaCommon.Logging import logging
4
5logging.getLogger().info("Importing %s",__name__)
6log = logging.getLogger(__name__)
7
8
10 from TrigLongLivedParticlesHypo.TrigdEdxTrackHypoConfig import TrigdEdxTrackHypoToolFromDict
11 from TrigLongLivedParticlesHypo.TrigdEdxTrackHypoConfig import TrigdEdxTrackHypoAlgCfg
12
13 selAcc = SelectionCA('dEdxSeq')
14
15
16 thedEdxTrackHypo = TrigdEdxTrackHypoAlgCfg(flags, "dEdxTrack")
17
18 from AthenaConfiguration.ComponentFactory import CompFactory
19 DummyInputMakerAlg = CompFactory.InputMakerForRoI( "IM_dEdxTrack_HypoOnlyStep" )
20 DummyInputMakerAlg.RoITool = CompFactory.ViewCreatorInitialROITool()
21 reco = InEventRecoCA('dEdxEmptyStep',inputMaker=DummyInputMakerAlg)
22 selAcc.mergeReco(reco)
23 selAcc.mergeHypo(thedEdxTrackHypo)
24
25 return MenuSequence( flags,
26 selAcc,
27 HypoToolGen = TrigdEdxTrackHypoToolFromDict
28 )