ATLAS Offline Software
dEdxTriggerConfiguration.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 AthenaCommon.Logging import logging
4 
5 logging.getLogger().info("Importing %s",__name__)
6 log = 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  )
grepfile.info
info
Definition: grepfile.py:38
python.TrigdEdxTrackHypoConfig.TrigdEdxTrackHypoAlgCfg
ComponentAccumulator TrigdEdxTrackHypoAlgCfg(AthConfigFlags flags, str name)
Definition: TrigdEdxTrackHypoConfig.py:10
dEdxTriggerConfiguration.dEdxTriggerHypoSequenceGenCfg
def dEdxTriggerHypoSequenceGenCfg(flags)
Definition: dEdxTriggerConfiguration.py:9