1 import FWCore.ParameterSet.Config
as cms
5 plots = [
"EffvsPt",
"EffvsEta",
"EffvsPhi",
6 "EffvsPt_OPEN",
"EffvsEta_OPEN",
"EffvsPhi_OPEN",
7 "EffvsPt_DOUBLE",
"EffvsEta_DOUBLE",
"EffvsPhi_DOUBLE",
8 "EffvsPt_SINGLE",
"EffvsEta_SINGLE",
"EffvsPhi_SINGLE"]
10 allEfficiencyPlots = []
12 for threshold
in muonEfficiencyThresholds:
13 plotName =
'{0}_{1}'.
format(plot, threshold)
14 allEfficiencyPlots.append(plotName)
16 allEfficiencyPlots_HI = []
18 for threshold
in muonEfficiencyThresholds_HI:
19 plotName =
'{0}_{1}'.
format(plot, threshold)
20 allEfficiencyPlots_HI.append(plotName)
22 from DQMOffline.L1Trigger.L1TEfficiencyHarvesting_cfi
import l1tEfficiencyHarvesting
23 l1tMuonDQMEfficiency = l1tEfficiencyHarvesting.clone(
24 plotCfgs = cms.untracked.VPSet(
26 numeratorDir = cms.untracked.string(
"L1T/L1TMuon/numerators_and_denominators"),
27 outputDir = cms.untracked.string(
"L1T/L1TMuon"),
28 numeratorSuffix = cms.untracked.string(
"_Num"),
29 denominatorSuffix = cms.untracked.string(
"_Den"),
30 plots = cms.untracked.vstring(allEfficiencyPlots)
36 from Configuration.Eras.Modifier_ppRef_2017_cff
import ppRef_2017
37 ppRef_2017.toModify(l1tMuonDQMEfficiency,
38 plotCfgs = {0:
dict(plots = allEfficiencyPlots_HI)}