Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Runs using configuration cfi file that was autogenerated
0002 # The purpose is to test the generation of cfi files
0003 
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 process = cms.Process("TEST")
0007 
0008 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0009 
0010 process.maxEvents = cms.untracked.PSet(
0011     input = cms.untracked.int32(1)
0012 )
0013 
0014 process.source = cms.Source("EmptySource")
0015 
0016 # test the autogenerated cfi
0017 from testProducerWithPsetDesc_cfi import *
0018 
0019 process.testProducerWithPsetDesc = testProducerWithPsetDesc
0020 process.testProducerWithPsetDesc.plugin1.type = cms.string("edmtestAnotherOneMaker")
0021 
0022 process.p1 = cms.Path(process.testProducerWithPsetDesc)
0023 
0024 # also run a test module using a helper plugin
0025 process.load("FWCore.Integration.pluginUsingProducer_cfi")
0026 process.p2 = cms.Path(process.pluginUsingProducer)