Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-06-28 06:19:01

0001 import FWCore.ParameterSet.Config as cms
0002 import sys
0003 
0004 process = cms.Process("READ")
0005 
0006 process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring("file:"+sys.argv[1]))
0007 process.maxEvents.input = 1
0008 
0009 process.testReadRawDataBuffer = cms.EDAnalyzer("TestReadRawDataBuffer",
0010     rawDataBufferTag = cms.InputTag("rawDataBufferProducer", "", "PROD"),
0011     dataPattern1 = cms.vuint32(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15),
0012     dataPattern2 = cms.vuint32(100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115)
0013 )
0014 
0015 process.out = cms.OutputModule("PoolOutputModule",
0016     fileName = cms.untracked.string('testRawDataBuffer2.root'),
0017     fastCloning = cms.untracked.bool(False)
0018 )
0019 
0020 process.path = cms.Path(process.testReadRawDataBuffer)
0021 
0022 process.endPath = cms.EndPath(process.out)