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 =
"simCaloStage2Digis",
96 histFolder =
'L1TEMU/L1TObjects/L1TEGamma/L1TriggerVsReco'