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("TEST")
0004 
0005 process.source = cms.Source("EmptySource")
0006 
0007 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(3))
0008 
0009 process.options = cms.untracked.PSet(
0010         canDeleteEarly = cms.untracked.vstring("edmtestDeleteEarly_maker__TEST"))
0011 
0012 
0013 process.maker = cms.EDProducer("DeleteEarlyProducer")
0014 
0015 process.reader = cms.EDAnalyzer("DeleteEarlyReader",
0016                                 tag = cms.untracked.InputTag("maker"),
0017                                 mightGet = cms.untracked.vstring("edmtestDeleteEarly_maker__TEST"))
0018 
0019 #the following wants the DeleteEarly but does not say it needs it so will fail
0020 process.readerFail = cms.EDAnalyzer("DeleteEarlyReader",
0021                                     tag = cms.untracked.InputTag("maker"))
0022 
0023 
0024 process.p = cms.Path(process.maker+cms.wait(process.reader)+process.readerFail)
0025 process.add_(cms.Service("Tracer"))