| The Gaudi Framework v32r1 (f65d50dc)

Classes | Functions | Variables
GaudiConfig.ControlFlow Namespace Reference

## Classes
class | _TestAlgorithm
class | _TestVisitor
class | AndNode
class | ControlFlowBool
class | ControlFlowLeaf
class | ControlFlowNode
class | DotVisitor
class | ignore
class | InvertNode
class | line
class | OrderedNode
class | OrNode
class | par
class | seq

## Functions
def | test ()

## Variables
| CFTrue = ControlFlowBool(True)
| CFFalse = ControlFlowBool(False)

## Detailed Description

    Classes for the implementation of the Control Flow Structure Syntax.

    @see: https://github.com/lhcb/scheduling-event-model/tree/master/controlflow_syntax

## Function Documentation

## ◆ test()

def GaudiConfig.ControlFlow.test | ( |  | ) |

Definition at line 312 of file ControlFlow.py.

312 def test():
313 Algorithm = _TestAlgorithm
314
315 a = Algorithm("a")
316 b = Algorithm("b")
317 c = Algorithm("c")
318 d = Algorithm("d")
319 e = Algorithm("e")
320 f = Algorithm("f")
321 g = Algorithm("g")
322 sequence = seq(b >> a >> f)
323 expression = sequence | ~c & par(d & e & g)
324 a = (expression == expression)
325 aLine = line("MyTriggerPath", expression)
326 visitor = _TestVisitor()
327 visitor2 = DotVisitor()
328 print "\nPrinting trigger line:"
329 print aLine
330 print "\nPrinting expression:"
331 print expression
332 print "\nTraversing through expression:\n"
333 expression.visitNode(visitor)
334 expression.visitNode(visitor2)
335 visitor2.write("out.dot")
ManySmallAlgs.seq
seq
Definition: ManySmallAlgs.py:89
compareOutputFiles.par
string par
Definition: compareOutputFiles.py:465
Algorithm
Alias for backward compatibility.
Definition: Algorithm.h:56
GaudiConfig.ControlFlow.test
def test()
Definition: ControlFlow.py:312
plotSpeedupsPyRoot.line
line
Definition: plotSpeedupsPyRoot.py:170

## Variable Documentation

## ◆ CFFalse

GaudiConfig.ControlFlow.CFFalse = ControlFlowBool(False)

Definition at line 83 of file ControlFlow.py.

## ◆ CFTrue

GaudiConfig.ControlFlow.CFTrue = ControlFlowBool(True)

Definition at line 82 of file ControlFlow.py.