Definition at line 42 of file usedOutput.py.
def usedOutput.TestPrintPath.testGetModules |
( |
|
self | ) |
|
Definition at line 43 of file usedOutput.py.
References usedOutput.extractUsedOutputs(), and usedOutput.getModulesFromSequence().
45 p.foo = cms.EDProducer(
"Foo")
52 p.foo = cms.OutputModule(
"Foo")
53 p.bar = cms.OutputModule(
"Bar")
54 p.unused = cms.OutputModule(
"Unused")
55 p.p = cms.EndPath(p.foo*p.bar)
57 print len(usedOutputs)
60 p.foo = cms.EDProducer(
"Foo")
61 p.bar = cms.EDProducer(
"Bar")
62 p.s = cms.Sequence(p.foo*p.bar)
63 p.fii = cms.EDProducer(
"Fii")
64 p.p = cms.Path(p.s*p.fii)
def extractUsedOutputs(process)
def getModulesFromSequence(sequence, list)