6 m1 = cms.EDAnalyzer(
"DQMGenericClient",
7 subDirs = cms.untracked.vstring(monitorModule.DQMBaseFolder.value()+
"/"+monitorModule.PathSummaryPlotter.DQMFolder.value()),
8 verbose = cms.untracked.uint32(0),
9 outputFileName = cms.untracked.string(
''),
10 resolution = cms.vstring(),
11 efficiency = cms.vstring(),
12 efficiencyProfile = cms.untracked.vstring(
13 "PathEfficiency 'Accepted Events per Path;;' helpers/PathTriggerBits helpers/RefEvents"
17 m2 = cms.EDAnalyzer(
"HLTTauPostProcessor",
18 DQMBaseFolder = cms.untracked.string(monitorModule.DQMBaseFolder.value())
25 m1.subDirs.extend([monitorModule.DQMBaseFolder.value()+
"/HLT_.*",
26 monitorModule.DQMBaseFolder.value()+
"/"+monitorModule.L1Plotter.DQMFolder.value()])
28 def _addEfficiencies(level, quantities, nameFormat, titleObject="#tau", postfix=""):
31 for quantity, titleLabel
in quantities:
32 name = nameFormat % (level, quantity)
33 title =
"%s %s %s efficiency%s" % (level, titleObject, titleLabel, postfix)
34 m1.efficiencyProfile.append(
"%s '%s' helpers/%sNum helpers/%sDenom" % (name, title, name, name))
37 _addEfficiencies(
"L1", [(
"Et",
"E_{T}"),
39 (
"Phi",
"#phi")],
"%sTau%sEff")
40 _addEfficiencies(
"L1", [(
"HighEt",
"E_{T}")],
"%sTau%sEff", postfix=
"(high E_{T})")
42 _addEfficiencies(
"L1", [(
"Et",
"E_{T}")],
"%sJet%sEff")
43 _addEfficiencies(
"L1", [(
"HighEt",
"E_{T}")],
"%sJet%sEff",
"central jet", postfix=
"(high E_{T})")
44 _addEfficiencies(
"L1", [(
"Eta",
"#eta"),
45 (
"Phi",
"#phi")],
"%sJet%sEff",
"central jet",
"(E_{T} > %.1f)" % monitorModule.L1Plotter.L1JetMinEt.value())
47 for level
in [
"L2",
"L3"]:
48 _addEfficiencies(level, [(
"Et",
"p_{T}"),
50 (
"Phi",
"#phi")],
"%sTrigTau%sEff")
51 _addEfficiencies(level, [(
"HighEt",
"p_{T}")],
"%sTrigTau%sEff", postfix=
"(high p_{T})")
56 (HLTTauPostAnalysis_Inclusive, HLTTauPostAnalysis_Inclusive2) =
makeInclusiveAnalyzer(hltTauOfflineMonitor_Inclusive)
57 (HLTTauPostAnalysis_PFTaus, HLTTauPostAnalysis_PFTaus2) =
makePFTauAnalyzer(hltTauOfflineMonitor_PFTaus)
58 HLTTauPostSeq = cms.Sequence(
59 HLTTauPostAnalysis_Inclusive+HLTTauPostAnalysis_Inclusive2+
60 HLTTauPostAnalysis_PFTaus+HLTTauPostAnalysis_PFTaus2
def makeInclusiveAnalyzer