Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:55

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("testAlt"),
0015                             runInputDir = cms.untracked.string("."),
0016                             datafnPosition = cms.untracked.uint32(2)
0017     #firstEvent = cms.untracked.uint64(10123456835)
0018 )
0019 
0020 process.json = cms.EDAnalyzer("DQMStreamerWriteJsonAnalyzer",
0021                               eventsPerLumi = cms.untracked.uint32(50),
0022                               runNumber = cms.untracked.uint32(1),
0023                               streamName = cms.untracked.string("testAlt"),
0024                               dataFileForEachLumi = cms.untracked.vstring("teststreamfile_alt.dat"),
0025                               pathToWriteJson = cms.untracked.string(".")
0026 )
0027 
0028 process.a1 = cms.EDAnalyzer("StreamThingAnalyzer",
0029     product_to_get = cms.string('m1')
0030 )
0031 
0032 process.out = cms.OutputModule("PoolOutputModule",
0033     fileName = cms.untracked.string('myout.root')
0034 )
0035 
0036 process.end = cms.EndPath(process.a1*process.out*process.json)