ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TriggerCommon
TriggerMenuMT
python
HLT
UnconventionalTracking
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
MenuSequence, 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
10
def
IsoHPtTrackTriggerHypoSequenceGenCfg
(flags):
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
MenuSequence(flags,
30
selAcc,
31
HypoToolGen = TrigIsoHPtTrackTriggerHypoToolFromDict,
32
)
33
IsoHighPtTrackTriggerConfiguration.IsoHPtTrackTriggerHypoSequenceGenCfg
IsoHPtTrackTriggerHypoSequenceGenCfg(flags)
Definition
IsoHighPtTrackTriggerConfiguration.py:10
Generated on
for ATLAS Offline Software by
1.17.0