Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 from JetMETCorrections.Configuration.JetCorrectionsRecord_cfi import *
00004 from RecoJets.Configuration.RecoJetAssociations_cff import *
00005
00006 process = cms.Process("JETVALIDATION")
00007
00008
00009
00010
00011
00012 process.load("Configuration.StandardSequences.Geometry_cff")
00013 process.load("Configuration.StandardSequences.MagneticField_cff")
00014 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00015
00016
00017
00018
00019 process.load("DQMServices.Core.DQM_cfg")
00020
00021
00022 process.load("DQMServices.Components.DQMStoreStats_cfi")
00023
00024
00025
00026 process.load("JetMETCorrections.Configuration.L2L3Corrections_Summer09_cff")
00027
00028
00029 process.load("Validation.RecoJets.JetValidation_cff")
00030
00031 process.maxEvents = cms.untracked.PSet(
00032 input = cms.untracked.int32(-1)
00033 )
00034
00035 process.source = cms.Source("PoolSource",
00036
00037
00038
00039 fileNames = cms.untracked.vstring(
00040
00041 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/FA30B22D-290E-DF11-9FE6-0030487C5CFA.root',
00042 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/E8BA16A6-290E-DF11-918A-0030487A18F2.root',
00043 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/E6FE3BB3-2D0E-DF11-8FE5-0030487C5CFA.root',
00044 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/DCE3F7FD-2D0E-DF11-BD5E-003048D37580.root',
00045 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/B621A1D0-2B0E-DF11-9085-0030487A3C92.root',
00046 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/AE40A5A5-540E-DF11-A48E-003048D2C1C4.root',
00047 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/A2009204-320E-DF11-B0F7-0030487CAEAC.root',
00048 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/8EA79A6D-280E-DF11-B934-0030487C778E.root',
00049 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/7807E87C-2C0E-DF11-B1A6-0030487CD14E.root',
00050 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/72084001-280E-DF11-ADC9-0030487CAF5E.root',
00051 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/508E1207-2D0E-DF11-ABF6-0030487CD6DA.root',
00052 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/40BB2A62-290E-DF11-B2BF-0030487CD13A.root',
00053 '/store/relval/CMSSW_3_5_0_pre5/RelValQCD_Pt_3000_3500/GEN-SIM-RECO/MC_3XY_V20-v1/0008/14FD1882-2D0E-DF11-9AA2-0030487C5CFA.root'
00054
00055 )
00056
00057 )
00058
00059 process.fileSaver = cms.EDFilter("JetFileSaver",
00060 OutputFile = cms.untracked.string('histo.root')
00061 )
00062
00063
00064 process.prefer("L2L3JetCorrectorIC5Calo")
00065
00066 process.L2L3CorJetIcone5 = cms.EDProducer("CaloJetCorrectionProducer",
00067 src = cms.InputTag("iterativeCone5CaloJets"),
00068 correctors = cms.vstring('L2L3JetCorrectorIC5Calo')
00069 )
00070
00071
00072 process.JetAnalyzerIC5Cor = cms.EDAnalyzer("CaloJetTester",
00073 src = cms.InputTag("L2L3CorJetIcone5"),
00074 srcGen = cms.InputTag("iterativeCone5GenJets"),
00075
00076
00077
00078
00079 genEnergyFractionThreshold = cms.double(0.05),
00080 genPtThreshold = cms.double(1.0),
00081 RThreshold = cms.double(0.3),
00082 reverseEnergyFractionThreshold = cms.double(0.5)
00083 )
00084
00085 process.p1 = cms.Path(process.fileSaver
00086
00087 *process.L2L3CorJetIcone5
00088
00089
00090
00091
00092 *process.JetAnalyzerIC5Cor
00093
00094
00095
00096 *process.JetValidation)
00097
00098
00099
00100 process.DQM.collectorHost = ''
00101