Definition at line 43 of file usedOutput.py.
def usedOutput.TestPrintPath.testGetModules |
( |
|
self | ) |
|
Definition at line 44 of file usedOutput.py.
References usedOutput.extractUsedOutputs(), usedOutput.getModulesFromSequence(), and edm.print().
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)
def extractUsedOutputs(process)
S & print(S &os, JobReport::InputFile const &f)
def getModulesFromSequence(sequence, list)