CMS 3D CMS Logo

jetMETDQMOfflineSource_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
11 
12 HcalStripHaloFilterDQM=HcalStripHaloFilter.clone(taggingMode = True)
13 CSCTightHaloFilterDQM=CSCTightHaloFilter.clone(taggingMode = True)
14 CSCTightHalo2015FilterDQM=CSCTightHalo2015Filter.clone(taggingMode = True)
15 eeBadScFilterDQM=eeBadScFilter.clone(taggingMode = True)
16 EcalDeadCellTriggerPrimitiveFilterDQM=EcalDeadCellTriggerPrimitiveFilter.clone(taggingMode = True)
17 EcalDeadCellBoundaryEnergyFilterDQM=EcalDeadCellBoundaryEnergyFilter.clone(taggingMode = True)
18 
19 pileupJetIdCalculatorDQM=pileupJetIdCalculator.clone(
20  jets = "ak4PFJets",
21  jec = "AK4PF",
22  applyJec = True,
23  inputIsCorrected = False
24 )
25 
26 pileupJetIdEvaluatorDQM=pileupJetIdEvaluator.clone(
27  jets = "ak4PFJets",
28  jetids = "pileupJetIdCalculatorDQM",
29  jec = "AK4PF",
30  applyJec = True,
31  inputIsCorrected = False
32 )
33 
34 pileupJetIdCalculatorCHSDQM=pileupJetIdCalculator.clone(
35  applyJec = True,
36  inputIsCorrected = False
37 )
38 
39 pileupJetIdEvaluatorCHSDQM=pileupJetIdEvaluator.clone(
40  jetids = "pileupJetIdCalculatorCHSDQM",
41  applyJec = True,
42  inputIsCorrected = False
43  )
44 
45 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4CaloL2L3ResidualCorrectorChain,ak4CaloL2L3ResidualCorrector,ak4CaloResidualCorrector,ak4CaloL2L3Corrector,ak4CaloL3AbsoluteCorrector,ak4CaloL2RelativeCorrector
46 
47 dqmAk4CaloL2L3ResidualCorrector = ak4CaloL2L3ResidualCorrector.clone()
48 dqmAk4CaloL2L3ResidualCorrectorChain = cms.Sequence(
49  #ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*ak4CaloResidualCorrector*
50  dqmAk4CaloL2L3ResidualCorrector
51 )
52 
53 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFL1FastL2L3ResidualCorrectorChain,ak4PFL1FastL2L3ResidualCorrector,ak4PFCHSL1FastL2L3Corrector,ak4PFResidualCorrector,ak4PFL3AbsoluteCorrector,ak4PFL2RelativeCorrector,ak4PFL1FastjetCorrector
54 
55 dqmAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
56 dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
57  #ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*ak4CaloResidualCorrector*
58  dqmAk4PFCHSL1FastL2L3Corrector
59 )
60 
61 dqmAk4PFL1FastL2L3ResidualCorrector = ak4PFL1FastL2L3ResidualCorrector.clone()
62 dqmAk4PFL1FastL2L3ResidualCorrectorChain = cms.Sequence(
63  #ak4PFL1FastjetCorrector*ak4PFL2RelativeCorrector*ak4PFL3AbsoluteCorrector*ak4PFResidualCorrector*
64  dqmAk4PFL1FastL2L3ResidualCorrector
65 )
66 
67 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3ResidualCorrectorChain,ak4PFCHSL1FastL2L3ResidualCorrector,ak4PFCHSL1FastL2L3Corrector,ak4PFCHSResidualCorrector,ak4PFCHSL3AbsoluteCorrector,ak4PFCHSL2RelativeCorrector,ak4PFCHSL1FastjetCorrector
68 
69 dqmAk4PFCHSL1FastL2L3ResidualCorrector = ak4PFCHSL1FastL2L3ResidualCorrector.clone()
70 dqmAk4PFCHSL1FastL2L3ResidualCorrectorChain = cms.Sequence(
71  #ak4PFCHSL1FastjetCorrector*ak4PFCHSL2RelativeCorrector*ak4PFCHSL3AbsoluteCorrector*ak4PFCHSResidualCorrector
72  dqmAk4PFCHSL1FastL2L3ResidualCorrector
73 )
74 
75 dqmAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
76 dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
77  dqmAk4PFCHSL1FastL2L3Corrector
78 )
79 
80 HBHENoiseFilterResultProducerDQM=HBHENoiseFilterResultProducer.clone()
81 
82 jetPreDQMTask = cms.Task(ak4CaloL2RelativeCorrector,
83  ak4CaloL3AbsoluteCorrector,
84  ak4CaloResidualCorrector,
85  ak4PFL1FastjetCorrector,
86  ak4PFL2RelativeCorrector,
87  ak4PFL3AbsoluteCorrector,
88  ak4PFResidualCorrector,
89  ak4PFCHSL1FastjetCorrector,
90  ak4PFCHSL2RelativeCorrector,
91  ak4PFCHSL3AbsoluteCorrector,
92  ak4PFCHSResidualCorrector
93 )
94 jetPreDQMSeq=cms.Sequence(jetPreDQMTask)
95 
96 from JetMETCorrections.Type1MET.correctedMet_cff import pfMetT1
99 
100 dqmCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = cms.InputTag('dqmAk4PFCHSL1FastL2L3Corrector'),
101  jetCorrLabelRes = cms.InputTag('dqmAk4PFCHSL1FastL2L3ResidualCorrector')
102  )
103 pfMETT1=pfMetT1.clone(srcCorrections = (
104  'dqmCorrPfMetType1:type1',
105  ))
106 
107 jetMETDQMOfflineSource = cms.Sequence(AnalyzeSUSYDQM*QGTagger*
108  pileupJetIdCalculatorCHSDQM*pileupJetIdEvaluatorCHSDQM*
109  pileupJetIdCalculatorDQM*pileupJetIdEvaluatorDQM*
110  jetPreDQMSeq*
111  dqmAk4CaloL2L3ResidualCorrectorChain*dqmAk4PFL1FastL2L3ResidualCorrectorChain*dqmAk4PFCHSL1FastL2L3ResidualCorrectorChain*dqmAk4PFCHSL1FastL2L3CorrectorChain*
112  cms.ignore(goodOfflinePrimaryVerticesDQM)*
113  dqmCorrPfMetType1*pfMETT1*jetDQMAnalyzerSequence*HBHENoiseFilterResultProducer*
114  cms.ignore(CSCTightHaloFilterDQM)*cms.ignore(CSCTightHalo2015FilterDQM)*cms.ignore(eeBadScFilterDQM)*cms.ignore(EcalDeadCellTriggerPrimitiveFilterDQM)*cms.ignore(EcalDeadCellBoundaryEnergyFilterDQM)*cms.ignore(HcalStripHaloFilterDQM)
115  *METDQMAnalyzerSequence
116  *pfCandidateDQMAnalyzer)
117 
118 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
119 
120 jetMETDQMOfflineRedoProductsMiniAOD = cms.Sequence(cms.ignore(goodOfflinePrimaryVerticesDQMforMiniAOD))
121 
122 jetMETDQMOfflineSourceMiniAOD = cms.Sequence(jetDQMAnalyzerSequenceMiniAOD*METDQMAnalyzerSequenceMiniAOD*packedCandidateDQMAnalyzerMiniAOD)