Go to the documentation of this file.00001
00002
00003 import sys
00004 import os
00005 sys.path.append('.')
00006 import dbs_discovery
00007 import elec_selection
00008
00009 import FWCore.ParameterSet.Config as cms
00010
00011 process = cms.Process("TEST")
00012 process.load("DQMServices.Core.DQM_cfg")
00013
00014
00015
00016 process.source = cms.Source("PoolSource",
00017 fileNames = cms.untracked.vstring(),
00018 secondaryFileNames = cms.untracked.vstring(),
00019 noEventSort = cms.untracked.bool(True),
00020 duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
00021 )
00022
00023
00024
00025 process.source.fileNames.extend(dbs_discovery.search())
00026
00027
00028 process.maxEvents = cms.untracked.PSet(
00029 input = cms.untracked.int32(-1)
00030 )
00031
00032
00033 process.load("Validation.RecoParticleFlow.electronBenchmarkGeneric_cff")
00034
00035
00036 process.gensource.select = elec_selection.selection()
00037
00038
00039 process.pfElectronBenchmarkGeneric.deltaRMax = elec_selection.deltaR()
00040
00041
00042
00043
00044 process.pfElectronBenchmarkGeneric.OutputFile = cms.untracked.string('benchmark.root')
00045
00046
00047
00048 process.p =cms.Path(
00049 process.electronBenchmarkGeneric
00050 )
00051
00052
00053
00054
00055
00056
00057
00058
00059 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00060
00061 process.MessageLogger.cerr.FwkReport.reportEvery = 100
00062
00063
00064