Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0006 
0007 process.maxEvents = cms.untracked.PSet(
0008     input = cms.untracked.int32(5)
0009 )
0010 
0011 process.source = cms.Source("EmptySource")
0012 
0013 process.neededSoDummyRecordLoadedBeforeEmptyESSource = cms.ESProducer("LoadableDummyProvider",
0014     value = cms.untracked.int32(10)
0015 )
0016 
0017 process.bad = cms.ESSource("EmptyESSource",
0018     recordName = cms.string('DummyRecord'),
0019     iovIsRunNotTime = cms.bool(True),
0020     firstValid = cms.vuint32(10)
0021 )
0022 
0023 process.m = cms.EDAnalyzer("TestESDummyDataAnalyzer",
0024     expected = cms.int32(5)
0025 )
0026 
0027 process.good = cms.ESSource("LoadableDummyESSource",
0028     startRunForIOV = cms.untracked.uint32(1),
0029     value = cms.untracked.int32(5)
0030 )
0031 
0032 process.prefer("good")
0033 process.p1 = cms.Path(process.m)
0034 
0035