CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Validation/RecoParticleFlow/Benchmarks/ElectronRejectionBenchmark/benchmark_ztt_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_1_2/RelValZTT/GEN-SIM-RECO/STARTUP31X_V2-v1/0007/A4DD1FAE-B178-DE11-B608-001D09F24EAC.root',
00014         '/store/relval/CMSSW_3_1_2/RelValZTT/GEN-SIM-RECO/STARTUP31X_V2-v1/0007/9408B54D-CB78-DE11-9AEB-001D09F2503C.root',
00015         '/store/relval/CMSSW_3_1_2/RelValZTT/GEN-SIM-RECO/STARTUP31X_V2-v1/0007/7C4B7106-B378-DE11-9C6E-000423D94990.root',
00016         '/store/relval/CMSSW_3_1_2/RelValZTT/GEN-SIM-RECO/STARTUP31X_V2-v1/0007/7AAAAFA8-CA78-DE11-8FE2-001D09F241B4.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('tau') #  'tau' or "e"
00027 process.pfTauBenchmarkElecRejection.OutputFile = cms.untracked.string('tauBenchmarkElecRejection_ztt.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 )