CMS 3D CMS Logo

L1TTauEfficiency_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMOffline.L1Trigger import L1TTauOffline_cfi
3 import six
4 
5 variables = {
6  'tau': L1TTauOffline_cfi.tauEfficiencyThresholds,
7  'NonIsotau': L1TTauOffline_cfi.tauEfficiencyThresholds,
8 }
9 
10 plots = {
11  'tau': [
12  "efficiencyIsoTauET_EB", "efficiencyIsoTauET_EE",
13  "efficiencyIsoTauET_EB_EE"
14  ],
15  'NonIsotau' : [
16  "efficiencyNonIsoTauET_EB", "efficiencyNonIsoTauET_EE",
17  "efficiencyNonIsoTauET_EB_EE"
18  ]
19 }
20 
21 from DQMOffline.L1Trigger.L1TCommon import generateEfficiencyStrings
22 
23 efficiencyStrings = list(generateEfficiencyStrings(variables, plots))
24 
25 
26 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
27 l1tTauEfficiency = DQMEDHarvester(
28  "DQMGenericClient",
29  commands=cms.vstring(),
30  resolution=cms.vstring(),
31  subDirs=cms.untracked.vstring('L1T/L1TObjects/L1TTau/L1TriggerVsReco'),
32  efficiency=cms.vstring(),
33  efficiencyProfile=cms.untracked.vstring(efficiencyStrings),
34 )
35 
36 l1tTauEmuEfficiency = l1tTauEfficiency.clone(
37  subDirs=cms.untracked.vstring(
38  'L1TEMU/L1TObjects/L1TTau/L1TriggerVsReco'),
39 )
DQMEDHarvester
Definition: DQMEDHarvester.py:1
L1TCommon.generateEfficiencyStrings
def generateEfficiencyStrings(variables, plots)
Definition: L1TCommon.py:3