Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:40

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST1")
0004 
0005 process.source = cms.Source("EmptySource",
0006     firstEvent = cms.untracked.uint32(1)
0007 )
0008 
0009 process.maxEvents = cms.untracked.PSet(
0010     input = cms.untracked.int32(1)
0011 )
0012 
0013 process.prod1 = cms.EDProducer("AddIntsProducer",
0014     labels = cms.VInputTag()
0015 )
0016 
0017 process.prod2 = cms.EDProducer("AddIntsProducer",
0018     labels = cms.VInputTag("prod1")
0019 )
0020 
0021 process.prod3 = cms.EDProducer("AddIntsProducer",
0022     labels = cms.VInputTag("prod2")
0023 )
0024 
0025 process.prodA = cms.EDProducer("AddIntsProducer",
0026     labels = cms.VInputTag()
0027 )
0028 
0029 process.prodB = cms.EDProducer("AddIntsProducer",
0030     labels = cms.VInputTag("prodA"),
0031     onlyGetOnEvent = cms.untracked.uint32(1)
0032 )
0033 
0034 process.prodC = cms.EDProducer("AddIntsProducer",
0035     labels = cms.VInputTag("prodB"),
0036     onlyGetOnEvent = cms.untracked.uint32(2)
0037 )
0038 
0039 process.prodF = cms.EDProducer("AddIntsProducer",
0040     labels = cms.VInputTag()
0041 )
0042 
0043 process.prodG = cms.EDProducer("AddIntsProducer",
0044     labels = cms.VInputTag("prodF"),
0045     onlyGetOnEvent = cms.untracked.uint32(2)
0046 )
0047 
0048 process.K100 = cms.EDProducer("AddIntsProducer",
0049     labels = cms.VInputTag()
0050 )
0051 
0052 process.NK101 = cms.EDProducer("AddIntsProducer",
0053     labels = cms.VInputTag("K100")
0054 )
0055 
0056 process.A101 = cms.EDAlias(NK101 = cms.VPSet( cms.PSet(type=cms.string('edmtestIntProduct') ) ) )
0057 
0058 process.K102 = cms.EDProducer("AddIntsProducer",
0059     labels = cms.VInputTag("NK101")
0060 )
0061 
0062 process.K104 = cms.EDProducer("AddIntsProducer",
0063     labels = cms.VInputTag("A101")
0064 )
0065 
0066 process.K200 = cms.EDProducer("AddIntsProducer",
0067     labels = cms.VInputTag()
0068 )
0069 
0070 process.K201 = cms.EDProducer("AddIntsProducer",
0071     labels = cms.VInputTag("K200")
0072 )
0073 
0074 process.A201 = cms.EDAlias(K201 = cms.VPSet( cms.PSet(type=cms.string('edmtestIntProduct') ) ) )
0075 
0076 process.K202 = cms.EDProducer("AddIntsProducer",
0077     labels = cms.VInputTag("K201")
0078 )
0079 
0080 process.K204 = cms.EDProducer("AddIntsProducer",
0081     labels = cms.VInputTag("A201")
0082 )
0083 
0084 process.out = cms.OutputModule("PoolOutputModule",
0085     fileName = cms.untracked.string('testDropOnInput1_1.root'),
0086     outputCommands = cms.untracked.vstring(
0087         'keep *',
0088         'drop *_NK101_*_*',
0089         'drop *_A201_*_*',
0090         'drop *_prod2_*_*'
0091     )
0092 )
0093 
0094 process.path1 = cms.Path(process.prod1 + process.prod2 + process.prod3)
0095 process.path2 = cms.Path(process.prodA + process.prodB + process.prodC)
0096 process.path3 = cms.Path(process.prodF + process.prodG)
0097 process.path4 = cms.Path(process.K100 + process.NK101 + process.K102 + process.K104)
0098 process.path5 = cms.Path(process.K200 + process.K201 + process.K202 + process.K204)
0099 
0100 process.endpath = cms.EndPath(process.out)