1 from builtins
import range
2 import FWCore.ParameterSet.Config
as cms
3 from DQMOffline.L1Trigger.L1THistDefinitions_cff
import histDefinitions
5 electronEfficiencyThresholds = [34, 36, 38, 40, 42]
7 electronEfficiencyBins = []
8 electronEfficiencyBins.extend(
list(range(2, 42, 2)))
9 electronEfficiencyBins.extend(
list(range(42, 45, 3)))
10 electronEfficiencyBins.extend(
list(range(45, 50, 5)))
11 electronEfficiencyBins.extend(
list(range(50, 70, 10)))
12 electronEfficiencyBins.extend(
list(range(70, 101, 30)))
16 deepInspectionElectronThresholds = [48, 50]
23 photonEfficiencyThresholds = electronEfficiencyThresholds
24 photonEfficiencyBins = electronEfficiencyBins
26 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
29 electronCollection=cms.InputTag(
"gedGsfElectrons"),
30 photonCollection=cms.InputTag(
"photons"),
31 caloJetCollection=cms.InputTag(
"ak4CaloJets"),
32 caloMETCollection=cms.InputTag(
"caloMet"),
33 conversionsCollection=cms.InputTag(
"allConversions"),
34 PVCollection=cms.InputTag(
"offlinePrimaryVerticesWithBS"),
35 beamSpotCollection=cms.InputTag(
"offlineBeamSpot"),
37 triggerInputTag=cms.InputTag(
'hltTriggerSummaryAOD',
'',
'HLT'),
38 triggerProcess=cms.string(
'HLT'),
39 triggerResults=cms.InputTag(
'TriggerResults',
'',
'HLT'),
40 triggerNames = cms.vstring(
41 'HLT_Ele32_WPTight_Gsf_v*',
44 stage2CaloLayer2EGammaSource=cms.InputTag(
"caloStage2Digis",
"EGamma"),
46 histFolder=cms.string(
'L1T/L1TObjects/L1TEGamma/L1TriggerVsReco'),
48 electronEfficiencyThresholds=cms.vdouble(electronEfficiencyThresholds),
49 electronEfficiencyBins=cms.vdouble(electronEfficiencyBins),
50 probeToL1Offset=cms.double(probeToL1Offset),
51 deepInspectionElectronThresholds=cms.vdouble(deepInspectionElectronThresholds),
53 photonEfficiencyThresholds=cms.vdouble(photonEfficiencyThresholds),
54 photonEfficiencyBins=cms.vdouble(photonEfficiencyBins),
55 maxDeltaRForL1Matching=cms.double(0.3),
56 maxDeltaRForHLTMatching=cms.double(0.3),
57 recoToL1TThresholdFactor=cms.double(1.25),
59 histDefinitions=cms.PSet(
60 nVertex=histDefinitions.nVertex.clone(),
61 ETvsET=histDefinitions.ETvsET.clone(),
62 PHIvsPHI=histDefinitions.PHIvsPHI.clone(),
67 electronEfficiencyThresholds_HI = [5, 10, 15, 21]
68 deepInspectionElectronThresholds_HI = [15]
70 electronEfficiencyBins_HI = []
71 electronEfficiencyBins_HI.extend(
list(range(1, 26, 1)))
72 electronEfficiencyBins_HI.extend(
list(range(26, 42, 2)))
73 electronEfficiencyBins_HI.extend(
list(range(42, 45, 3)))
74 electronEfficiencyBins_HI.extend(
list(range(45, 50, 5)))
75 electronEfficiencyBins_HI.extend(
list(range(50, 70, 10)))
76 electronEfficiencyBins_HI.extend(
list(range(70, 101, 30)))
78 photonEfficiencyThresholds_HI = electronEfficiencyThresholds_HI
79 photonEfficiencyBins_HI = electronEfficiencyBins_HI
81 from Configuration.Eras.Modifier_ppRef_2017_cff
import ppRef_2017
84 TriggerFilter=cms.InputTag(
'hltEle20WPLoose1GsfTrackIsoFilter',
'',
'HLT'),
85 TriggerPath=cms.string(
'HLT_Ele20_WPLoose_Gsf_v4'),
86 electronEfficiencyThresholds=cms.vdouble(electronEfficiencyThresholds_HI),
87 electronEfficiencyBins=cms.vdouble(electronEfficiencyBins_HI),
88 deepInspectionElectronThresholds=cms.vdouble(deepInspectionElectronThresholds_HI),
89 photonEfficiencyThresholds=cms.vdouble(photonEfficiencyThresholds_HI),
90 photonEfficiencyBins=cms.vdouble(photonEfficiencyBins_HI)
94 l1tEGammaOfflineDQMEmu = l1tEGammaOfflineDQM.clone(
95 stage2CaloLayer2EGammaSource=cms.InputTag(
"simCaloStage2Digis"),
97 histFolder=cms.string(
'L1TEMU/L1TObjects/L1TEGamma/L1TriggerVsReco'),
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