CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/Validation/RecoParticleFlow/Benchmarks/ElectronBenchmarkGeneric/benchmark_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("TEST")
00004 
00005 process.source = cms.Source("PoolSource",
00006     noEventSort = cms.untracked.bool(True),
00007     duplicateCheckMode = cms.untracked.string('noDuplicateCheck'),
00008     secondaryFileNames = cms.untracked.vstring(),
00009     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', 
00010         '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/CC9C9FAC-86B6-DE11-8A1B-001D09F24FEC.root', 
00011         '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/A44075CB-7FB6-DE11-8010-000423D98868.root', 
00012         '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/6E433585-84B6-DE11-A3E1-001D09F2437B.root', 
00013         '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/285A7AC1-82B6-DE11-BA29-001D09F2525D.root', 
00014         '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/12755919-88B6-DE11-8FF2-000423D996C8.root', 
00015         '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/04B93222-89B6-DE11-93E9-001D09F29524.root')
00016 )
00017 process.pfAllElectrons = cms.EDFilter("PdgIdPFCandidateSelector",
00018     pdgId = cms.vint32(11, -11),
00019     src = cms.InputTag("pfNoPileUp")
00020 )
00021 
00022 
00023 process.gensource = cms.EDProducer("GenParticlePruner",
00024     src = cms.InputTag("genParticles"),
00025     select = cms.vstring('drop *', 
00026         'keep pdgId = 211', 
00027         'keep pdgId = -211')
00028 )
00029 
00030 
00031 process.pfPileUp = cms.EDProducer("pfPileUp",
00032     PFCandidates = cms.InputTag("particleFlow"),
00033     verbose = cms.untracked.bool(False),
00034     Vertices = cms.InputTag("offlinePrimaryVerticesWithBS")
00035 )
00036 
00037 
00038 process.pfNoPileUp = cms.EDProducer("TPPileUpPFCandidatesOnPFCandidates",
00039     bottomCollection = cms.InputTag("particleFlow"),
00040     topCollection = cms.InputTag("pfPileUp"),
00041     name = cms.untracked.string('pileUpOnPFCandidates'),
00042     verbose = cms.untracked.bool(False)
00043 )
00044 
00045 
00046 process.pfElectronBenchmarkGeneric = cms.EDAnalyzer("GenericBenchmarkAnalyzer",
00047     maxDeltaPhi = cms.double(0.5),
00048     BenchmarkLabel = cms.string('PFlowElectrons'),
00049     OnlyTwoJets = cms.bool(False),
00050     maxEta = cms.double(2.5),
00051     minEta = cms.double(-1),
00052     recPt = cms.double(2.0),
00053     minDeltaPhi = cms.double(-0.5),
00054     PlotAgainstRecoQuantities = cms.bool(False),
00055     minDeltaEt = cms.double(-100.0),
00056     OutputFile = cms.untracked.string('benchmark.root'),
00057     StartFromGen = cms.bool(False),
00058     deltaRMax = cms.double(0.05),
00059     maxDeltaEt = cms.double(50.0),
00060     InputTruthLabel = cms.InputTag("gensource"),
00061     InputRecoLabel = cms.InputTag("pfAllElectrons"),
00062     doMetPlots = cms.bool(False)
00063 )
00064 
00065 
00066 process.pfNoPileUpSequence = cms.Sequence(process.pfPileUp+process.pfNoPileUp)
00067 
00068 
00069 process.electronBenchmarkGeneric = cms.Sequence(process.pfNoPileUpSequence+process.pfAllElectrons+process.gensource+process.pfElectronBenchmarkGeneric)
00070 
00071 
00072 process.p = cms.Path(process.electronBenchmarkGeneric)
00073 
00074 
00075 process.MessageLogger = cms.Service("MessageLogger",
00076     suppressInfo = cms.untracked.vstring(),
00077     debugs = cms.untracked.PSet(
00078         placeholder = cms.untracked.bool(True)
00079     ),
00080     suppressDebug = cms.untracked.vstring(),
00081     cout = cms.untracked.PSet(
00082         placeholder = cms.untracked.bool(True)
00083     ),
00084     cerr_stats = cms.untracked.PSet(
00085         threshold = cms.untracked.string('WARNING'),
00086         output = cms.untracked.string('cerr'),
00087         optionalPSet = cms.untracked.bool(True)
00088     ),
00089     warnings = cms.untracked.PSet(
00090         placeholder = cms.untracked.bool(True)
00091     ),
00092     default = cms.untracked.PSet(
00093 
00094     ),
00095     statistics = cms.untracked.vstring('cerr_stats'),
00096     cerr = cms.untracked.PSet(
00097         INFO = cms.untracked.PSet(
00098             limit = cms.untracked.int32(0)
00099         ),
00100         noTimeStamps = cms.untracked.bool(False),
00101         FwkReport = cms.untracked.PSet(
00102             reportEvery = cms.untracked.int32(100),
00103             optionalPSet = cms.untracked.bool(True),
00104             limit = cms.untracked.int32(10000000)
00105         ),
00106         default = cms.untracked.PSet(
00107             limit = cms.untracked.int32(10000000)
00108         ),
00109         Root_NoDictionary = cms.untracked.PSet(
00110             optionalPSet = cms.untracked.bool(True),
00111             limit = cms.untracked.int32(0)
00112         ),
00113         threshold = cms.untracked.string('INFO'),
00114         FwkJob = cms.untracked.PSet(
00115             optionalPSet = cms.untracked.bool(True),
00116             limit = cms.untracked.int32(0)
00117         ),
00118         FwkSummary = cms.untracked.PSet(
00119             reportEvery = cms.untracked.int32(1),
00120             optionalPSet = cms.untracked.bool(True),
00121             limit = cms.untracked.int32(10000000)
00122         ),
00123         optionalPSet = cms.untracked.bool(True)
00124     ),
00125     FrameworkJobReport = cms.untracked.PSet(
00126         default = cms.untracked.PSet(
00127             limit = cms.untracked.int32(0)
00128         ),
00129         optionalPSet = cms.untracked.bool(True),
00130         FwkJob = cms.untracked.PSet(
00131             optionalPSet = cms.untracked.bool(True),
00132             limit = cms.untracked.int32(10000000)
00133         )
00134     ),
00135     suppressWarning = cms.untracked.vstring(),
00136     errors = cms.untracked.PSet(
00137         placeholder = cms.untracked.bool(True)
00138     ),
00139     destinations = cms.untracked.vstring('warnings', 
00140         'errors', 
00141         'infos', 
00142         'debugs', 
00143         'cout', 
00144         'cerr'),
00145     debugModules = cms.untracked.vstring(),
00146     infos = cms.untracked.PSet(
00147         optionalPSet = cms.untracked.bool(True),
00148         Root_NoDictionary = cms.untracked.PSet(
00149             optionalPSet = cms.untracked.bool(True),
00150             limit = cms.untracked.int32(0)
00151         ),
00152         placeholder = cms.untracked.bool(True)
00153     ),
00154     categories = cms.untracked.vstring('FwkJob', 
00155         'FwkReport', 
00156         'FwkSummary', 
00157         'Root_NoDictionary'),
00158     fwkJobReports = cms.untracked.vstring('FrameworkJobReport')
00159 )
00160 
00161 
00162 process.DQM = cms.Service("DQM",
00163     filter = cms.untracked.string(''),
00164     publishFrequency = cms.untracked.double(5.0),
00165     collectorHost = cms.untracked.string('localhost'),
00166     collectorPort = cms.untracked.int32(9090),
00167     debug = cms.untracked.bool(False)
00168 )
00169 
00170 
00171 process.DQMStore = cms.Service("DQMStore",
00172     verboseQT = cms.untracked.int32(0),
00173     referenceFileName = cms.untracked.string(''),
00174     verbose = cms.untracked.int32(0),
00175     collateHistograms = cms.untracked.bool(False)
00176 )
00177 
00178 
00179 process.HepPDTESSource = cms.ESSource("HepPDTESSource",
00180     pdtFileName = cms.FileInPath('SimGeneral/HepPDTESSource/data/pythiaparticle.tbl')
00181 )
00182 
00183 
00184 process.maxEvents = cms.untracked.PSet(
00185     input = cms.untracked.int32(-1)
00186 )
00187 
00188