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