test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
benchmark_cfg.py
Go to the documentation of this file.
1 # Runs PFBenchmarkElecRejectionAnalyzer and PFElecRejectionBenchmark
2 # on PFTau sample to
3 # monitor performance of PFTau Electron rejection
4 
5 import FWCore.ParameterSet.Config as cms
6 
7 process = cms.Process("TEST")
8 process.load("DQMServices.Core.DQM_cfg")
9 
10 
11 process.source = cms.Source("PoolSource",
12  fileNames = cms.untracked.vstring(
13  '/store/relval/CMSSW_3_0_0_pre7/RelValZEE/GEN-SIM-RECO/STARTUP_30X_v1/0006/1A53606D-57E8-DD11-A649-000423D9A2AE.root',
14  '/store/relval/CMSSW_3_0_0_pre7/RelValZEE/GEN-SIM-RECO/STARTUP_30X_v1/0006/E0A459F8-6AE8-DD11-8D14-000423D99896.root',
15  '/store/relval/CMSSW_3_0_0_pre7/RelValZEE/GEN-SIM-RECO/STARTUP_30X_v1/0006/F2F29E16-57E8-DD11-87DF-001D09F23E53.root',
16  '/store/relval/CMSSW_3_0_0_pre7/RelValZEE/GEN-SIM-RECO/STARTUP_30X_v1/0006/F8F77B9C-57E8-DD11-A065-001D09F24D8A.root'
17  )
18 )
19 
20 process.maxEvents = cms.untracked.PSet(
21  input = cms.untracked.int32(-1)
22 )
23 
24 
25 process.load("Validation.RecoParticleFlow.tauBenchmarkElecRejection_cff")
26 process.pfTauBenchmarkElecRejection.GenMatchObjectLabel = cms.string('e') # 'tau' or "e"
27 process.pfTauBenchmarkElecRejection.OutputFile = cms.untracked.string('tauBenchmarkElecRejection.root')
28 
29 process.p =cms.Path(
30  process.tauBenchmarkElecRejection
31  )
32 
33 process.schedule = cms.Schedule(process.p)
34 
35 process.load("FWCore.MessageLogger.MessageLogger_cfi")
36 process.options = cms.untracked.PSet(
37  makeTriggerResults = cms.untracked.bool(True),
38  wantSummary = cms.untracked.bool(True),
39  Rethrow = cms.untracked.vstring('Unknown',
40  'ProductNotFound',
41  'DictionaryNotFound',
42  'InsertFailure',
43  'Configuration',
44  'LogicError',
45  'UnimplementedFeature',
46  'InvalidReference',
47  'NullPointerError',
48  'NoProductSpecified',
49  'EventTimeout',
50  'EventCorruption',
51  'ModuleFailure',
52  'ScheduleExecutionFailure',
53  'EventProcessorFailure',
54  'FileInPathError',
55  'FatalRootError',
56  'NotFound')
57 )