File indexing completed on 2024-04-06 12:12:43
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TABLETEST")
0004
0005 process.source = cms.Source("EmptySource")
0006
0007 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(2))
0008
0009 anInts = [1,2,3]
0010 aFloats = [4.,5., 6.]
0011 aStrings =["einie", "meanie", "meinie"]
0012
0013 process.tableTest = cms.EDProducer("edmtest::TableTestProducer",
0014 anInts = cms.vint32(*anInts),
0015 aFloats = cms.vdouble(*aFloats),
0016 aStrings = cms.vstring(*aStrings) )
0017
0018 process.checkTable = cms.EDAnalyzer("edmtest::TableTestAnalyzer",
0019 table = cms.untracked.InputTag("tableTest"),
0020 anInts = cms.untracked.vint32(*anInts),
0021 aFloats = cms.untracked.vdouble(*aFloats),
0022 aStrings = cms.untracked.vstring(*aStrings) )
0023
0024 process.eventContent = cms.EDAnalyzer("EventContentAnalyzer")
0025
0026 process.p = cms.Path(process.checkTable, cms.Task(process.tableTest) )
0027
0028 process.out = cms.OutputModule("edmtest::TableTestOutputModule",
0029 outputCommands = cms.untracked.vstring("drop *",
0030 "keep *_tableTest_*_*"
0031 ))
0032 process.o = cms.EndPath(process.out)
0033
0034
0035
0036
0037
0038