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/g/gennai/PFlowHLT/CMSSW_3_6_3_patch3/RelValQCD_FlatPt_15_3000_PFlowHLT_OfflineVertex_0.root',
00027 'rfio:/castor/cern.ch/user/g/gennai/PFlowHLT/CMSSW_3_6_3_patch3/RelValQCD_FlatPt_15_3000_PFlowHLT_OfflineVertex_1.root',
00028 'rfio:/castor/cern.ch/user/g/gennai/PFlowHLT/CMSSW_3_6_3_patch3/RelValQCD_FlatPt_15_3000_PFlowHLT_OfflineVertex_2.root',
00029 'rfio:/castor/cern.ch/user/g/gennai/PFlowHLT/CMSSW_3_6_3_patch3/RelValQCD_FlatPt_15_3000_PFlowHLT_OfflineVertex_3.root',
00030 'rfio:/castor/cern.ch/user/g/gennai/PFlowHLT/CMSSW_3_6_3_patch3/RelValQCD_FlatPt_15_3000_PFlowHLT_OfflineVertex_4.root',
00031 'rfio:/castor/cern.ch/user/g/gennai/PFlowHLT/CMSSW_3_6_3_patch3/RelValQCD_FlatPt_15_3000_PFlowHLT_OfflineVertex_5.root',
00032 'rfio:/castor/cern.ch/user/g/gennai/PFlowHLT/CMSSW_3_6_3_patch3/RelValQCD_FlatPt_15_3000_PFlowHLT_OfflineVertex_6.root',
00033 ),
00034 secondaryFileNames = cms.untracked.vstring(),
00035 noEventSort = cms.untracked.bool(True),
00036 duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
00037
00038 )
00039
00040 process.maxEvents = cms.untracked.PSet(
00041 input = cms.untracked.int32(-1)
00042 )
00043
00044 process.load("Validation.RecoParticleFlow.pfJetBenchmark_HLT_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
00051
00052
00053
00054
00055 process.genParticlesForJets.ignoreParticleIDs.append(14)
00056 process.genParticlesForJets.ignoreParticleIDs.append(12)
00057 process.genParticlesForJets.ignoreParticleIDs.append(16)
00058
00059
00060 process.genParticlesForJets.ignoreParticleIDs.append(1)
00061 process.genParticlesForJets.ignoreParticleIDs.append(2)
00062 process.genParticlesForJets.ignoreParticleIDs.append(3)
00063 process.genParticlesForJets.ignoreParticleIDs.append(4)
00064 process.genParticlesForJets.ignoreParticleIDs.append(5)
00065 process.genParticlesForJets.ignoreParticleIDs.append(6)
00066 process.genParticlesForJets.ignoreParticleIDs.append(21)
00067 process.genParticlesForJets.excludeResonances = False
00068
00069
00070 process.pfJetBenchmark.OutputFile = cms.untracked.string('JetBenchmark_Full_HLT.root')
00071 process.pfJetBenchmark.deltaRMax = 0.1
00072 process.pfJetBenchmark.OnlyTwoJets = cms.bool(True)
00073
00074 process.p =cms.Path(
00075 process.genJetParticles+
00076
00077 process.iterativeCone5GenJets+
00078
00079 process.pfJetBenchmark
00080 )
00081
00082
00083 process.schedule = cms.Schedule(process.p)
00084
00085
00086
00087 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00088 process.options = cms.untracked.PSet(
00089 makeTriggerResults = cms.untracked.bool(True),
00090 wantSummary = cms.untracked.bool(True),
00091 Rethrow = cms.untracked.vstring('Unknown',
00092 'ProductNotFound',
00093 'DictionaryNotFound',
00094 'InsertFailure',
00095 'Configuration',
00096 'LogicError',
00097 'UnimplementedFeature',
00098 'InvalidReference',
00099 'NullPointerError',
00100 'NoProductSpecified',
00101 'EventTimeout',
00102 'EventCorruption',
00103 'ModuleFailure',
00104 'ScheduleExecutionFailure',
00105 'EventProcessorFailure',
00106 'FileInPathError',
00107 'FatalRootError',
00108 'NotFound')
00109 )
00110
00111 process.MessageLogger.cerr.FwkReport.reportEvery = 1000