File indexing completed on 2024-04-06 12:10:56
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process('TEST')
0004
0005
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('Configuration.StandardSequences.Reconstruction_cff')
0008 process.load('FWCore.MessageService.MessageLogger_cfi')
0009
0010 process.source = cms.Source(
0011 "NewEventStreamFileReader",
0012 fileNames = cms.untracked.vstring(
0013
0014 "/store/user/mommsen/testData/run309369_ls0004_streamExpressCosmics_StorageManager.dat"
0015 )
0016 )
0017
0018 process.maxEvents = cms.untracked.PSet(
0019 input = cms.untracked.int32(10)
0020 )
0021
0022 process.load('EventFilter.OnlineMetaDataRawToDigi.onlineMetaDataRawToDigi_cfi')
0023
0024 process.tcdsRaw = cms.EDProducer('TcdsRawToDigi')
0025
0026 process.metaData = cms.EDProducer('OnlineMetaDataRawToDigi')
0027
0028 process.dumpRaw = cms.EDAnalyzer("DumpFEDRawDataProduct",
0029 feds = cms.untracked.vint32 (735,1022,1024),
0030 label = cms.untracked.string("rawDataCollector"),
0031 dumpPayload = cms.untracked.bool( True )
0032 )
0033
0034 process.path = cms.Path(
0035 process.tcdsRaw
0036 +process.metaData
0037 +process.dumpRaw
0038 )
0039
0040 process.output = cms.OutputModule(
0041 "PoolOutputModule",
0042 outputCommands = cms.untracked.vstring("keep *"),
0043 SelectEvents = cms.untracked.PSet(
0044 SelectEvents = cms.vstring('path')
0045 ),
0046 fileName = cms.untracked.string('test.root')
0047 )
0048
0049 process.out = cms.EndPath(
0050 process.output
0051 )