Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:39:20

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 
0007 process.source = cms.Source("EmptySource")
0008 process.maxEvents.input = 1
0009 
0010 process.globalObjectMapRecordProducer = cms.EDProducer("TestWriteGlobalObjectMapRecord",
0011     # Test values below are meaningless. We just make sure when we read
0012     # we get the same values.
0013     nGlobalObjectMaps = cms.uint32(2),
0014     algoNames = cms.vstring('muonAlgo', 'electronAlgo'),
0015     algoBitNumbers = cms.vint32(11, 21),
0016     algoResults = cms.vint32(1, 0),
0017     tokenNames0     = cms.vstring('testnameA', 'testNameB'),
0018     tokenNumbers0 = cms.vint32(101, 102),
0019     tokenResults0 = cms.vint32(1, 0),
0020     tokenNames3 = cms.vstring('testNameC', 'testNameD'),
0021     tokenNumbers3 = cms.vint32(1001, 1002),
0022     tokenResults3 = cms.vint32(0, 1),
0023     nElements1 = cms.uint32(3),
0024     nElements2 = cms.uint32(4),
0025     nElements3 = cms.uint32(5),
0026     firstElement = cms.int32(11),
0027     elementDelta = cms.int32(3)
0028 )
0029 
0030 process.out = cms.OutputModule("PoolOutputModule",
0031     fileName = cms.untracked.string('testGlobalObjectMapRecord.root')
0032 )
0033 
0034 process.path = cms.Path(process.globalObjectMapRecordProducer)
0035 process.endPath = cms.EndPath(process.out)