ATLAS Offline Software
Loading...
Searching...
No Matches
DJTriggerConfiguration Namespace Reference

Functions

 DJPromptStepSequenceGenCfg (flags)
 DJDispFragment (flags)
 DJDispStepSequenceGenCfg (flags)

Variables

 log = logging.getLogger(__name__)

Function Documentation

◆ DJDispFragment()

DJTriggerConfiguration.DJDispFragment ( flags)

Definition at line 44 of file DJTriggerConfiguration.py.

44def DJDispFragment(flags):
45
46 roiTool = CompFactory.ViewCreatorCentredOnIParticleROITool(
47 'ViewCreatorDJRoI',
48 RoisWriteHandleKey = recordable(flags.Trigger.InDetTracking.DJetLRT.roi),
49 RoIEtaWidth = flags.Trigger.InDetTracking.DJetLRT.etaHalfWidth,
50 RoIPhiWidth = flags.Trigger.InDetTracking.DJetLRT.phiHalfWidth,
51 RoIZedWidth = flags.Trigger.InDetTracking.DJetLRT.zedHalfWidth,
52 UseZedPosition = False)
53
54 InViewRoIs = "InViewRoIs"
55
56 im_alg = CompFactory.EventViewCreatorAlgorithm("IM_DJRoIFTF", mergeUsingFeature = True, RoITool = roiTool, Views = "DJRoIViews", InViewRoIs = InViewRoIs,
57 RequireParentView = False, ViewFallThrough = True, ViewNodeName="DJRoIInViews")
58
59 reco = InViewRecoCA("DJRoIFTF", im_alg)
60
61 acc = ComponentAccumulator()
62 reco_seq = seqAND('UncTrkrecoSeqDJTrigDispRecoSeq')
63 acc.addSequence(reco_seq)
64
65 flagsWithTrk = cloneFlagsToActiveConfig(flags, flags.Trigger.InDetTracking.DJetLRT.input_name,log)
66
67 lrt_algs = trigInDetLRTCfg(flagsWithTrk,
68 flags.Tracking.ActiveConfig.trkTracks_FTF,
69 InViewRoIs,
70 in_view=True,
71 )
72
73 acc.merge(lrt_algs)
74
75 from TrigGenericAlgs.TrigGenericAlgsConfig import ROBPrefetchingAlgCfg_Si
76 robPrefetchAlg = ROBPrefetchingAlgCfg_Si(flags, nameSuffix=reco.name)
77
78 reco.mergeReco(acc)
79
80 selAcc = SelectionCA('UncTrkrecoSeqDJTrigDisp')
81 selAcc.mergeReco(reco, robPrefetchCA=robPrefetchAlg)
82 return selAcc
83

◆ DJDispStepSequenceGenCfg()

DJTriggerConfiguration.DJDispStepSequenceGenCfg ( flags)

Definition at line 84 of file DJTriggerConfiguration.py.

84def DJDispStepSequenceGenCfg(flags):
85 from TrigLongLivedParticlesHypo.TrigDJHypoConfig import TrigDJHypoDispToolFromDict
86
87 hypo_alg = CompFactory.DisplacedJetDispHypoAlg("DJTrigDispHypoAlg",
88 lrtTracksKey = flags.Trigger.InDetTracking.DJetLRT.tracks_FTF,
89 vtxKey = flags.Tracking.ActiveConfig.vertex_jet)
90
91 selAcc = DJDispFragment(flags)
92
93 selAcc.addHypoAlgo(hypo_alg)
94
95 return MenuSequence(flags,
96 selAcc,
97 HypoToolGen = TrigDJHypoDispToolFromDict,
98 )

◆ DJPromptStepSequenceGenCfg()

DJTriggerConfiguration.DJPromptStepSequenceGenCfg ( flags)

Definition at line 17 of file DJTriggerConfiguration.py.

17def DJPromptStepSequenceGenCfg(flags):
18 from TrigLongLivedParticlesHypo.TrigDJHypoConfig import TrigDJHypoPromptToolFromDict
19
20
21 hypo_alg = CompFactory.DisplacedJetPromptHypoAlg(
22 "DJTrigPromptHypoAlg",
23 min_trk_pt = 1.0,
24 stdTracksKey = flags.Tracking.ActiveConfig.tracks_FTF, #fullScan
25 vtxKey = flags.Tracking.ActiveConfig.vertex_jet,
26 jetContainerKey = recordable("HLT_AntiKt4EMTopoJets_subjesIS"),
27 countsKey = "DispJetTrigger_Counts",
28 )
29
30 #run at the event level
31 im_alg = CompFactory.InputMakerForRoI( "IM_DJTRIG_Prompt" )
32 im_alg.RoITool = CompFactory.ViewCreatorInitialROITool()
33
34 selAcc = SelectionCA('DJTrigPromptSeq')
35 reco = InEventRecoCA('DJTrigPromptStep',inputMaker=im_alg)
36 selAcc.mergeReco(reco)
37 selAcc.addHypoAlgo(hypo_alg)
38
39 return MenuSequence(flags,
40 selAcc,
41 HypoToolGen = TrigDJHypoPromptToolFromDict,
42 )
43

Variable Documentation

◆ log

DJTriggerConfiguration.log = logging.getLogger(__name__)

Definition at line 15 of file DJTriggerConfiguration.py.