CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
jetMETDQMOfflineSourceMC_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
10 
11 pileupJetIdCalculatorDQM=pileupJetIdCalculator.clone(
12  jets = cms.InputTag("ak4PFJets"),
13  jec = cms.string("AK4PF"),
14  applyJec = cms.bool(True),
15  inputIsCorrected = cms.bool(False)
16 )
17 
18 pileupJetIdEvaluatorDQM=pileupJetIdEvaluator.clone(
19  jets = cms.InputTag("ak4PFJets"),
20  jetids = cms.InputTag("pileupJetIdCalculatorDQM"),
21  jec = cms.string("AK4PF"),
22  applyJec = cms.bool(True),
23  inputIsCorrected = cms.bool(False)
24 )
25 
26 pileupJetIdCalculatorCHSDQM=pileupJetIdCalculator.clone(
27  applyJec = cms.bool(True),
28  inputIsCorrected = cms.bool(False),
29 )
30 
31 pileupJetIdEvaluatorCHSDQM=pileupJetIdEvaluator.clone(
32  jetids = cms.InputTag("pileupJetIdCalculatorCHSDQM"),
33  applyJec = cms.bool(True),
34  inputIsCorrected = cms.bool(False)
35  )
36 
37 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4CaloL2L3CorrectorChain,ak4CaloResidualCorrector,ak4CaloL2L3Corrector,ak4CaloL3AbsoluteCorrector,ak4CaloL2RelativeCorrector
38 
39 dqmAk4CaloL2L3Corrector = ak4CaloL2L3Corrector.clone()
40 dqmAk4CaloL2L3CorrectorChain = cms.Sequence(
41  #ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*
42  dqmAk4CaloL2L3Corrector
43 )
44 
45 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFL1FastL2L3CorrectorChain,ak4PFL1FastL2L3Corrector,ak4PFL3AbsoluteCorrector,ak4PFL2RelativeCorrector,ak4PFL1FastjetCorrector
46 
47 dqmAk4PFL1FastL2L3Corrector = ak4PFL1FastL2L3Corrector.clone()
48 dqmAk4PFL1FastL2L3CorrectorChain = cms.Sequence(
49  #ak4PFL1FastjetCorrector*ak4PFL2RelativeCorrector*ak4PFL3AbsoluteCorrector*
50  dqmAk4PFL1FastL2L3Corrector
51 )
52 
53 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3CorrectorChain,ak4PFCHSL1FastL2L3Corrector,ak4PFCHSL3AbsoluteCorrector,ak4PFCHSL2RelativeCorrector,ak4PFCHSL1FastjetCorrector
54 
55 dqmAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
56 dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
57  #ak4PFCHSL1FastjetCorrector*ak4PFCHSL2RelativeCorrector*ak4PFCHSL3AbsoluteCorrector
58  dqmAk4PFCHSL1FastL2L3Corrector
59 )
60 
61 jetPreDQMTask = cms.Task(ak4CaloL2RelativeCorrector,
62  ak4CaloL3AbsoluteCorrector,
63  ak4PFL1FastjetCorrector,
64  ak4PFL2RelativeCorrector,
65  ak4PFL3AbsoluteCorrector,
66  ak4PFCHSL1FastjetCorrector,
67  ak4PFCHSL2RelativeCorrector,
68  ak4PFCHSL3AbsoluteCorrector
69 )
70 jetPreDQMSeq = cms.Sequence(jetPreDQMTask)
71 
72 from JetMETCorrections.Type1MET.correctedMet_cff import pfMetT1
75 
76 dqmCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = cms.InputTag('dqmAk4PFCHSL1FastL2L3Corrector'),
77  jetCorrLabelRes = cms.InputTag('dqmAk4PFCHSL1FastL2L3Corrector')
78  )
79 pfMETT1=pfMetT1.clone(srcCorrections = cms.VInputTag(
80  cms.InputTag('dqmCorrPfMetType1', 'type1')
81  ))
82 
83 jetDQMAnalyzerAk4CaloUncleanedMC=jetDQMAnalyzerAk4CaloUncleaned.clone(JetCorrections = cms.InputTag("dqmAk4CaloL2L3Corrector"))
84 jetDQMAnalyzerAk4CaloCleanedMC=jetDQMAnalyzerAk4CaloCleaned.clone(JetCorrections = cms.InputTag("dqmAk4CaloL2L3Corrector"))
85 jetDQMAnalyzerAk4PFUncleanedMC=jetDQMAnalyzerAk4PFUncleaned.clone(JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3Corrector"))
86 jetDQMAnalyzerAk4PFCleanedMC=jetDQMAnalyzerAk4PFCleaned.clone(JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3Corrector"))
87 jetDQMAnalyzerAk4PFCHSCleanedMC=jetDQMAnalyzerAk4PFCHSCleaned.clone(JetCorrections = cms.InputTag("dqmAk4PFCHSL1FastL2L3Corrector"))
88 
89 caloMetDQMAnalyzerMC=caloMetDQMAnalyzer.clone(JetCorrections = cms.InputTag("dqmAk4CaloL2L3Corrector"))
90 pfMetDQMAnalyzerMC=pfMetDQMAnalyzer.clone(JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3Corrector"))
91 pfMetT1DQMAnalyzerMC=pfMetT1DQMAnalyzer.clone(JetCorrections = cms.InputTag("dqmAk4PFCHSL1FastL2L3Corrector"))
92 
93 jetMETDQMOfflineSource = cms.Sequence(cms.ignore(goodOfflinePrimaryVerticesDQM)*AnalyzeSUSYDQM*QGTagger*
94  pileupJetIdCalculatorCHSDQM*pileupJetIdEvaluatorCHSDQM*
95  pileupJetIdCalculatorDQM*pileupJetIdEvaluatorDQM*
96  jetPreDQMSeq*
97  dqmAk4CaloL2L3CorrectorChain*dqmAk4PFL1FastL2L3CorrectorChain*dqmAk4PFCHSL1FastL2L3CorrectorChain*
98  dqmCorrPfMetType1*pfMETT1*
99  jetDQMAnalyzerAk4CaloCleanedMC*jetDQMAnalyzerAk4PFUncleanedMC*jetDQMAnalyzerAk4PFCleanedMC*jetDQMAnalyzerAk4PFCHSCleanedMC*
100  HBHENoiseFilterResultProducer*caloMetDQMAnalyzerMC*pfMetDQMAnalyzerMC*pfMetT1DQMAnalyzerMC)
101 
102 jetMETDQMOfflineRedoProductsMiniAOD = cms.Sequence(goodOfflinePrimaryVerticesDQMforMiniAOD)
103 jetMETDQMOfflineSourceMiniAOD = cms.Sequence(jetDQMAnalyzerSequenceMiniAOD*METDQMAnalyzerSequenceMiniAOD)