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 #es_source = DoodadESSource {}
0018 
0019 process.demo = cms.EDAnalyzer("WhatsItAnalyzer",
0020     expectedValues = cms.untracked.vint32(0)
0021 )
0022 
0023 process.bad = cms.ESSource("EmptyESSource",
0024     recordName = cms.string('GadgetRcd'),
0025     iovIsRunNotTime = cms.bool(True),
0026     firstValid = cms.vuint32(1)
0027 )
0028 
0029 process.p = cms.Path(process.demo)