Definition at line 43 of file usedOutput.py.
◆ testGetModules()
def usedOutput.TestPrintPath.testGetModules |
( |
|
self | ) |
|
Definition at line 44 of file usedOutput.py.
44 def testGetModules(self):
46 p.foo = cms.EDProducer(
"Foo")
53 p.foo = cms.OutputModule(
"Foo")
54 p.bar = cms.OutputModule(
"Bar")
55 p.unused = cms.OutputModule(
"Unused")
56 p.p = cms.EndPath(p.foo*p.bar)
58 print(len(usedOutputs))
61 p.foo = cms.EDProducer(
"Foo")
62 p.bar = cms.EDProducer(
"Bar")
63 p.s = cms.Sequence(p.foo*p.bar)
64 p.fii = cms.EDProducer(
"Fii")
65 p.p = cms.Path(p.s*p.fii)
References usedOutput.extractUsedOutputs(), usedOutput.getModulesFromSequence(), and edm.print().