CMS 3D CMS Logo

List of all members | Public Member Functions
printPaths.TestPrintPath Class Reference
Inheritance diagram for printPaths.TestPrintPath:

Public Member Functions

def testPrint (self)
 

Detailed Description

Definition at line 36 of file printPaths.py.

Member Function Documentation

def printPaths.TestPrintPath.testPrint (   self)

Definition at line 37 of file printPaths.py.

References printPaths.printPath().

37  def testPrint(self):
38  p=cms.Process("Test")
39  p.foo = cms.EDProducer("Foo")
40  p.p = cms.Path(p.foo)
41  printPath(p.p)
42 
43  p=cms.Process("Test")
44  p.foo = cms.EDProducer("Foo")
45  p.bar = cms.EDProducer("Bar")
46  p.p = cms.Path(p.foo*p.bar)
47  printPath(p.p)
48 
49  p=cms.Process("Test")
50  p.foo = cms.EDProducer("Foo")
51  p.bar = cms.EDProducer("Bar")
52  p.s = cms.Sequence(p.foo*p.bar)
53  p.fii = cms.EDProducer("Fii")
54  p.p = cms.Path(p.s*p.fii)
55  printPath(p.p)
56 
57  printPaths(p)
58 
59  unittest.main()
def printPath(pth, indent="", indentDelta=" ", type="path")
Definition: printPaths.py:12