CMS 3D CMS Logo

L1TMuonDQMEfficiency_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.L1Trigger.L1TMuonDQMOffline_cfi import muonEfficiencyThresholds
4 
5 plots = ["EffvsPt", "EffvsEta", "EffvsPhi",
6  "EffvsPt_OPEN", "EffvsEta_OPEN", "EffvsPhi_OPEN",
7  "EffvsPt_DOUBLE", "EffvsEta_DOUBLE", "EffvsPhi_DOUBLE",
8  "EffvsPt_SINGLE", "EffvsEta_SINGLE", "EffvsPhi_SINGLE"]
9 
10 allEfficiencyPlots = []
11 for plot in plots:
12  for threshold in muonEfficiencyThresholds:
13  plotName = '{0}_{1}'.format(plot, threshold)
14  allEfficiencyPlots.append(plotName)
15 
16 from DQMOffline.L1Trigger.L1TEfficiencyHarvesting_cfi import l1tEfficiencyHarvesting
17 l1tMuonDQMEfficiency = l1tEfficiencyHarvesting.clone(
18  plotCfgs = cms.untracked.VPSet(
19  cms.untracked.PSet(
20  numeratorDir = cms.untracked.string("L1T/L1TMuon/numerators_and_denominators"),
21  outputDir = cms.untracked.string("L1T/L1TMuon"),
22  numeratorSuffix = cms.untracked.string("_Num"),
23  denominatorSuffix = cms.untracked.string("_Den"),
24  plots = cms.untracked.vstring(allEfficiencyPlots)
25  )
26  )
27 )