CMS 3D CMS Logo

benchmark_zee_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/RelValZEE/GEN-SIM-RECO/STARTUP31X_V2-v1/0007/DC0B8126-DB78-DE11-8962-001D09F25109.root',
14  '/store/relval/CMSSW_3_1_2/RelValZEE/GEN-SIM-RECO/STARTUP31X_V2-v1/0007/A0CE6C32-DA78-DE11-96E3-001D09F2532F.root',
15  '/store/relval/CMSSW_3_1_2/RelValZEE/GEN-SIM-RECO/STARTUP31X_V2-v1/0007/56BA18F5-E278-DE11-8038-001D09F26509.root',
16  '/store/relval/CMSSW_3_1_2/RelValZEE/GEN-SIM-RECO/STARTUP31X_V2-v1/0007/30A1F4B9-DB78-DE11-8F74-001D09F253C0.root'
17  #'/store/relval/CMSSW_3_1_2/RelValZEE/GEN-SIM-RECO/MC_31X_V3-v1/0007/F0303A91-9278-DE11-AADC-001D09F25456.root',
18  #'/store/relval/CMSSW_3_1_2/RelValZEE/GEN-SIM-RECO/MC_31X_V3-v1/0007/C6B66CD2-A978-DE11-A5A2-000423D98BC4.root',
19  #'/store/relval/CMSSW_3_1_2/RelValZEE/GEN-SIM-RECO/MC_31X_V3-v1/0007/A838D597-9078-DE11-AEDD-000423D99896.root',
20  #'/store/relval/CMSSW_3_1_2/RelValZEE/GEN-SIM-RECO/MC_31X_V3-v1/0007/900FF494-9278-DE11-BA53-001D09F28F1B.root',
21  #'/store/relval/CMSSW_3_1_2/RelValZEE/GEN-SIM-RECO/MC_31X_V3-v1/0007/4666B35F-9278-DE11-B918-000423D8F63C.root',
22  '/store/relval/CMSSW_3_1_2/RelValZEE/GEN-SIM-RECO/MC_31X_V3-v1/0007/0C3128C6-A878-DE11-9CEE-001D09F25208.root'
23  )
24 )
25 
26 process.maxEvents = cms.untracked.PSet(
27  input = cms.untracked.int32(-1)
28 )
29 
30 
31 process.load("Validation.RecoParticleFlow.tauBenchmarkElecRejection_cff")
32 process.pfTauBenchmarkElecRejection.GenMatchObjectLabel = cms.string('e') # 'tau' or "e"
33 process.pfTauBenchmarkElecRejection.OutputFile = cms.untracked.string('tauBenchmarkElecRejection_zee.root')
34 
35 process.p =cms.Path(
36  process.tauBenchmarkElecRejection
37  )
38 
39 process.schedule = cms.Schedule(process.p)
40 
41 process.load("FWCore.MessageLogger.MessageLogger_cfi")
42 process.options = cms.untracked.PSet(
43  makeTriggerResults = cms.untracked.bool(True),
44  wantSummary = cms.untracked.bool(True),
45  Rethrow = cms.untracked.vstring('Unknown',
46  'ProductNotFound',
47  'DictionaryNotFound',
48  'InsertFailure',
49  'Configuration',
50  'LogicError',
51  'UnimplementedFeature',
52  'InvalidReference',
53  'NullPointerError',
54  'NoProductSpecified',
55  'EventTimeout',
56  'EventCorruption',
57  'ModuleFailure',
58  'ScheduleExecutionFailure',
59  'EventProcessorFailure',
60  'FileInPathError',
61  'FatalRootError',
62  'NotFound')
63 )