Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:47

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ##____________________________________________________________________________||
0004 process = cms.Process("TEST")
0005 
0006 ##____________________________________________________________________________||
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008 
0009 ##____________________________________________________________________________||
0010 process.load("RecoMET.Configuration.RecoGenMET_cff")
0011 process.load("RecoMET.Configuration.GenMETParticles_cff")
0012 
0013 ##____________________________________________________________________________||
0014 from RecoMET.METProducers.testInputFiles_cff import recoMETtestInputFiles
0015 
0016 process.source = cms.Source(
0017     "PoolSource",
0018     fileNames = cms.untracked.vstring(recoMETtestInputFiles)
0019     )
0020 
0021 ##____________________________________________________________________________||
0022 process.out = cms.OutputModule(
0023     "PoolOutputModule",
0024     fileName = cms.untracked.string('reco_genMET.root'),
0025     SelectEvents   = cms.untracked.PSet( SelectEvents = cms.vstring('p') ),
0026     outputCommands = cms.untracked.vstring(
0027         'drop *',
0028         'keep *_*_*_TEST'
0029         )
0030     )
0031 
0032 ##____________________________________________________________________________||
0033 process.options   = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0034 process.MessageLogger.cerr.FwkReport.reportEvery = 50
0035 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0036 
0037 ##____________________________________________________________________________||
0038 process.p = cms.Path(
0039     process.genJetParticles*
0040     process.genMETParticles *
0041     process.genMetCalo *
0042     process.genMetTrue
0043     )
0044 
0045 process.e1 = cms.EndPath(
0046     process.out
0047     )
0048 
0049 ##____________________________________________________________________________||