CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/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)