Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 
0005 process.maxEvents.input = 3
0006 
0007 process.source = cms.Source("EmptySource")
0008 
0009 process.WhatsItESProducer = cms.ESProducer("WhatsItESProducer")
0010 
0011 process.DoodadESSource = cms.ESSource("DoodadESSource")
0012 
0013 process.thingProducer = cms.EDProducer("ThingProducer",
0014                                        offsetDelta = cms.int32(100),
0015                                        nThings = cms.int32(50)
0016 )
0017 
0018 process.trackOfThingsProducerB = cms.EDProducer("TrackOfThingsProducer",
0019     inputTag = cms.InputTag('thingProducer'),
0020     keysToReference = cms.vuint32(0, 1, 2, 3)
0021 )
0022 
0023 process.trackOfThingsProducerC = cms.EDProducer("TrackOfThingsProducer",
0024     inputTag = cms.InputTag('thingProducer'),
0025     keysToReference = cms.vuint32(4, 5, 6, 7)
0026 )
0027 
0028 process.slimmingThingProducerB = cms.EDProducer("SlimmingThingProducer",
0029     inputTag = cms.InputTag('thingProducer'),
0030     trackTag = cms.InputTag('trackOfThingsProducerB'),
0031     offsetToThinnedKey = cms.uint32(0),
0032     expectedCollectionSize = cms.uint32(50)
0033 )
0034 
0035 process.slimmingThingProducerC = cms.EDProducer("SlimmingThingProducer",
0036     inputTag = cms.InputTag('thingProducer'),
0037     trackTag = cms.InputTag('trackOfThingsProducerC'),
0038     offsetToThinnedKey = cms.uint32(0),
0039     expectedCollectionSize = cms.uint32(50)
0040 )
0041 
0042 process.p = cms.Path(
0043     process.thingProducer *
0044     process.trackOfThingsProducerB *
0045     process.trackOfThingsProducerC *
0046     process.slimmingThingProducerB *
0047     process.slimmingThingProducerC
0048 )