1 import FWCore.ParameterSet.Config
as cms
2 from DQMOffline.L1Trigger
import L1TTauOffline_cfi
6 'tau': 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 six.iteritems(variables):
23 for plot
in plots[variable]:
24 for threshold
in thresholds:
25 plotName =
'{0}_threshold_{1}'.
format(plot, threshold)
29 "resolutionTauET_EB",
"resolutionTauET_EE",
30 "resolutionTauET_EB_EE",
"resolutionTauPhi_EB",
"resolutionTauPhi_EE",
31 "resolutionTauPhi_EB_EE",
"resolutionTauEta",
35 'L1TauETvsTauET_EB',
'L1TauETvsTauET_EE',
'L1TauETvsTauET_EB_EE',
36 'L1TauPhivsTauPhi_EB',
'L1TauPhivsTauPhi_EE',
'L1TauPhivsTauPhi_EB_EE',
41 allPlots.extend(allEfficiencyPlots)
42 allPlots.extend(resolution_plots)
43 allPlots.extend(plots2D)
45 from DQMOffline.L1Trigger.L1TDiffHarvesting_cfi
import l1tDiffHarvesting
46 l1tTauEmuDiff = l1tDiffHarvesting.clone(
47 plotCfgs=cms.untracked.VPSet(
49 dir1=cms.untracked.string(
"L1T/L1TObjects/L1TTau/L1TriggerVsReco"),
50 dir2=cms.untracked.string(
"L1TEMU/L1TObjects/L1TTau/L1TriggerVsReco"),
51 outputDir=cms.untracked.string(
52 "L1TEMU/L1TObjects/L1TTau/L1TriggerVsReco/Comparison"),
53 plots=cms.untracked.vstring(allPlots)