1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"TEST")
5 process.source = cms.Source(
"PoolSource",
6 noEventSort = cms.untracked.bool(
True),
7 duplicateCheckMode = cms.untracked.string(
'noDuplicateCheck'),
8 secondaryFileNames = cms.untracked.vstring(),
9 fileNames = cms.untracked.vstring(
'/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0009/880AA097-75B7-DE11-B848-001D09F23C73.root',
10 '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/CC9C9FAC-86B6-DE11-8A1B-001D09F24FEC.root',
11 '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/A44075CB-7FB6-DE11-8010-000423D98868.root',
12 '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/6E433585-84B6-DE11-A3E1-001D09F2437B.root',
13 '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/285A7AC1-82B6-DE11-BA29-001D09F2525D.root',
14 '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/12755919-88B6-DE11-8FF2-000423D996C8.root',
15 '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/04B93222-89B6-DE11-93E9-001D09F29524.root')
17 process.pfAllElectrons = cms.EDFilter(
"PdgIdPFCandidateSelector",
18 pdgId = cms.vint32(11, -11),
19 src = cms.InputTag(
"pfNoPileUp")
23 process.gensource = cms.EDProducer(
"GenParticlePruner",
24 src = cms.InputTag(
"genParticles"),
25 select = cms.vstring(
'drop *',
31 process.pfPileUp = cms.EDProducer(
"PFPileUp",
32 PFCandidates = cms.InputTag(
"particleFlow"),
33 verbose = cms.untracked.bool(
False),
34 Vertices = cms.InputTag(
"offlinePrimaryVerticesWithBS")
38 process.pfNoPileUp = cms.EDProducer(
"TPPileUpPFCandidatesOnPFCandidates",
39 bottomCollection = cms.InputTag(
"particleFlow"),
40 topCollection = cms.InputTag(
"pfPileUp"),
41 name = cms.untracked.string(
'pileUpOnPFCandidates'),
42 verbose = cms.untracked.bool(
False)
46 process.pfElectronBenchmarkGeneric = cms.EDAnalyzer(
"GenericBenchmarkAnalyzer",
47 maxDeltaPhi = cms.double(0.5),
48 BenchmarkLabel = cms.string(
'PFlowElectrons'),
49 OnlyTwoJets = cms.bool(
False),
50 maxEta = cms.double(2.5),
51 minEta = cms.double(-1),
52 recPt = cms.double(2.0),
53 minDeltaPhi = cms.double(-0.5),
54 PlotAgainstRecoQuantities = cms.bool(
False),
55 minDeltaEt = cms.double(-100.0),
56 OutputFile = cms.untracked.string(
'benchmark.root'),
57 StartFromGen = cms.bool(
False),
58 deltaRMax = cms.double(0.05),
59 maxDeltaEt = cms.double(50.0),
60 InputTruthLabel = cms.InputTag(
"gensource"),
61 InputRecoLabel = cms.InputTag(
"pfAllElectrons"),
62 doMetPlots = cms.bool(
False)
66 process.pfNoPileUpSequence = cms.Sequence(process.pfPileUp+process.pfNoPileUp)
69 process.electronBenchmarkGeneric = cms.Sequence(process.pfNoPileUpSequence+process.pfAllElectrons+process.gensource+process.pfElectronBenchmarkGeneric)
72 process.p = cms.Path(process.electronBenchmarkGeneric)
75 process.MessageLogger = cms.Service(
"MessageLogger",
76 suppressInfo = cms.untracked.vstring(),
77 debugs = cms.untracked.PSet(
78 placeholder = cms.untracked.bool(
True)
80 suppressDebug = cms.untracked.vstring(),
81 cout = cms.untracked.PSet(
82 placeholder = cms.untracked.bool(
True)
84 cerr_stats = cms.untracked.PSet(
85 threshold = cms.untracked.string(
'WARNING'),
86 output = cms.untracked.string(
'cerr'),
87 optionalPSet = cms.untracked.bool(
True)
89 warnings = cms.untracked.PSet(
90 placeholder = cms.untracked.bool(
True)
92 default = cms.untracked.PSet(
95 statistics = cms.untracked.vstring(
'cerr_stats'),
96 cerr = cms.untracked.PSet(
97 INFO = cms.untracked.PSet(
98 limit = cms.untracked.int32(0)
100 noTimeStamps = cms.untracked.bool(
False),
101 FwkReport = cms.untracked.PSet(
102 reportEvery = cms.untracked.int32(100),
103 optionalPSet = cms.untracked.bool(
True),
104 limit = cms.untracked.int32(10000000)
106 default = cms.untracked.PSet(
107 limit = cms.untracked.int32(10000000)
109 Root_NoDictionary = cms.untracked.PSet(
110 optionalPSet = cms.untracked.bool(
True),
111 limit = cms.untracked.int32(0)
113 threshold = cms.untracked.string(
'INFO'),
114 FwkJob = cms.untracked.PSet(
115 optionalPSet = cms.untracked.bool(
True),
116 limit = cms.untracked.int32(0)
118 FwkSummary = cms.untracked.PSet(
119 reportEvery = cms.untracked.int32(1),
120 optionalPSet = cms.untracked.bool(
True),
121 limit = cms.untracked.int32(10000000)
123 optionalPSet = cms.untracked.bool(
True)
125 FrameworkJobReport = cms.untracked.PSet(
126 default = cms.untracked.PSet(
127 limit = cms.untracked.int32(0)
129 optionalPSet = cms.untracked.bool(
True),
130 FwkJob = cms.untracked.PSet(
131 optionalPSet = cms.untracked.bool(
True),
132 limit = cms.untracked.int32(10000000)
135 suppressWarning = cms.untracked.vstring(),
136 errors = cms.untracked.PSet(
137 placeholder = cms.untracked.bool(
True)
139 destinations = cms.untracked.vstring(
'warnings',
145 debugModules = cms.untracked.vstring(),
146 infos = cms.untracked.PSet(
147 optionalPSet = cms.untracked.bool(
True),
148 Root_NoDictionary = cms.untracked.PSet(
149 optionalPSet = cms.untracked.bool(
True),
150 limit = cms.untracked.int32(0)
152 placeholder = cms.untracked.bool(
True)
154 categories = cms.untracked.vstring(
'FwkJob',
157 'Root_NoDictionary'),
158 fwkJobReports = cms.untracked.vstring(
'FrameworkJobReport')
162 process.DQM = cms.Service(
"DQM",
163 filter = cms.untracked.string(
''),
164 publishFrequency = cms.untracked.double(5.0),
165 collectorHost = cms.untracked.string(
'localhost'),
166 collectorPort = cms.untracked.int32(9090),
167 debug = cms.untracked.bool(
False)
171 process.DQMStore = cms.Service(
"DQMStore",
172 verboseQT = cms.untracked.int32(0),
173 verbose = cms.untracked.int32(0),
177 process.HepPDTESSource = cms.ESSource(
"HepPDTESSource",
178 pdtFileName = cms.FileInPath(
'SimGeneral/HepPDTESSource/data/pythiaparticle.tbl')
182 process.maxEvents = cms.untracked.PSet(
183 input = cms.untracked.int32(-1)