CMS 3D CMS Logo

benchmark_ztt_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_1_2/RelValZTT/GEN-SIM-RECO/STARTUP31X_V2-v1/0007/A4DD1FAE-B178-DE11-B608-001D09F24EAC.root',
14  '/store/relval/CMSSW_3_1_2/RelValZTT/GEN-SIM-RECO/STARTUP31X_V2-v1/0007/9408B54D-CB78-DE11-9AEB-001D09F2503C.root',
15  '/store/relval/CMSSW_3_1_2/RelValZTT/GEN-SIM-RECO/STARTUP31X_V2-v1/0007/7C4B7106-B378-DE11-9C6E-000423D94990.root',
16  '/store/relval/CMSSW_3_1_2/RelValZTT/GEN-SIM-RECO/STARTUP31X_V2-v1/0007/7AAAAFA8-CA78-DE11-8FE2-001D09F241B4.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('tau') # 'tau' or "e"
27 process.pfTauBenchmarkElecRejection.OutputFile = cms.untracked.string('tauBenchmarkElecRejection_ztt.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 )