CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/FWCore/GuiBrowsers/examples/copy_events_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("copy_events")
00004 
00005 # source
00006 process.source = cms.Source("PoolSource", 
00007      fileNames = cms.untracked.vstring('file:/opt/user/hinzmann/QCDDiJet_Pt50to80_Summer09_RECO_3_1_X.root')
00008 )
00009 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10) )
00010 
00011 # Output module configuration
00012 process.out = cms.OutputModule("PoolOutputModule",
00013     fileName = cms.untracked.string('QCDDiJet_Pt50to80_Summer09_RECO_3_1_X_10events.root'),
00014 )
00015 process.outpath = cms.EndPath(process.out)