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 print().
47 p.foo = cms.EDProducer(
"Foo")
54 p.foo = cms.OutputModule(
"Foo")
55 p.bar = cms.OutputModule(
"Bar")
56 p.unused = cms.OutputModule(
"Unused")
57 p.p = cms.EndPath(p.foo*p.bar)
59 print(len(usedOutputs))
62 p.foo = cms.EDProducer(
"Foo")
63 p.bar = cms.EDProducer(
"Bar")
64 p.s = cms.Sequence(p.foo*p.bar)
65 p.fii = cms.EDProducer(
"Fii")
66 p.p = cms.Path(p.s*p.fii)
unittest.main()
def getModulesFromSequence
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)