test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
printPaths.TestPrintPath Class Reference
Inheritance diagram for printPaths.TestPrintPath:

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.

References printPaths.printPath().

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