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 = 4
0006 process.source = cms.Source("EmptySource")
0007 
0008 # In presence of looper nothing is deleted
0009 process.producerEventNotConsumed = cms.EDProducer("edmtest::MustRunIntProducer", ivalue = cms.int32(1), mustRunEvent = cms.bool(False))
0010 
0011 process.pInt = cms.EDProducer("IntProducer",
0012     ivalue = cms.int32(1)
0013 )
0014 #Dummy looper will loop twice
0015 process.looper = cms.Looper("TestModuleChangeLooper",
0016     startingValue = cms.untracked.int32(1),
0017     tag = cms.untracked.InputTag("pInt")
0018 )
0019 
0020 process.t1 = cms.Task(process.producerEventNotConsumed)
0021 process.p1 = cms.Path(process.pInt, process.t1)