00001 import FWCore.ParameterSet.Config as cms 00002 00003 process = cms.Process("COPY") 00004 process.load("FWCore.messageLogger.MessageLogger_cfi") 00005 00006 process.maxEvents = cms.untracked.PSet( 00007 input = cms.untracked.int32(10) 00008 ) 00009 process.source = cms.Source("PoolSource", 00010 fileNames = cms.untracked.vstring('/store/RelVal/2007/7/10/RelVal-RelVal152Z-MM-1184071556/0000/14BFDE39-1B2F-DC11-884F-000E0C3F0521.root') 00011 ) 00012 00013 process.copyAll = cms.OutputModule("PoolOutputModule", 00014 fileName = cms.untracked.string('mycopy.root') 00015 ) 00016 00017 process.printEventNumber = cms.OutputModule("AsciiOutputModule") 00018 00019 process.out = cms.EndPath(process.copyAll*process.printEventNumber) 00020