CMS 3D CMS Logo

ConfFile_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("OWNPARTICLES")
00004 
00005 process.load("FWCore.MessageService.MessageLogger_cfi")
00006 
00007 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
00008 
00009 process.source = cms.Source("PoolSource",
00010     # replace 'myfile.root' with the source file you want to use
00011     fileNames = cms.untracked.vstring(
00012         'file:myfile.root'
00013     )
00014 )
00015 
00016 process.myProducerLabel = cms.EDProducer('prodname'
00017 @example_myparticle     , muons = cms.untracked.InputTag('muons')
00018 @example_myparticle     , electrons = cms.untracked.InputTag('pixelMatchGsfElectrons')
00019 )
00020 
00021 process.out = cms.OutputModule("PoolOutputModule",
00022     fileName = cms.untracked.string('myOutputFile.root')
00023 @example_myparticle     , outputCommands = cms.untracked.vstring(
00024 @example_myparticle         'drop *',
00025 @example_myparticle         'keep *_muons_*_*',
00026 @example_myparticle         'keep *_pixelMatchGsfElectrons_*_*', 
00027 @example_myparticle         'keep *_*_*_OWNPARTICLES'
00028 @example_myparticle     )
00029 )
00030 
00031   
00032 process.p = cms.Path(process.myProducerLabel)
00033 
00034 process.e = cms.EndPath(process.out)

Generated on Tue Jun 9 17:36:40 2009 for CMSSW by  doxygen 1.5.4