1 import FWCore.ParameterSet.Config
as cms
2 from DQMOffline.L1Trigger
import L1TTauOffline_cfi
5 'tau': L1TTauOffline_cfi.tauEfficiencyThresholds,
10 "efficiencyIsoTauET_EB",
"efficiencyIsoTauET_EE",
11 "efficiencyIsoTauET_EB_EE" 14 "efficiencyNonIsoTauET_EB",
"efficiencyNonIsoTauET_EE",
15 "efficiencyNonIsoTauET_EB_EE" 19 allEfficiencyPlots = []
20 add_plot = allEfficiencyPlots.append
21 for variable, thresholds
in variables.items():
22 for plot
in plots[variable]:
23 for threshold
in thresholds:
24 plotName =
'{0}_threshold_{1}'.
format(plot, threshold)
28 "resolutionTauET_EB",
"resolutionTauET_EE",
29 "resolutionTauET_EB_EE",
"resolutionTauPhi_EB",
"resolutionTauPhi_EE",
30 "resolutionTauPhi_EB_EE",
"resolutionTauEta",
34 'L1TauETvsTauET_EB',
'L1TauETvsTauET_EE',
'L1TauETvsTauET_EB_EE',
35 'L1TauPhivsTauPhi_EB',
'L1TauPhivsTauPhi_EE',
'L1TauPhivsTauPhi_EB_EE',
40 allPlots.extend(allEfficiencyPlots)
41 allPlots.extend(resolution_plots)
42 allPlots.extend(plots2D)
44 from DQMOffline.L1Trigger.L1TDiffHarvesting_cfi
import l1tDiffHarvesting
45 l1tTauEmuDiff = l1tDiffHarvesting.clone(
46 plotCfgs=cms.untracked.VPSet(
48 dir1=cms.untracked.string(
"L1T/L1TObjects/L1TTau/L1TriggerVsReco"),
49 dir2=cms.untracked.string(
"L1TEMU/L1TObjects/L1TTau/L1TriggerVsReco"),
50 outputDir=cms.untracked.string(
51 "L1TEMU/L1TObjects/L1TTau/L1TriggerVsReco/Comparison"),
52 plots=cms.untracked.vstring(allPlots)