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 )
def generateEfficiencyStrings(variables, plots)
Definition: L1TCommon.py:3
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run