Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # File: JetValidation_cff.py
0004 # Author : Chiyoung Jeong
0005 # Date : Mar 17 2009
0006 # Description : cff file for DQM offline vladation
0007 
0008 
0009 from RecoJets.Configuration.RecoJetAssociations_cff import *
0010 
0011 from Validation.RecoJets.JetValidation_cfi import *
0012 
0013 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4CaloL2L3CorrectorChain,ak4CaloL2L3Corrector,ak4CaloL3AbsoluteCorrector,ak4CaloL2RelativeCorrector
0014 
0015 newAk4CaloL2L3Corrector = ak4CaloL2L3Corrector.clone()
0016 newAk4CaloL2L3CorrectorChain = cms.Sequence(
0017     #ak4CaloL2RelativeCorrector * ak4CaloL3AbsoluteCorrector * 
0018     newAk4CaloL2L3Corrector
0019 )
0020 
0021 #from JetMETCorrections.Configuration.JetCorrectionServicesAllAlgos_cff import ak7CaloL2L3,ak7CaloL2Relative,ak7CaloL3Absolute
0022 #newAk7CaloL2L3 = ak7CaloL2L3.clone()
0023 
0024 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFL1FastL2L3CorrectorChain,ak4PFL1FastL2L3Corrector,ak4PFL3AbsoluteCorrector,ak4PFL2RelativeCorrector,ak4PFL1FastjetCorrector
0025 
0026 newAk4PFL1FastL2L3Corrector = ak4PFL1FastL2L3Corrector.clone()
0027 newAk4PFL1FastL2L3CorrectorChain = cms.Sequence(
0028     #ak4PFL1FastjetCorrector * ak4PFL2RelativeCorrector * ak4PFL3AbsoluteCorrector * 
0029     newAk4PFL1FastL2L3Corrector
0030 )
0031 
0032 #from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak4JPTL1FastL2L3,ak4JPTL1Fastjet,ak4JPTL2Relative,ak4JPTL3Absolute
0033 #newAk4JPTL1FastL2L3 = ak4JPTL1FastL2L3.clone()
0034 
0035 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3CorrectorChain,ak4PFCHSL1FastL2L3Corrector,ak4PFCHSL3AbsoluteCorrector,ak4PFCHSL2RelativeCorrector,ak4PFCHSL1FastjetCorrector
0036 
0037 newAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
0038 newAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
0039     #ak4PFCHSL1FastjetCorrector * ak4PFCHSL2RelativeCorrector * ak4PFCHSL3AbsoluteCorrector * 
0040     newAk4PFCHSL1FastL2L3Corrector
0041 )
0042 
0043 jetPreValidSeqTask = cms.Task(ak4CaloL2RelativeCorrector,
0044                               ak4CaloL3AbsoluteCorrector,
0045                               ak4PFL1FastjetCorrector,
0046                               ak4PFL2RelativeCorrector,
0047                               ak4PFL3AbsoluteCorrector,
0048                               ak4PFCHSL1FastjetCorrector,
0049                               ak4PFCHSL2RelativeCorrector,
0050                               ak4PFCHSL3AbsoluteCorrector
0051 )
0052 jetPreValidSeq=cms.Sequence(jetPreValidSeqTask)
0053 
0054 JetValidation = cms.Sequence(
0055 #    JetAnalyzerKt6PF*
0056 #    JetAnalyzerKt6Calo*
0057     newAk4CaloL2L3CorrectorChain*
0058     JetAnalyzerAk4Calo*
0059 #    JetAnalyzerAk7Calo*
0060     newAk4PFL1FastL2L3CorrectorChain*
0061     JetAnalyzerAk4PF*
0062 #    JetAnalyzerAk4JPT*
0063     newAk4PFCHSL1FastL2L3CorrectorChain*
0064     JetAnalyzerAk4PFCHS
0065 #    JetAnalyzerAk8PF*
0066 #    JetAnalyzerAk8PFCHS*
0067 #    *JetAnalyzerCA8PFCHS
0068     )
0069 
0070 
0071 JetValidationMiniAOD=cms.Sequence(JetAnalyzerAk4PFCHSMiniAOD*JetAnalyzerAk4PFPUPPIMiniAOD*JetAnalyzerAk8PFPUPPIMiniAOD)