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.
2 
4 
9 
12 
13 pileupJetIdCalculatorDQM=pileupJetIdCalculator.clone(
14  jets = cms.InputTag("ak4PFJets"),
15  jec = cms.string("AK4PF"),
16  applyJec = cms.bool(True),
17  inputIsCorrected = cms.bool(False)
18 )
19 
20 pileupJetIdEvaluatorDQM=pileupJetIdEvaluator.clone(
21  jets = cms.InputTag("ak4PFJets"),
22  jetids = cms.InputTag("pileupJetIdCalculatorDQM"),
23  jec = cms.string("AK4PF"),
24  applyJec = cms.bool(True),
25  inputIsCorrected = cms.bool(False)
26 )
27 
28 pileupJetIdCalculatorCHSDQM=pileupJetIdCalculator.clone(
29  applyJec = cms.bool(True),
30  inputIsCorrected = cms.bool(False),
31 )
32 
33 pileupJetIdEvaluatorCHSDQM=pileupJetIdEvaluator.clone(
34  jetids = cms.InputTag("pileupJetIdCalculatorCHSDQM"),
35  applyJec = cms.bool(True),
36  inputIsCorrected = cms.bool(False)
37  )
38 
39 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4CaloL2L3CorrectorChain,ak4CaloResidualCorrector,ak4CaloL2L3Corrector,ak4CaloL3AbsoluteCorrector,ak4CaloL2RelativeCorrector
40 
41 dqmAk4CaloL2L3Corrector = ak4CaloL2L3Corrector.clone()
42 dqmAk4CaloL2L3CorrectorChain = cms.Sequence(
43  #ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*
44  dqmAk4CaloL2L3Corrector
45 )
46 
47 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFL1FastL2L3CorrectorChain,ak4PFL1FastL2L3Corrector,ak4PFL3AbsoluteCorrector,ak4PFL2RelativeCorrector,ak4PFL1FastjetCorrector
48 
49 dqmAk4PFL1FastL2L3Corrector = ak4PFL1FastL2L3Corrector.clone()
50 dqmAk4PFL1FastL2L3CorrectorChain = cms.Sequence(
51  #ak4PFL1FastjetCorrector*ak4PFL2RelativeCorrector*ak4PFL3AbsoluteCorrector*
52  dqmAk4PFL1FastL2L3Corrector
53 )
54 
55 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3CorrectorChain,ak4PFCHSL1FastL2L3Corrector,ak4PFCHSL3AbsoluteCorrector,ak4PFCHSL2RelativeCorrector,ak4PFCHSL1FastjetCorrector
56 
57 dqmAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
58 dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
59  #ak4PFCHSL1FastjetCorrector*ak4PFCHSL2RelativeCorrector*ak4PFCHSL3AbsoluteCorrector
60  dqmAk4PFCHSL1FastL2L3Corrector
61 )
62 
63 jetPreDQMSeq=cms.Sequence(ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*
64  ak4PFL1FastjetCorrector*ak4PFL2RelativeCorrector*ak4PFL3AbsoluteCorrector*
65  ak4PFCHSL1FastjetCorrector*ak4PFCHSL2RelativeCorrector*ak4PFCHSL3AbsoluteCorrector)
66 
70 
71 dqmCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = cms.InputTag('dqmAk4PFCHSL1FastL2L3Corrector'),
72  jetCorrLabelRes = cms.InputTag('dqmAk4PFCHSL1FastL2L3Corrector')) #residuals not used for simulation anyway
73 pfMETT1=pfMetT1.clone(srcCorrections = cms.VInputTag(
74  cms.InputTag('dqmCorrPfMetType1', 'type1')
75  ))
76 
77 jetDQMAnalyzerAk4CaloUncleanedMC=jetDQMAnalyzerAk4CaloUncleaned.clone(JetCorrections = cms.InputTag("dqmAk4CaloL2L3Corrector"))
78 jetDQMAnalyzerAk4CaloCleanedMC=jetDQMAnalyzerAk4CaloCleaned.clone(JetCorrections = cms.InputTag("dqmAk4CaloL2L3Corrector"))
79 jetDQMAnalyzerAk4PFUncleanedMC=jetDQMAnalyzerAk4PFUncleaned.clone(JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3Corrector"))
80 jetDQMAnalyzerAk4PFCleanedMC=jetDQMAnalyzerAk4PFCleaned.clone(JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3Corrector"))
81 jetDQMAnalyzerAk4PFCHSCleanedMC=jetDQMAnalyzerAk4PFCHSCleaned.clone(JetCorrections = cms.InputTag("dqmAk4PFCHSL1FastL2L3Corrector"))
82 
83 caloMetDQMAnalyzerMC=caloMetDQMAnalyzer.clone(JetCorrections = cms.InputTag("dqmAk4CaloL2L3Corrector"))
84 pfMetDQMAnalyzerMC=pfMetDQMAnalyzer.clone(JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3Corrector"))
85 pfMetT1DQMAnalyzerMC=pfMetT1DQMAnalyzer.clone(JetCorrections = cms.InputTag("dqmAk4PFCHSL1FastL2L3Corrector"))
86 
87 jetMETDQMOfflineSource = cms.Sequence(HBHENoiseFilterResultProducer*goodOfflinePrimaryVerticesDQM*AnalyzeSUSYDQM*QGTagger*
88  pileupJetIdCalculatorCHSDQM*pileupJetIdEvaluatorCHSDQM*
89  pileupJetIdCalculatorDQM*pileupJetIdEvaluatorDQM*
90  jetPreDQMSeq*
91  dqmAk4CaloL2L3CorrectorChain*dqmAk4PFL1FastL2L3CorrectorChain*dqmAk4PFCHSL1FastL2L3CorrectorChain*
92  dqmCorrPfMetType1*pfMETT1*
93  jetDQMAnalyzerAk4CaloCleanedMC*jetDQMAnalyzerAk4PFUncleanedMC*jetDQMAnalyzerAk4PFCleanedMC*jetDQMAnalyzerAk4PFCHSCleanedMC*
94  caloMetDQMAnalyzerMC*pfMetDQMAnalyzerMC*pfMetT1DQMAnalyzerMC)
95 
96 jetMETDQMOfflineSourceMiniAOD = cms.Sequence(goodOfflinePrimaryVerticesDQMforMiniAOD*jetDQMAnalyzerSequenceMiniAOD*METDQMAnalyzerSequenceMiniAOD)