Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:15

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TRANSFER")
0004 
0005 import FWCore.Framework.test.cmsExceptionsFatal_cff
0006 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0007 
0008 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0009 
0010 process.source = cms.Source("DQMStreamerReader",
0011                             SelectEvents = cms.untracked.vstring("*"),
0012                             runNumber =cms.untracked.uint32(1),
0013                             delayMillis =cms.untracked.uint32(100),
0014                             streamLabel = cms.untracked.string("testExt"),
0015                             runInputDir = cms.untracked.string("."),
0016                             datafnPosition = cms.untracked.uint32(2)
0017 )
0018 
0019 process.json = cms.EDAnalyzer("DQMStreamerWriteJsonAnalyzer",
0020                               eventsPerLumi = cms.untracked.uint32(50),
0021                               runNumber = cms.untracked.uint32(1),
0022                               streamName = cms.untracked.string("testExt"),
0023                               dataFileForEachLumi = cms.untracked.vstring("teststreamfile_ext.dat"),
0024                               pathToWriteJson = cms.untracked.string(".")
0025 )
0026 
0027 process.a1 = cms.EDAnalyzer("StreamThingAnalyzer",
0028     product_to_get = cms.string('m1')
0029 )
0030 
0031 process.out = cms.OutputModule("PoolOutputModule",
0032     fileName = cms.untracked.string('myout.root')
0033 )
0034 
0035 process.end = cms.EndPath(process.a1*process.out*process.json)