1 import FWCore.ParameterSet.Config
as cms
2 from DQMOffline.L1Trigger
import L1TEtSumJetOffline_cfi
as L1TStep1
5 'met': L1TStep1.metEfficiencyThresholds,
6 'mht': L1TStep1.mhtEfficiencyThresholds,
7 'ett': L1TStep1.ettEfficiencyThresholds,
8 'htt': L1TStep1.httEfficiencyThresholds,
12 'met': [
'efficiencyMET',
'efficiencyETMHF',
'efficiencyPFMetNoMu'],
13 'mht': [
'efficiencyMHT'],
14 'ett': [
'efficiencyETT'],
15 'htt': [
'efficiencyHTT'],
19 from DQMOffline.L1Trigger.L1TCommon
import generateEfficiencyStrings
23 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
26 commands=cms.vstring(),
27 resolution=cms.vstring(),
28 subDirs=cms.untracked.vstring(
'L1T/L1TObjects/L1TEtSum/L1TriggerVsReco'),
29 efficiency=cms.vstring(),
30 efficiencyProfile=cms.untracked.vstring(efficiencyStrings),
33 l1tEtSumEmuEfficiency = l1tEtSumEfficiency.clone(
34 subDirs = [
'L1TEMU/L1TObjects/L1TEtSum/L1TriggerVsReco']
38 variables_HI = variables
42 from Configuration.Eras.Modifier_ppRef_2017_cff
import ppRef_2017
43 ppRef_2017.toModify(l1tEtSumEfficiency, efficiencyProfile=efficiencyStrings_HI)
44 ppRef_2017.toModify(l1tEtSumEmuEfficiency, efficiencyProfile=efficiencyStrings_HI)
def generateEfficiencyStrings(variables, plots)