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/L1TObjects/L1TTau/L1TriggerVsReco/efficiency_raw"),
33 outputDir=cms.untracked.string(
"L1T/L1TObjects/L1TTau/L1TriggerVsReco"),
34 numeratorSuffix=cms.untracked.string(
"_Num"),
35 denominatorSuffix=cms.untracked.string(
"_Den"),
36 plots=cms.untracked.vstring(allEfficiencyPlots),
42 l1tTauEmuEfficiency = l1tEfficiencyHarvesting.clone(
43 plotCfgs=cms.untracked.VPSet(
45 numeratorDir=cms.untracked.string(
46 "L1TEMU/L1TObjects/L1TTau/L1TriggerVsReco/efficiency_raw"),
47 outputDir=cms.untracked.string(
"L1TEMU/L1TObjects/L1TTau/L1TriggerVsReco"),
48 numeratorSuffix=cms.untracked.string(
"_Num"),
49 denominatorSuffix=cms.untracked.string(
"_Den"),
50 plots=cms.untracked.vstring(allEfficiencyPlots),