1 import FWCore.ParameterSet.Config
as cms
2 from DQMOffline.L1Trigger
import L1TEtSumJetOffline_cfi
as L1TStep1
5 'jet': L1TStep1.jetEfficiencyThresholds,
10 "efficiencyJetEt_HB",
"efficiencyJetEt_HE",
"efficiencyJetEt_HF",
11 "efficiencyJetEt_HB_HE"],
15 from DQMOffline.L1Trigger.L1TCommon
import generateEfficiencyStrings
18 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
21 commands=cms.vstring(),
22 resolution=cms.vstring(),
23 subDirs=cms.untracked.vstring(
'L1T/L1TObjects/L1TJet/L1TriggerVsReco'),
24 efficiency=cms.vstring(),
25 efficiencyProfile=cms.untracked.vstring(efficiencyStrings),
28 l1tJetEmuEfficiency = l1tJetEfficiency.clone(
29 subDirs= [
'L1TEMU/L1TObjects/L1TJet/L1TriggerVsReco']
33 variables_HI = variables
34 variables_HI[
'jet'] = L1TStep1.jetEfficiencyThresholds_HI
40 from Configuration.Eras.Modifier_ppRef_2017_cff
import ppRef_2017
41 ppRef_2017.toModify(l1tJetEfficiency, efficiencyProfile=efficiencyStrings_HI)
42 ppRef_2017.toModify(l1tJetEmuEfficiency, efficiencyProfile=efficiencyStrings_HI)
def generateEfficiencyStrings(variables, plots)