test
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 
4 
11 
12 pileupJetIdCalculatorDQM=pileupJetIdCalculator.clone(
13  jets = cms.InputTag("ak4PFJets"),
14  jec = cms.string("AK4PF"),
15  applyJec = cms.bool(True),
16  inputIsCorrected = cms.bool(False)
17 )
18 
19 pileupJetIdEvaluatorDQM=pileupJetIdEvaluator.clone(
20  jets = cms.InputTag("ak4PFJets"),
21  jetids = cms.InputTag("pileupJetIdCalculatorDQM"),
22  jec = cms.string("AK4PF"),
23  applyJec = cms.bool(True),
24  inputIsCorrected = cms.bool(False)
25 )
26 
27 pileupJetIdCalculatorCHSDQM=pileupJetIdCalculator.clone(
28  applyJec = cms.bool(True),
29  inputIsCorrected = cms.bool(False),
30 )
31 
32 pileupJetIdEvaluatorCHSDQM=pileupJetIdEvaluator.clone(
33  jetids = cms.InputTag("pileupJetIdCalculatorCHSDQM"),
34  applyJec = cms.bool(True),
35  inputIsCorrected = cms.bool(False)
36  )
37 
38 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4CaloL2L3ResidualCorrectorChain,ak4CaloL2L3ResidualCorrector,ak4CaloResidualCorrector,ak4CaloL2L3Corrector,ak4CaloL3AbsoluteCorrector,ak4CaloL2RelativeCorrector
39 
40 dqmAk4CaloL2L3ResidualCorrector = ak4CaloL2L3ResidualCorrector.clone()
41 dqmAk4CaloL2L3ResidualCorrectorChain = cms.Sequence(
42  #ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*ak4CaloResidualCorrector*
43  dqmAk4CaloL2L3ResidualCorrector
44 )
45 
46 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFL1FastL2L3ResidualCorrectorChain,ak4PFL1FastL2L3ResidualCorrector,ak4PFCHSL1FastL2L3Corrector,ak4PFResidualCorrector,ak4PFL3AbsoluteCorrector,ak4PFL2RelativeCorrector,ak4PFL1FastjetCorrector
47 
48 dqmAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
49 dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
50  #ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*ak4CaloResidualCorrector*
51  dqmAk4PFCHSL1FastL2L3Corrector
52 )
53 
54 dqmAk4PFL1FastL2L3ResidualCorrector = ak4PFL1FastL2L3ResidualCorrector.clone()
55 dqmAk4PFL1FastL2L3ResidualCorrectorChain = cms.Sequence(
56  #ak4PFL1FastjetCorrector*ak4PFL2RelativeCorrector*ak4PFL3AbsoluteCorrector*ak4PFResidualCorrector*
57  dqmAk4PFL1FastL2L3ResidualCorrector
58 )
59 
60 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3ResidualCorrectorChain,ak4PFCHSL1FastL2L3ResidualCorrector,ak4PFCHSL1FastL2L3Corrector,ak4PFCHSResidualCorrector,ak4PFCHSL3AbsoluteCorrector,ak4PFCHSL2RelativeCorrector,ak4PFCHSL1FastjetCorrector
61 
62 dqmAk4PFCHSL1FastL2L3ResidualCorrector = ak4PFCHSL1FastL2L3ResidualCorrector.clone()
63 dqmAk4PFCHSL1FastL2L3ResidualCorrectorChain = cms.Sequence(
64  #ak4PFCHSL1FastjetCorrector*ak4PFCHSL2RelativeCorrector*ak4PFCHSL3AbsoluteCorrector*ak4PFCHSResidualCorrector
65  dqmAk4PFCHSL1FastL2L3ResidualCorrector
66 )
67 
68 dqmAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
69 dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
70  dqmAk4PFCHSL1FastL2L3Corrector
71 )
72 
73 jetPreDQMSeq=cms.Sequence(ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*ak4CaloResidualCorrector*
74  ak4PFL1FastjetCorrector*ak4PFL2RelativeCorrector*ak4PFL3AbsoluteCorrector*ak4PFResidualCorrector*
75  ak4PFCHSL1FastjetCorrector*ak4PFCHSL2RelativeCorrector*ak4PFCHSL3AbsoluteCorrector*ak4PFCHSResidualCorrector)
76 
80 
81 dqmCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = cms.InputTag('dqmAk4PFCHSL1FastL2L3Corrector'),
82  jetCorrLabelRes = cms.InputTag('dqmAk4PFCHSL1FastL2L3ResidualCorrector')
83  )
84 pfMETT1=pfMetT1.clone(srcCorrections = cms.VInputTag(
85  cms.InputTag('dqmCorrPfMetType1', 'type1')
86  ))
87 
88 jetMETDQMOfflineSource = cms.Sequence(HBHENoiseFilterResultProducer*goodOfflinePrimaryVerticesDQM*AnalyzeSUSYDQM*QGTagger*
89  pileupJetIdCalculatorCHSDQM*pileupJetIdEvaluatorCHSDQM*
90  pileupJetIdCalculatorDQM*pileupJetIdEvaluatorDQM*
91  jetPreDQMSeq*
92  dqmAk4CaloL2L3ResidualCorrectorChain*dqmAk4PFL1FastL2L3ResidualCorrectorChain*dqmAk4PFCHSL1FastL2L3ResidualCorrectorChain*dqmAk4PFCHSL1FastL2L3CorrectorChain*
93  dqmCorrPfMetType1*pfMETT1*
94  jetDQMAnalyzerSequence*METDQMAnalyzerSequence)
95 jetMETDQMOfflineSourceMiniAOD = cms.Sequence(goodOfflinePrimaryVerticesDQMforMiniAOD*jetDQMAnalyzerSequenceMiniAOD*METDQMAnalyzerSequenceMiniAOD)