15 from TriggerMenuMT.HLT.Egamma.TrigEgammaKeys
import getTrigEgammaKeys
18 """ hipTRT step ....."""
19 inViewRoIs =
"TRTHitGenerator"
21 roiTool = CompFactory.ViewCreatorCentredOnClusterROITool()
22 roiTool.AllowMultipleClusters =
False
23 roiTool.RoisWriteHandleKey =
"HLT_Roi_TRTHit"
24 roiTool.RoIEtaWidth = 0.10
25 roiTool.RoIPhiWidth = 0.10
26 viewName =
"TRTHitGenerator"
28 hipTRTReco = InViewRecoCA(viewName,
30 RequireParentView=
True,
31 InViewRoIs=inViewRoIs,
35 ViewVerify = CompFactory.AthViews.ViewDataVerifier(
"TRTHitGeneratorViewDataVerifier")
36 ViewVerify.DataObjects = {(
'TrigRoiDescriptorCollection' ,
'StoreGateSvc+TRTHitGenerator'),
38 from AthenaCommon.Logging
import logging
39 log = logging.getLogger(__name__)
40 from TrigInDetConfig.utils
import getFlagsForActiveConfig
43 from TrigInDetConfig.InDetTrigSequence
import InDetTrigSequence
45 seq = InDetTrigSequence(flagsWithTrk, flagsWithTrk.Tracking.ActiveConfig.input_name,
46 rois=inViewRoIs, inView=ViewVerify.getName())
48 recAcc.merge(seq.dataPreparationTRT())
50 recAcc.addEventAlgo(ViewVerify)
53 containerName =
"TRT_TrigDriftCircles",
54 RNNOutputName = TrigEgammaKeys.TrigTRTHTCountsContainer)
56 recAcc.addEventAlgo(trtHTHFex)
58 hipTRTReco.mergeReco(recAcc)
60 selAcc=SelectionCA(
"trtHitCounter", isProbe=is_probe_leg)
61 selAcc.mergeReco(hipTRTReco)
62 trtHTHhypo = CompFactory.TrigTRTHTHhypoAlg(name=
"TrigTRTHTHhypo", RNNOutputName=TrigEgammaKeys.TrigTRTHTCountsContainer)
63 selAcc.addHypoAlgo(trtHTHhypo)
64 from TrigTRTHighTHitCounter.TrigTRTHTHhypoTool
import TrigTRTHTHhypoToolFromDict
65 return MenuSequence(flags,selAcc, HypoToolGen=TrigTRTHTHhypoToolFromDict)