Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-11 22:43:50

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.maxEvents = cms.untracked.PSet(
0006     input = cms.untracked.int32(5)
0007 )
0008 
0009 process.source = cms.Source("EmptySource")
0010 
0011 process.intEventProducer = cms.EDProducer("IntProducer",
0012     ivalue = cms.int32(42)
0013 )
0014 
0015 process.essource = cms.ESSource("EmptyESSource",
0016     recordName = cms.string('DummyRecord'),
0017     iovIsRunNotTime = cms.bool(True),
0018     firstValid = cms.vuint32(1)
0019 )
0020 process.add_(cms.ESProducer("LoadableDummyProvider",
0021                             value = cms.untracked.int32(5)))
0022 
0023 process.looper = cms.Looper("IntTestLooper",
0024     srcEvent = cms.untracked.VInputTag("intEventProducer"),
0025     expectEventValues = cms.untracked.vint32(42),
0026     expectESValue = cms.untracked.int32(5)
0027 )
0028 
0029 process.p1 = cms.Path(process.intEventProducer)