CMS 3D CMS Logo

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