Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:30

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.sdsRawDataCollectionProducer = cms.EDProducer("TestWriteSDSRawDataCollection",
0011     # Test values below are meaningless. We just make sure when we read
0012     # we get the same values.
0013     SDSData1 = cms.vuint32(0, 1, 2, 3),
0014     SDSData2 = cms.vuint32(42, 43, 44, 45)
0015 )
0016 
0017 process.out = cms.OutputModule("PoolOutputModule",
0018     fileName = cms.untracked.string('testSDSRawDataCollection.root')
0019 )
0020 
0021 process.path = cms.Path(process.sdsRawDataCollectionProducer)
0022 process.endPath = cms.EndPath(process.out)