Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:47:29

0001 # This configuration file tests the code that checks
0002 # for missing ROOT dictionaries. It is intentional
0003 # that the cmsRun job fails with an exception.
0004 
0005 # Note that this only tests one simple case,
0006 # but one could use this as a starting point
0007 # to test other cases by editing the classes_def.xml
0008 # to comment out dictionary definitions or the editing
0009 # the consumes and produces calls in
0010 # MissingDictionaryTestProducer to test the many other
0011 # possible cases in this part of the code.
0012 
0013 import FWCore.ParameterSet.Config as cms
0014 
0015 process = cms.Process("PROD")
0016 
0017 process.source = cms.Source("EmptySource")
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(3)
0020 )
0021 
0022 process.out = cms.OutputModule("PoolOutputModule",
0023     fileName = cms.untracked.string('testMissingDictionaries.root')
0024 )
0025 
0026 process.a3 = cms.EDProducer("TestMod")
0027 
0028 process.a1 = cms.EDProducer("MissingDictionaryTestProducer",
0029   inputTag = cms.InputTag("a2")
0030 )
0031 
0032 process.p = cms.Path(process.a3 * process.a1)
0033 
0034 process.e = cms.EndPath(process.out)