Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-26 05:06:38

0001 import FWCore.ParameterSet.Config as cms
0002 import sys
0003 
0004 process = cms.Process("READRAW")
0005 
0006 process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring("file:"+sys.argv[1]))
0007 process.maxEvents.input = 1
0008 
0009 process.testReadSDSDRawDataCollection = cms.EDAnalyzer("TestReadSDSRawDataCollection",
0010     sdsRawDataCollectionTag = cms.InputTag("sdsRawDataCollectionProducer", "", "PROD"),
0011     expectedSDSData1 = cms.vuint32(0, 1, 2, 3),
0012     expectedSDSData2 = cms.vuint32(42, 43, 44, 45)
0013 )
0014 
0015 process.out = cms.OutputModule("PoolOutputModule",
0016     fileName = cms.untracked.string('testSDSRawDataCollection2.root'),
0017     fastCloning = cms.untracked.bool(False)
0018 )
0019 
0020 process.path = cms.Path(process.testReadSDSDRawDataCollection)
0021 
0022 process.endPath = cms.EndPath(process.out)