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