1 import FWCore.ParameterSet.Config
as cms
9 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
11 METType=cms.untracked.string(
'calo'),
12 srcPFlow = cms.InputTag(
'particleFlow',
''),
13 l1algoname = cms.string(
"L1Tech_BPTX_plus_AND_minus.v0"),
14 METCollectionLabel = cms.InputTag(
"caloMet"),
15 JetCollectionLabel = cms.InputTag(
"ak4CaloJets"),
16 JetCorrections = cms.InputTag(
"dqmAk4PFL1FastL2L3ResidualCorrector"),
17 muonsrc = cms.InputTag(
"muons"),
19 ptMinCand = cms.double(1.),
20 hcalMin =cms.double(1.),
22 InputJetIDValueMap = cms.InputTag(
"ak4JetID"),
23 ptThreshold =cms.double(30),
25 FolderName = cms.untracked.string(
"JetMET/MET/"),
27 fillMetHighLevel = cms.bool(
True),
29 fillCandidateMaps = cms.bool(
False),
31 CleaningParameters = cleaningParameters.clone(
32 bypassAllPVChecks =
True,
34 METDiagonisticsParameters = multPhiCorr_METDiagnostics,
36 TriggerResultsLabel = cms.InputTag(
"TriggerResults::HLT"),
37 FilterResultsLabelMiniAOD = cms.InputTag(
"TriggerResults::RECO"),
38 FilterResultsLabelMiniAOD2 = cms.InputTag(
"TriggerResults::reRECO"),
40 onlyCleaned = cms.untracked.bool(
True),
41 runcosmics = cms.untracked.bool(
False),
43 LSBegin = cms.int32(0),
44 LSEnd = cms.int32(-1),
49 triggerSelectedSubFolders = cms.VPSet(
50 cms.PSet( label = cms.string(
'highPtJet'),
51 andOr = cms.bool(
False ),
52 dbLabel = cms.string(
"JetMETDQMTrigger"),
53 hltInputTag = cms.InputTag(
"TriggerResults::HLT" ),
55 hltPaths = cms.vstring(
'HLT_PFJet450_v*' ),
56 andOrHlt = cms.bool(
True ),
57 errorReplyHlt = cms.bool(
False ),
58 stage2 = cms.bool(
False),
59 l1tAlgBlkInputTag = cms.InputTag(
"gtStage2Digis"),
60 l1tExtBlkInputTag = cms.InputTag(
"gtStage2Digis"),
61 ReadPrescalesFromFile = cms.bool(
False),
63 cms.PSet(label = cms.string(
'lowPtJet'),
64 andOr = cms.bool(
False ),
65 dbLabel = cms.string(
"JetMETDQMTrigger"),
66 hltInputTag = cms.InputTag(
"TriggerResults::HLT" ),
68 hltPaths = cms.vstring(
'HLT_PFJet80_v*' ),
69 andOrHlt = cms.bool(
True ),
70 errorReplyHlt = cms.bool(
True ),
71 stage2 = cms.bool(
False),
72 l1tAlgBlkInputTag = cms.InputTag(
"gtStage2Digis"),
73 l1tExtBlkInputTag = cms.InputTag(
"gtStage2Digis"),
74 ReadPrescalesFromFile = cms.bool(
False),
76 cms.PSet(label = cms.string(
'zeroBias'),
77 andOr = cms.bool(
False ),
78 dbLabel = cms.string(
"JetMETDQMTrigger"),
79 hltInputTag = cms.InputTag(
"TriggerResults::HLT" ),
81 hltPaths = cms.vstring(
'HLT_ZeroBias_v*' ),
82 andOrHlt = cms.bool(
True ),
83 errorReplyHlt = cms.bool(
False ),
84 stage2 = cms.bool(
False),
85 l1tAlgBlkInputTag = cms.InputTag(
"gtStage2Digis"),
86 l1tExtBlkInputTag = cms.InputTag(
"gtStage2Digis"),
87 ReadPrescalesFromFile = cms.bool(
False),
89 cms.PSet(label = cms.string(
'highMET'),
90 andOr = cms.bool(
False ),
91 dbLabel = cms.string(
"JetMETDQMTrigger"),
92 hltInputTag = cms.InputTag(
"TriggerResults::HLT" ),
94 hltPaths = cms.vstring(
'HLT_MET250_v*' ),
95 andOrHlt = cms.bool(
True ),
96 errorReplyHlt = cms.bool(
False ),
97 stage2 = cms.bool(
False),
98 l1tAlgBlkInputTag = cms.InputTag(
"gtStage2Digis"),
99 l1tExtBlkInputTag = cms.InputTag(
"gtStage2Digis"),
100 ReadPrescalesFromFile = cms.bool(
False),
111 cms.PSet(label = cms.string(
'singleMu'),
112 andOr = cms.bool(
False ),
113 dbLabel = cms.string(
"JetMETDQMTrigger"),
114 hltInputTag = cms.InputTag(
"TriggerResults::HLT" ),
116 hltPaths = cms.vstring(
'HLT_IsoMu24_eta2p1_v*',
'HLT_IsoMu27_v*'),
117 andOrHlt = cms.bool(
True ),
118 errorReplyHlt = cms.bool(
False ),
119 stage2 = cms.bool(
False),
120 l1tAlgBlkInputTag = cms.InputTag(
"gtStage2Digis"),
121 l1tExtBlkInputTag = cms.InputTag(
"gtStage2Digis"),
122 ReadPrescalesFromFile = cms.bool(
False),
126 HBHENoiseLabelMiniAOD = cms.string(
"Flag_HBHENoiseFilter"),
127 HBHEIsoNoiseLabelMiniAOD = cms.string(
"Flag_HBHEIsoNoiseFilter"),
129 HcalNoiseRBXCollection = cms.InputTag(
"hcalnoise"),
130 HBHENoiseFilterResultLabel = cms.InputTag(
"HBHENoiseFilterResultProducer",
"HBHENoiseFilterResult"),
131 HBHENoiseIsoFilterResultLabel = cms.InputTag(
"HBHENoiseFilterResultProducer",
"HBHEIsoNoiseFilterResult"),
132 CSCHaloResultLabel = cms.InputTag(
"CSCTightHaloFilterDQM"),
133 CSCHalo2015ResultLabel = cms.InputTag(
"CSCTightHalo2015FilterDQM"),
134 EcalDeadCellTriggerPrimitiveFilterLabel = cms.InputTag(
"EcalDeadCellTriggerPrimitiveFilterDQM"),
135 EcalDeadCellBoundaryEnergyFilterLabel = cms.InputTag(
"EcalDeadCellBoundaryEnergyFilterDQM"),
136 eeBadScFilterLabel = cms.InputTag(
"eeBadScFilterDQM"),
137 HcalStripHaloFilterLabel = cms.InputTag(
"HcalStripHaloFilterDQM"),
140 pVBin = cms.int32(100),
141 pVMax = cms.double(100.0),
142 pVMin = cms.double(0.0),
144 verbose = cms.int32(0),
148 DCSFilter = cms.PSet(
149 DetectorTypes = cms.untracked.string(
"ecal:hbhe:hf"),
151 Filter = cms.untracked.bool(
True)
158 from Configuration.Eras.Modifier_stage2L1Trigger_cff
import stage2L1Trigger
159 stage2L1Trigger.toModify(caloMetDQMAnalyzer,
160 triggerSelectedSubFolders = {i: dict(stage2 =
True,
161 l1tAlgBlkInputTag =
"gtStage2Digis",
162 l1tExtBlkInputTag =
"gtStage2Digis",
163 ReadPrescalesFromFile =
True)
for i
in range(0, len(caloMetDQMAnalyzer.triggerSelectedSubFolders))})
165 pfMetDQMAnalyzer = caloMetDQMAnalyzer.clone(
167 METCollectionLabel =
"pfMet",
168 srcPFlow =
'particleFlow',
169 JetCollectionLabel =
"ak4PFJets",
170 JetCorrections =
"dqmAk4PFL1FastL2L3ResidualCorrector",
171 CleaningParameters = cleaningParameters.clone(
172 bypassAllPVChecks =
False,
174 fillMetHighLevel =
False,
175 fillCandidateMaps =
True,
179 DCSFilter = cms.PSet(
180 DetectorTypes = cms.untracked.string(
"ecal:hbhe:hf:pixel:sistrip:es:muon"),
182 Filter = cms.untracked.bool(
True)
185 pfChMetDQMAnalyzer = pfMetDQMAnalyzer.clone(
186 METCollectionLabel =
"pfChMet",
187 fillCandidateMaps =
False,
194 pfMetT1DQMAnalyzer = caloMetDQMAnalyzer.clone(
196 METCollectionLabel =
"pfMETT1",
197 srcPFlow =
'particleFlow',
198 JetCollectionLabel =
"ak4PFJetsCHS",
199 JetCorrections =
"dqmAk4PFCHSL1FastL2L3ResidualCorrector",
200 CleaningParameters = cleaningParameters.clone(
201 bypassAllPVChecks =
False,
203 fillMetHighLevel =
False,
204 fillCandidateMaps =
False,
206 DetectorTypes =
"ecal:hbhe:hf:pixel:sistrip:es:muon",
210 pfMetPUPPIDQMAnalyzer = pfMetDQMAnalyzer.clone(
212 METCollectionLabel =
"pfMetPuppi",
213 JetCollectionLabel =
"ak4PFJetsPuppi",
214 JetCorrections =
"dqmAk4PuppiL2L3ResidualCorrector",
216 pfMetDQMAnalyzerMiniAOD = pfMetDQMAnalyzer.clone(
217 fillMetHighLevel =
True,
218 fillCandidateMaps =
False,
219 srcPFlow =
'packedPFCandidates',
220 METDiagonisticsParameters = multPhiCorr_METDiagnosticsMiniAOD,
221 CleaningParameters = cleaningParameters.clone(
222 vertexCollection =
"goodOfflinePrimaryVerticesDQMforMiniAOD",
225 METCollectionLabel =
"slimmedMETs",
226 JetCollectionLabel =
"slimmedJets",
229 pfPuppiMetDQMAnalyzerMiniAOD = pfMetDQMAnalyzerMiniAOD.clone(
230 fillMetHighLevel =
False,
231 fillCandidateMaps =
True,
233 METCollectionLabel =
"slimmedMETsPuppi",
234 JetCollectionLabel =
"slimmedJetsPuppi",