Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SECOND")
0004 
0005 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0006 
0007 process.source = cms.Source("PoolSource",
0008     fileNames = cms.untracked.vstring('file:testEventHistory_1.root')
0009 )
0010 
0011 process.intdeque = cms.EDProducer("IntDequeProducer",
0012     count = cms.int32(12),
0013     ivalue = cms.int32(21)
0014 )
0015 
0016 process.intlist = cms.EDProducer("IntListProducer",
0017     count = cms.int32(4),
0018     ivalue = cms.int32(3)
0019 )
0020 
0021 process.intset = cms.EDProducer("IntSetProducer",
0022     start = cms.int32(100),
0023     stop = cms.int32(110)
0024 )
0025 
0026 process.intvec = cms.EDProducer("IntVectorProducer",
0027     count = cms.int32(9),
0028     ivalue = cms.int32(11)
0029 )
0030 
0031 process.filt55 = cms.EDFilter("TestFilterModule",
0032     acceptValue = cms.untracked.int32(55)
0033 )
0034 
0035 process.filt75 = cms.EDFilter("TestFilterModule",
0036     acceptValue = cms.untracked.int32(75)
0037 )
0038 
0039 process.out = cms.OutputModule("PoolOutputModule",
0040     SelectEvents = cms.untracked.PSet(
0041         SelectEvents = cms.vstring('f55')
0042     ),
0043     fileName = cms.untracked.string('testEventHistory_2.root')
0044 )
0045 
0046 process.s = cms.Sequence(process.intdeque+process.intlist+process.intset+process.intvec)
0047 process.f55 = cms.Path(process.s*process.filt55)
0048 process.f75 = cms.Path(process.s*process.filt75)
0049 process.ep2 = cms.EndPath(process.out)
0050 
0051 process.sched = cms.Schedule(process.f55, process.f75, process.ep2)