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:testDropOnInput2.root'
0008     ),
0009     inputCommands = cms.untracked.vstring(
0010         'keep *', 
0011         'drop *_prodA_*_*',
0012         'drop *_prodD_*_*',
0013         'drop *_prodF_*_*',
0014         'drop *_A101_*_*',
0015         'drop *_K201_*_*'
0016     ),
0017     dropDescendantsOfDroppedBranches = cms.untracked.bool(True)
0018 )
0019 
0020 process.a1 = cms.EDAnalyzer("TestFindProduct",
0021   inputTags = cms.untracked.VInputTag(
0022       cms.InputTag("prodC"),
0023       cms.InputTag("prodE"),
0024       cms.InputTag("prodG"),
0025       cms.InputTag("K100"),
0026       cms.InputTag("K200")      
0027   ),
0028   inputTagsNotFound = cms.untracked.VInputTag(
0029       cms.InputTag("prodA"),
0030       cms.InputTag("prodD"),
0031       cms.InputTag("prodB"),
0032       cms.InputTag("prodF"),
0033       cms.InputTag("NK101"),
0034       cms.InputTag("A101"),
0035       cms.InputTag("K102"),
0036       cms.InputTag("K103"),
0037       cms.InputTag("K104"),
0038       cms.InputTag("K201"),
0039       cms.InputTag("A201"),
0040       cms.InputTag("K202"),
0041       cms.InputTag("K203"),
0042       cms.InputTag("K204")
0043   )
0044 )
0045 
0046 process.path = cms.Path(process.a1)