Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TESTMODULEDELETE")
0004 
0005 process.maxEvents.input = 1
0006 process.options.deleteNonConsumedUnscheduledModules = False
0007 process.source = cms.Source("EmptySource")
0008 
0009 process.intEventProducer = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0010 process.intEventConsumer = cms.EDAnalyzer("IntTestAnalyzer",
0011     moduleLabel = cms.untracked.InputTag("intEventProducer"),
0012     valueMustMatch = cms.untracked.int32(1)
0013 )
0014 process.intProducerNotConsumed = cms.EDProducer("edmtest::MustRunIntProducer",
0015     ivalue = cms.int32(1),
0016     mustRunEvent = cms.bool(False)
0017 )
0018 
0019 process.t = cms.Task(
0020     process.intEventProducer,
0021     process.intProducerNotConsumed
0022 )
0023 process.p = cms.Path(
0024     process.intEventConsumer,
0025     process.t
0026 )