Go to the documentation of this file.00001
00002
00003
00004 import FWCore.ParameterSet.Config as cms
00005
00006 process = cms.Process("TEST")
00007 process.load("DQMServices.Core.DQM_cfg")
00008
00009
00010 process.source = cms.Source (
00011 "PoolSource",
00012 fileNames = cms.untracked.vstring(
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 'rfio:/castor/cern.ch/user/p/pjanot/CMSSW310pre11/aod_QCDForPF_Full_001.root',
00027 'rfio:/castor/cern.ch/user/p/pjanot/CMSSW310pre11/aod_QCDForPF_Full_002.root',
00028 'rfio:/castor/cern.ch/user/p/pjanot/CMSSW310pre11/aod_QCDForPF_Full_003.root',
00029
00030 ),
00031 secondaryFileNames = cms.untracked.vstring(),
00032 noEventSort = cms.untracked.bool(True),
00033 duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
00034
00035 )
00036
00037 process.maxEvents = cms.untracked.PSet(
00038 input = cms.untracked.int32(-1)
00039 )
00040
00041 process.load("Validation.RecoParticleFlow.pfJetBenchmark_cfi")
00042 process.load("Validation.RecoParticleFlow.pfJetBenchmarkGeneric_cfi")
00043 process.load("Validation.RecoParticleFlow.caloJetBenchmarkGeneric_cfi")
00044 process.load("Validation.RecoParticleFlow.jptJetBenchmarkGeneric_cfi")
00045 process.load("RecoJets.Configuration.GenJetParticles_cff")
00046 process.load("RecoJets.Configuration.RecoGenJets_cff")
00047 process.load("RecoJets.Configuration.RecoPFJets_cff")
00048 process.load("PhysicsTools.HepMCCandAlgos.genParticles_cfi")
00049 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
00050 process.load("JetMETCorrections.Configuration.JetPlusTrackCorrections_cff")
00051 process.load("JetMETCorrections.Configuration.ZSPJetCorrections152_cff")
00052 process.load("Configuration.StandardSequences.MagneticField_cff")
00053
00054 process.iterativeCone5PFJets.inputEtMin = 0.0
00055
00056
00057
00058
00059 process.pfJetBenchmarkGeneric.maxEta = cms.double(5.0)
00060 process.caloJetBenchmarkGeneric.maxEta = cms.double(5.0)
00061 process.jptJetBenchmarkGeneric.maxEta = cms.double(5.0)
00062
00063
00064 process.genParticlesForJets.ignoreParticleIDs.append(14)
00065 process.genParticlesForJets.ignoreParticleIDs.append(12)
00066 process.genParticlesForJets.ignoreParticleIDs.append(16)
00067 process.genParticlesForJets.excludeResonances = False
00068
00069
00070 process.pfJetBenchmarkGeneric.OutputFile = cms.untracked.string('JetBenchmarkGeneric.root')
00071 process.caloJetBenchmarkGeneric.OutputFile = cms.untracked.string('JetBenchmarkGeneric.root')
00072 process.jptJetBenchmarkGeneric.OutputFile = cms.untracked.string('JetBenchmarkGeneric.root')
00073
00074 process.p =cms.Path(
00075 process.genJetParticles+
00076 process.iterativeCone5GenJets+
00077
00078 process.pfJetBenchmarkGeneric+
00079 process.caloJetBenchmarkGeneric
00080
00081
00082
00083 )
00084
00085
00086 process.schedule = cms.Schedule(process.p)
00087
00088
00089
00090 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00091 process.options = cms.untracked.PSet(
00092 makeTriggerResults = cms.untracked.bool(True),
00093 wantSummary = cms.untracked.bool(True),
00094 Rethrow = cms.untracked.vstring('Unknown',
00095 'ProductNotFound',
00096 'DictionaryNotFound',
00097 'InsertFailure',
00098 'Configuration',
00099 'LogicError',
00100 'UnimplementedFeature',
00101 'InvalidReference',
00102 'NullPointerError',
00103 'NoProductSpecified',
00104 'EventTimeout',
00105 'EventCorruption',
00106 'ModuleFailure',
00107 'ScheduleExecutionFailure',
00108 'EventProcessorFailure',
00109 'FileInPathError',
00110 'FatalRootError',
00111 'NotFound')
00112 )
00113
00114 process.MessageLogger.cerr.FwkReport.reportEvery = 100