1 import FWCore.ParameterSet.Config
as cms
2 from DQMOffline.L1Trigger
import L1TTauOffline_cfi
5 'tau': L1TTauOffline_cfi.tauEfficiencyThresholds,
6 'NonIsotau': L1TTauOffline_cfi.tauEfficiencyThresholds,
11 "efficiencyIsoTauET_EB",
"efficiencyIsoTauET_EE",
12 "efficiencyIsoTauET_EB_EE" 15 "efficiencyNonIsoTauET_EB",
"efficiencyNonIsoTauET_EE",
16 "efficiencyNonIsoTauET_EB_EE" 20 allEfficiencyPlots = []
21 add_plot = allEfficiencyPlots.append
22 for variable, thresholds
in variables.iteritems():
23 for plot
in plots[variable]:
24 for threshold
in thresholds:
25 plotName =
'{0}_threshold_{1}'.
format(plot, threshold)
28 from DQMOffline.L1Trigger.L1TEfficiencyHarvesting_cfi
import l1tEfficiencyHarvesting
29 l1tTauEfficiency = l1tEfficiencyHarvesting.clone(
30 plotCfgs=cms.untracked.VPSet(
32 numeratorDir=cms.untracked.string(
"L1T/L1TTau/efficiency_raw"),
33 outputDir=cms.untracked.string(
"L1T/L1TTau"),
34 numeratorSuffix=cms.untracked.string(
"_Num"),
35 denominatorSuffix=cms.untracked.string(
"_Den"),
36 plots=cms.untracked.vstring(allEfficiencyPlots),
40 numeratorDir=cms.untracked.string(
41 "L1TEMU/L1TTau/efficiency_raw"),
42 outputDir=cms.untracked.string(
"L1TEMU/L1TTau"),
43 numeratorSuffix=cms.untracked.string(
"_Num"),
44 denominatorSuffix=cms.untracked.string(
"_Den"),
45 plots=cms.untracked.vstring(allEfficiencyPlots),