Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-11 03:35:50

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.JetMET.metDQMConfig_cff     import *
0004 from DQMOffline.JetMET.jetAnalyzer_cff   import *
0005 from DQMOffline.JetMET.SUSYDQMAnalyzer_cfi  import *
0006 from DQMOffline.JetMET.goodOfflinePrimaryVerticesDQM_cfi import *
0007 from RecoJets.JetProducers.PileupJetID_cfi  import *
0008 from RecoJets.JetProducers.QGTagger_cfi  import *
0009 from RecoMET.METFilters.metFilters_cff  import *
0010 
0011 pileupJetIdCalculatorDQM=pileupJetIdCalculator.clone(
0012     jets = "ak4PFJets",
0013     jec = "AK4PF",
0014     applyJec = True,
0015     inputIsCorrected = False
0016 )
0017 
0018 pileupJetIdEvaluatorDQM=pileupJetIdEvaluator.clone(
0019     jets = "ak4PFJets",
0020     jetids = "pileupJetIdCalculatorDQM",
0021     jec = "AK4PF",
0022     applyJec = True,
0023     inputIsCorrected = False
0024 )
0025 
0026 pileupJetIdCalculatorCHSDQM=pileupJetIdCalculator.clone(
0027     applyJec = True,
0028     inputIsCorrected = False,
0029 )
0030 
0031 pileupJetIdEvaluatorCHSDQM=pileupJetIdEvaluator.clone(
0032     jetids = "pileupJetIdCalculatorCHSDQM",
0033     applyJec = True,
0034     inputIsCorrected = False
0035     )
0036 
0037 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4CaloL2L3CorrectorChain,ak4CaloResidualCorrector,ak4CaloL2L3Corrector,ak4CaloL3AbsoluteCorrector,ak4CaloL2RelativeCorrector
0038 
0039 dqmAk4CaloL2L3Corrector = ak4CaloL2L3Corrector.clone()
0040 dqmAk4CaloL2L3CorrectorChain = cms.Sequence(
0041     #ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*
0042     dqmAk4CaloL2L3Corrector
0043 )
0044 
0045 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFL1FastL2L3CorrectorChain,ak4PFL1FastL2L3Corrector,ak4PFL3AbsoluteCorrector,ak4PFL2RelativeCorrector,ak4PFL1FastjetCorrector
0046 
0047 dqmAk4PFL1FastL2L3Corrector = ak4PFL1FastL2L3Corrector.clone()
0048 dqmAk4PFL1FastL2L3CorrectorChain = cms.Sequence(
0049     #ak4PFL1FastjetCorrector*ak4PFL2RelativeCorrector*ak4PFL3AbsoluteCorrector*
0050     dqmAk4PFL1FastL2L3Corrector
0051 )
0052 
0053 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3CorrectorChain,ak4PFCHSL1FastL2L3Corrector,ak4PFCHSL3AbsoluteCorrector,ak4PFCHSL2RelativeCorrector,ak4PFCHSL1FastjetCorrector
0054 
0055 dqmAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
0056 dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
0057     #ak4PFCHSL1FastjetCorrector*ak4PFCHSL2RelativeCorrector*ak4PFCHSL3AbsoluteCorrector
0058     dqmAk4PFCHSL1FastL2L3Corrector
0059 )
0060 
0061 jetPreDQMTask = cms.Task(ak4CaloL2RelativeCorrector,
0062                          ak4CaloL3AbsoluteCorrector,
0063                          ak4PFL1FastjetCorrector,
0064                          ak4PFL2RelativeCorrector,
0065                          ak4PFL3AbsoluteCorrector,
0066                          ak4PFCHSL1FastjetCorrector,
0067                          ak4PFCHSL2RelativeCorrector,
0068                          ak4PFCHSL3AbsoluteCorrector
0069 )
0070 jetPreDQMSeq = cms.Sequence(jetPreDQMTask)
0071 
0072 from JetMETCorrections.Type1MET.correctedMet_cff import pfMetT1
0073 from JetMETCorrections.Type1MET.correctionTermsPfMetType0PFCandidate_cff import *
0074 from JetMETCorrections.Type1MET.correctionTermsPfMetType1Type2_cff import corrPfMetType1
0075 
0076 dqmCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = 'dqmAk4PFCHSL1FastL2L3Corrector',
0077                                        jetCorrLabelRes = 'dqmAk4PFCHSL1FastL2L3Corrector'
0078                                        )
0079 pfMETT1=pfMetT1.clone(srcCorrections = (
0080         'dqmCorrPfMetType1:type1',
0081     ))
0082 
0083 jetDQMAnalyzerAk4CaloUncleanedMC=jetDQMAnalyzerAk4CaloUncleaned.clone(JetCorrections  = "dqmAk4CaloL2L3Corrector")
0084 jetDQMAnalyzerAk4CaloCleanedMC=jetDQMAnalyzerAk4CaloCleaned.clone(JetCorrections    = "dqmAk4CaloL2L3Corrector")
0085 jetDQMAnalyzerAk4PFUncleanedMC=jetDQMAnalyzerAk4PFUncleaned.clone(JetCorrections    = "dqmAk4PFL1FastL2L3Corrector")
0086 jetDQMAnalyzerAk4PFCleanedMC=jetDQMAnalyzerAk4PFCleaned.clone(JetCorrections      = "dqmAk4PFL1FastL2L3Corrector")
0087 jetDQMAnalyzerAk4PFCHSCleanedMC=jetDQMAnalyzerAk4PFCHSCleaned.clone(JetCorrections   = "dqmAk4PFCHSL1FastL2L3Corrector")
0088 
0089 caloMetDQMAnalyzerMC=caloMetDQMAnalyzer.clone(JetCorrections    = "dqmAk4CaloL2L3Corrector")
0090 pfMetDQMAnalyzerMC=pfMetDQMAnalyzer.clone(JetCorrections      = "dqmAk4PFL1FastL2L3Corrector")
0091 pfMetT1DQMAnalyzerMC=pfMetT1DQMAnalyzer.clone(JetCorrections    = "dqmAk4PFCHSL1FastL2L3Corrector")
0092 
0093 jetMETDQMOfflineSource = cms.Sequence(cms.ignore(goodOfflinePrimaryVerticesDQM)*AnalyzeSUSYDQM*QGTagger*
0094                                       pileupJetIdCalculatorCHSDQM*pileupJetIdEvaluatorCHSDQM*
0095                                       pileupJetIdCalculatorDQM*pileupJetIdEvaluatorDQM*
0096                                       jetPreDQMSeq*
0097                                       dqmAk4CaloL2L3CorrectorChain*dqmAk4PFL1FastL2L3CorrectorChain*dqmAk4PFCHSL1FastL2L3CorrectorChain*
0098                                       dqmCorrPfMetType1*pfMETT1*
0099                                       jetDQMAnalyzerAk4CaloCleanedMC*jetDQMAnalyzerAk4PFUncleanedMC*jetDQMAnalyzerAk4PFCleanedMC*jetDQMAnalyzerAk4PFCHSCleanedMC*
0100                                       HBHENoiseFilterResultProducer*caloMetDQMAnalyzerMC*pfMetDQMAnalyzerMC*pfMetT1DQMAnalyzerMC)
0101 
0102 jetMETDQMOfflineRedoProductsMiniAOD = cms.Sequence(goodOfflinePrimaryVerticesDQMforMiniAOD)
0103 jetMETDQMOfflineSourceMiniAOD = cms.Sequence(jetDQMAnalyzerSequenceMiniAOD*METDQMAnalyzerSequenceMiniAOD)