CMS 3D CMS Logo

Classes | Functions
printPaths Namespace Reference

Classes

class  TestPrintPath
 

Functions

def _printOp (op, indent, indentDelta)
 
def printPath (pth, indent="", indentDelta=" ", type="path")
 
def printPaths (process)
 

Function Documentation

◆ _printOp()

def printPaths._printOp (   op,
  indent,
  indentDelta 
)
private

Definition at line 23 of file printPaths.py.

23 def _printOp(op,indent, indentDelta):
24  indent += indentDelta
25  for i in dir(op):
26  o = getattr(op,i)
27  if isinstance(o,mod._Module):
28  print(indent+"module: "+o.label_()+" <"+o.type_()+">")
29  elif isinstance(o, cms.Sequence):
30  printPath(o,indent,indentDelta, "seq")
31  elif isinstance(o,sqt._Sequenceable):
32  _printOp(o,indent,indentDelta)
33 

References DeadROC_duringRun.dir, edm.print(), and printPath().

Referenced by printPath().

◆ printPath()

def printPaths.printPath (   pth,
  indent = "",
  indentDelta = " ",
  type = "path" 
)

Definition at line 12 of file printPaths.py.

12 def printPath(pth, indent="", indentDelta=" ", type="path"):
13  item = pth._seq
14  print(indent+type+": "+pth.label_())
15  indent += indentDelta
16  if isinstance(item,mod._Module):
17  print(indent+"module: "+item.label_()+" <"+item.type_()+">")
18  elif isinstance(item,cms.Sequence):
19  printPath(item,indent,indentDelta,"seq")
20  else:
21  _printOp(item,indent,indentDelta)
22 

References _printOp(), and edm.print().

Referenced by _printOp(), printPaths(), and printPaths.TestPrintPath.testPrint().

◆ printPaths()

def printPaths.printPaths (   process)

Definition at line 7 of file printPaths.py.

7 def printPaths(process):
8  "print all the paths in the process"
9  for p in six.itervalues(process.paths):
10  printPath(p)
11 

References printPath().

printPaths.printPath
def printPath(pth, indent="", indentDelta=" ", type="path")
Definition: printPaths.py:12
printPaths.printPaths
def printPaths(process)
Definition: printPaths.py:7
edm::print
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66
printPaths._printOp
def _printOp(op, indent, indentDelta)
Definition: printPaths.py:23
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23