16 """Configure DRAW_JET kernel"""
18 mlog = logging.getLogger(name)
19 mlog.info(
'Start configuration')
22 acc.addSequence(
seqAND(
'DRAW_JETSequence'))
25 augmentationTools = []
29 triggerSkimmingTool = CompFactory.DerivationFramework.TriggerSkimmingTool(
30 name =
"JET_TriggerSkimmingTool",
31 TriggerListOR = [
"HLT_j85_L1J20",
32 "HLT_j85_a10t_lcw_nojcalib_L120",
33 "HLT_j60f_L1J20p31ETA49"] )
35 acc.addPublicTool(triggerSkimmingTool)
36 skimTool1 = triggerSkimmingTool
39 forward_jet_selection =
"(AntiKt4EMPFlowJets.pt > 75.0*GeV) && (abs(AntiKt4EMPFlowJets.eta) >= 3.2)"
40 expression =
"count(" + forward_jet_selection +
") >= 1"
43 stringSkimmingTool = CompFactory.DerivationFramework.xAODStringSkimmingTool(
44 name=
'JET_stringSkimmingTool',
45 expression = expression)
46 acc.addPublicTool(stringSkimmingTool)
47 skimTool2 = stringSkimmingTool
50 combTool = CompFactory.DerivationFramework.FilterCombinationOR(name=
"jetSkim", FilterList=[skimTool1,skimTool2])
51 acc.addPublicTool(combTool,primary =
True)
54 DRAW_JETKernel = CompFactory.DerivationFramework.DerivationKernel(
55 name=
'DRAW_JETKernel',
56 doChronoStat=(configFlags.Concurrency.NumThreads <= 1),
57 AugmentationTools=augmentationTools,
58 SkimmingTools=[combTool])
60 acc.addEventAlgo(DRAW_JETKernel, sequenceName=
'DRAW_JETSequence')