CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 jetPreDQMSeq=cms.Sequence(ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*
62  ak4PFL1FastjetCorrector*ak4PFL2RelativeCorrector*ak4PFL3AbsoluteCorrector*
63  ak4PFCHSL1FastjetCorrector*ak4PFCHSL2RelativeCorrector*ak4PFCHSL3AbsoluteCorrector)
64 
68 
69 dqmCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = cms.InputTag('dqmAk4PFCHSL1FastL2L3Corrector'),
70  jetCorrLabelRes = cms.InputTag('dqmAk4PFCHSL1FastL2L3Corrector')
71  )
72 pfMETT1=pfMetT1.clone(srcCorrections = cms.VInputTag(
73  cms.InputTag('dqmCorrPfMetType1', 'type1')
74  ))
75 
76 jetDQMAnalyzerAk4CaloUncleanedMC=jetDQMAnalyzerAk4CaloUncleaned.clone(JetCorrections = cms.InputTag("dqmAk4CaloL2L3Corrector"))
77 jetDQMAnalyzerAk4CaloCleanedMC=jetDQMAnalyzerAk4CaloCleaned.clone(JetCorrections = cms.InputTag("dqmAk4CaloL2L3Corrector"))
78 jetDQMAnalyzerAk4PFUncleanedMC=jetDQMAnalyzerAk4PFUncleaned.clone(JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3Corrector"))
79 jetDQMAnalyzerAk4PFCleanedMC=jetDQMAnalyzerAk4PFCleaned.clone(JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3Corrector"))
80 jetDQMAnalyzerAk4PFCHSCleanedMC=jetDQMAnalyzerAk4PFCHSCleaned.clone(JetCorrections = cms.InputTag("dqmAk4PFCHSL1FastL2L3Corrector"))
81 
82 caloMetDQMAnalyzerMC=caloMetDQMAnalyzer.clone(JetCorrections = cms.InputTag("dqmAk4CaloL2L3Corrector"))
83 pfMetDQMAnalyzerMC=pfMetDQMAnalyzer.clone(JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3Corrector"))
84 pfMetT1DQMAnalyzerMC=pfMetT1DQMAnalyzer.clone(JetCorrections = cms.InputTag("dqmAk4PFCHSL1FastL2L3Corrector"))
85 
86 jetMETDQMOfflineSource = cms.Sequence(goodOfflinePrimaryVerticesDQM*AnalyzeSUSYDQM*QGTagger*
87  pileupJetIdCalculatorCHSDQM*pileupJetIdEvaluatorCHSDQM*
88  pileupJetIdCalculatorDQM*pileupJetIdEvaluatorDQM*
89  jetPreDQMSeq*
90  dqmAk4CaloL2L3CorrectorChain*dqmAk4PFL1FastL2L3CorrectorChain*dqmAk4PFCHSL1FastL2L3CorrectorChain*
91  dqmCorrPfMetType1*pfMETT1*
92  jetDQMAnalyzerAk4CaloCleanedMC*jetDQMAnalyzerAk4PFUncleanedMC*jetDQMAnalyzerAk4PFCleanedMC*jetDQMAnalyzerAk4PFCHSCleanedMC*
93  HBHENoiseFilterResultProducer*caloMetDQMAnalyzerMC*pfMetDQMAnalyzerMC*pfMetT1DQMAnalyzerMC)
94 
95 jetMETDQMOfflineSourceMiniAOD = cms.Sequence(goodOfflinePrimaryVerticesDQMforMiniAOD*jetDQMAnalyzerSequenceMiniAOD*METDQMAnalyzerSequenceMiniAOD)