Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-06 22:54:40

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Demo")
0004 
0005 process.MessageLogger = cms.Service("MessageLogger")
0006 
0007 process.maxEvents = cms.untracked.PSet(
0008     input = cms.untracked.int32(20)
0009 )
0010 
0011 process.source = cms.Source("EmptySource",
0012     numberEventsInRun = cms.untracked.uint32(3)
0013 )
0014 
0015 #stuck something into the EventSetup
0016 process.WhatsItESProducer = cms.ESProducer("WhatsItESProducer")
0017 process.DoodadESProducer = cms.ESProducer("DoodadESProducer",
0018     throwException = cms.untracked.bool(True)
0019 )
0020 #es_source = DoodadESSource {}
0021 
0022 process.demo = cms.EDAnalyzer("WhatsItAnalyzer",
0023     expectedValues = cms.untracked.vint32(0)
0024 )
0025 
0026 process.bad = cms.ESSource("EmptyESSource",
0027     recordName = cms.string('GadgetRcd'),
0028     iovIsRunNotTime = cms.bool(True),
0029     firstValid = cms.vuint32(1)
0030 )
0031 
0032 process.p = cms.Path(process.demo)