CMS 3D CMS Logo

Public Member Functions

printPaths::TestPrintPath Class Reference

List of all members.

Public Member Functions

def testPrint

Detailed Description

Definition at line 34 of file printPaths.py.


Member Function Documentation

def printPaths::TestPrintPath::testPrint (   self)

Definition at line 35 of file printPaths.py.

00036                            :
00037             p=cms.Process("Test")
00038             p.foo = cms.EDProducer("Foo")
00039             p.p = cms.Path(p.foo)
00040             printPath(p.p)
00041 
00042             p=cms.Process("Test")
00043             p.foo = cms.EDProducer("Foo")
00044             p.bar = cms.EDProducer("Bar")
00045             p.p = cms.Path(p.foo*p.bar)
00046             printPath(p.p)
00047 
00048             p=cms.Process("Test")
00049             p.foo = cms.EDProducer("Foo")
00050             p.bar = cms.EDProducer("Bar")
00051             p.s = cms.Sequence(p.foo*p.bar)
00052             p.fii = cms.EDProducer("Fii")
00053             p.p = cms.Path(p.s*p.fii)
00054             printPath(p.p)
00055             
00056             printPaths(p)
00057 
    unittest.main()