Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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(20)
0009 )
0010 
0011 process.source = cms.Source("EmptySource")
0012 
0013 process.WhatsItAnalyzer = cms.EDAnalyzer("WhatsItAnalyzer",
0014     expectedValues = cms.untracked.vint32(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0))
0015 
0016 process.WhatsItESProducer = cms.ESProducer("WhatsItESProducer",
0017     doodadLabel = cms.string('Two')
0018 )
0019 
0020 # This one is here only to test that we are allowed to
0021 # add the special appendToDataLabel parameter without
0022 # putting it in the fillDescriptions function of the ESProducer.
0023 process.WhatsItESProducer1 = cms.ESProducer("WhatsItESProducer",
0024     doodadLabel = cms.string('Two'),
0025     appendToDataLabel = cms.string('foo')
0026 )
0027 
0028 process.DoodadESSource = cms.ESSource("DoodadESSource",
0029     appendToDataLabel = cms.string('Two')
0030 )
0031 
0032 process.p = cms.Path(process.WhatsItAnalyzer)