Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.options = cms.untracked.PSet(
0006     numberOfStreams = cms.untracked.uint32(1),
0007     numberOfConcurrentRuns = cms.untracked.uint32(1),
0008     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1)
0009 )
0010 
0011 process.source = cms.Source("EmptySource")
0012 process.maxEvents = cms.untracked.PSet(
0013     input = cms.untracked.int32(3)
0014 )
0015 
0016 process.producerUsingCollector = cms.EDProducer("ProducerUsingCollector")
0017 
0018 process.out = cms.OutputModule("PoolOutputModule",
0019     fileName = cms.untracked.string('testProducesCollector.root')
0020 )
0021 
0022 process.test = cms.EDAnalyzer("TestFindProduct",
0023   inputTags = cms.untracked.VInputTag(cms.InputTag("producerUsingCollector"),
0024                                       cms.InputTag("producerUsingCollector", "event"),
0025                                       cms.InputTag("producerUsingCollector", "eventOther")),
0026   inputTagsUInt64 = cms.untracked.VInputTag(cms.InputTag("producerUsingCollector")),
0027   inputTagsEndLumi = cms.untracked.VInputTag(cms.InputTag("producerUsingCollector", "beginLumi"),
0028                                              cms.InputTag("producerUsingCollector", "endLumi")),
0029   inputTagsEndRun = cms.untracked.VInputTag(cms.InputTag("producerUsingCollector", "beginRun"),
0030                                             cms.InputTag("producerUsingCollector", "endRun")),
0031   expectedSum = cms.untracked.int32(56)
0032 )
0033 
0034 process.p = cms.Path(process.producerUsingCollector * process.test)
0035 
0036 process.e = cms.EndPath(process.out)