File indexing completed on 2025-06-28 06:19:01
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("PROD")
0004
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006
0007 process.source = cms.Source("EmptySource")
0008 process.maxEvents.input = 1
0009
0010 process.rawDataBufferProducer = cms.EDProducer("TestWriteRawDataBuffer",
0011
0012
0013 dataPattern1 = cms.vuint32(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15),
0014 dataPattern2 = cms.vuint32(100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115)
0015 )
0016
0017 process.out = cms.OutputModule("PoolOutputModule",
0018 fileName = cms.untracked.string('testRawDataBuffer.root')
0019 )
0020
0021 process.path = cms.Path(process.rawDataBufferProducer)
0022 process.endPath = cms.EndPath(process.out)