CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/Validation/RecoParticleFlow/Benchmarks/ElectronRejectionBenchmark/benchmark_cfg.py

Go to the documentation of this file.
00001 # Runs PFBenchmarkElecRejectionAnalyzer and PFElecRejectionBenchmark
00002 # on PFTau sample to
00003 # monitor performance of PFTau Electron rejection
00004 
00005 import FWCore.ParameterSet.Config as cms
00006 
00007 process = cms.Process("TEST")
00008 process.load("DQMServices.Core.DQM_cfg")
00009 
00010 
00011 process.source = cms.Source("PoolSource",
00012   fileNames = cms.untracked.vstring(
00013         '/store/relval/CMSSW_3_0_0_pre7/RelValZEE/GEN-SIM-RECO/STARTUP_30X_v1/0006/1A53606D-57E8-DD11-A649-000423D9A2AE.root',
00014         '/store/relval/CMSSW_3_0_0_pre7/RelValZEE/GEN-SIM-RECO/STARTUP_30X_v1/0006/E0A459F8-6AE8-DD11-8D14-000423D99896.root',
00015         '/store/relval/CMSSW_3_0_0_pre7/RelValZEE/GEN-SIM-RECO/STARTUP_30X_v1/0006/F2F29E16-57E8-DD11-87DF-001D09F23E53.root',
00016         '/store/relval/CMSSW_3_0_0_pre7/RelValZEE/GEN-SIM-RECO/STARTUP_30X_v1/0006/F8F77B9C-57E8-DD11-A065-001D09F24D8A.root'
00017   )
00018 )
00019 
00020 process.maxEvents = cms.untracked.PSet(
00021     input = cms.untracked.int32(-1)
00022 )
00023 
00024 
00025 process.load("Validation.RecoParticleFlow.tauBenchmarkElecRejection_cff")
00026 process.pfTauBenchmarkElecRejection.GenMatchObjectLabel = cms.string('e') #  'tau' or "e"
00027 process.pfTauBenchmarkElecRejection.OutputFile = cms.untracked.string('tauBenchmarkElecRejection.root')
00028 
00029 process.p =cms.Path(
00030     process.tauBenchmarkElecRejection
00031     )
00032 
00033 process.schedule = cms.Schedule(process.p)
00034 
00035 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00036 process.options = cms.untracked.PSet(
00037     makeTriggerResults = cms.untracked.bool(True),
00038     wantSummary = cms.untracked.bool(True),
00039     Rethrow = cms.untracked.vstring('Unknown', 
00040         'ProductNotFound', 
00041         'DictionaryNotFound', 
00042         'InsertFailure', 
00043         'Configuration', 
00044         'LogicError', 
00045         'UnimplementedFeature', 
00046         'InvalidReference', 
00047         'NullPointerError', 
00048         'NoProductSpecified', 
00049         'EventTimeout', 
00050         'EventCorruption', 
00051         'ModuleFailure', 
00052         'ScheduleExecutionFailure', 
00053         'EventProcessorFailure', 
00054         'FileInPathError', 
00055         'FatalRootError', 
00056         'NotFound')
00057 )