CMS 3D CMS Logo

copy_events_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("copy_events")
4 
5 # source
6 process.source = cms.Source("PoolSource",
7  fileNames = cms.untracked.vstring('file:/opt/user/hinzmann/QCDDiJet_Pt50to80_Summer09_RECO_3_1_X.root')
8 )
9 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10) )
10 
11 # Output module configuration
12 process.out = cms.OutputModule("PoolOutputModule",
13  fileName = cms.untracked.string('QCDDiJet_Pt50to80_Summer09_RECO_3_1_X_10events.root'),
14 )
15 process.outpath = cms.EndPath(process.out)