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'),
45 process.pfElectronBenchmarkGeneric = cms.EDAnalyzer(
"GenericBenchmarkAnalyzer",
46 maxDeltaPhi = cms.double(0.5),
47 BenchmarkLabel = cms.string(
'PFlowElectrons'),
48 OnlyTwoJets = cms.bool(
False),
49 maxEta = cms.double(2.5),
50 minEta = cms.double(-1),
51 recPt = cms.double(2.0),
52 minDeltaPhi = cms.double(-0.5),
53 PlotAgainstRecoQuantities = cms.bool(
False),
54 minDeltaEt = cms.double(-100.0),
55 OutputFile = cms.untracked.string(
'benchmark.root'),
56 StartFromGen = cms.bool(
False),
57 deltaRMax = cms.double(0.05),
58 maxDeltaEt = cms.double(50.0),
59 InputTruthLabel = cms.InputTag(
"gensource"),
60 InputRecoLabel = cms.InputTag(
"pfAllElectrons"),
61 doMetPlots = cms.bool(
False)
65 process.pfNoPileUpSequence = cms.Sequence(process.pfPileUp+process.pfNoPileUp)
68 process.electronBenchmarkGeneric = cms.Sequence(process.pfNoPileUpSequence+process.pfAllElectrons+process.gensource+process.pfElectronBenchmarkGeneric)
71 process.p = cms.Path(process.electronBenchmarkGeneric)
74 process.MessageLogger = cms.Service(
"MessageLogger",
75 cerr = cms.untracked.PSet(
76 FwkReport = cms.untracked.PSet(
77 limit = cms.untracked.int32(10000000),
78 reportEvery = cms.untracked.int32(100)
80 FwkSummary = cms.untracked.PSet(
81 limit = cms.untracked.int32(10000000),
82 reportEvery = cms.untracked.int32(1)
84 INFO = cms.untracked.PSet(
85 limit = cms.untracked.int32(0)
87 Root_NoDictionary = cms.untracked.PSet(
88 limit = cms.untracked.int32(0)
90 default = cms.untracked.PSet(
91 limit = cms.untracked.int32(10000000)
93 noTimeStamps = cms.untracked.bool(
False),
94 threshold = cms.untracked.string(
'INFO'),
95 enableStatistics = cms.untracked.bool(
True),
96 statisticsThreshold = cms.untracked.string(
'WARNING')
98 debugModules = cms.untracked.vstring(),
99 default = cms.untracked.PSet(
102 suppressDebug = cms.untracked.vstring(),
103 suppressInfo = cms.untracked.vstring(),
104 suppressWarning = cms.untracked.vstring()
108 process.DQM = cms.Service(
"DQM",
109 filter = cms.untracked.string(
''),
110 publishFrequency = cms.untracked.double(5.0),
111 collectorHost = cms.untracked.string(
'localhost'),
112 collectorPort = cms.untracked.int32(9090),
113 debug = cms.untracked.bool(
False)
117 process.DQMStore = cms.Service(
"DQMStore",
118 verboseQT = cms.untracked.int32(0),
119 verbose = cms.untracked.int32(0),
123 process.HepPDTESSource = cms.ESSource(
"HepPDTESSource",
124 pdtFileName = cms.FileInPath(
'SimGeneral/HepPDTESSource/data/pythiaparticle.tbl')
128 process.maxEvents = cms.untracked.PSet(
129 input = cms.untracked.int32(-1)