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 34 of file printPaths.py.

Member Function Documentation

def printPaths.TestPrintPath.testPrint (   self)

Definition at line 35 of file printPaths.py.

References printPaths.printPath().

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