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("TEST3")
0004 
0005 process.source = cms.Source("PoolSource",
0006     fileNames = cms.untracked.vstring(
0007         'file:testDropOnInput2001.root'
0008     ),
0009     inputCommands = cms.untracked.vstring(
0010         'keep *', 
0011         'drop *_prodA_*_*',
0012         'drop *_prodD_*_*',
0013         'drop *_prodF_*_*'
0014     ),
0015     dropDescendantsOfDroppedBranches = cms.untracked.bool(True)
0016 )
0017 
0018 process.a1 = cms.EDAnalyzer("TestFindProduct",
0019   inputTags = cms.untracked.VInputTag(
0020       cms.InputTag("prodC"),
0021       cms.InputTag("prodB")
0022   ),
0023   inputTagsNotFound = cms.untracked.VInputTag(
0024       cms.InputTag("prodA"),
0025       cms.InputTag("prodD"),
0026       cms.InputTag("prodE"),
0027       cms.InputTag("prodF"),
0028       cms.InputTag("prodG")
0029   )
0030 )
0031 
0032 process.test1 = cms.EDAnalyzer("TestParentage",
0033                                inputTag = cms.InputTag("A101"),
0034                                expectedAncestors = cms.vstring("K100")
0035 )
0036 
0037 process.test2 = cms.EDAnalyzer("TestParentage",
0038                                inputTag = cms.InputTag("K100"),
0039                                expectedAncestors = cms.vstring()
0040 )
0041 
0042 process.test3 = cms.EDAnalyzer("TestParentage",
0043                                inputTag = cms.InputTag("K102"),
0044                                expectedAncestors = cms.vstring("K100", "NK101")
0045 )
0046 
0047 process.test4 = cms.EDAnalyzer("TestParentage",
0048                                inputTag = cms.InputTag("K103"),
0049                                expectedAncestors = cms.vstring("K100", "NK101")
0050 )
0051 
0052 process.test5 = cms.EDAnalyzer("TestParentage",
0053                                inputTag = cms.InputTag("K104"),
0054                                expectedAncestors = cms.vstring("K100", "NK101")
0055 )
0056 
0057 process.path = cms.Path(process.a1 *
0058                         process.test1 *
0059                         process.test2 *
0060                         process.test3 *
0061                         process.test4 *
0062                         process.test5
0063 )