11 from __future__
import print_function
14 from Configurables
import EventLoopMgr
15 from Configurables
import Gaudi_Test_MySuperAlg
as MySuperAlg
16 from Configurables
import (
17 GaudiExamplesCommonConf,
31 GaudiExamplesCommonConf()
33 s1 = MySuperAlg(
"s1", OutputLevel=INFO)
34 s2 = MySuperAlg(
"s2", OutputLevel=WARNING)
37 MySuperAlg(
"s2", PercentPass=75, OutputLevel=DEBUG)
47 raise RuntimeError(
"we should not be able to retype to SuperAlgorithm")
48 except AssertionError:
51 all = ParentAlg() >> StopperAlg(StopCount=20) >> top >> sand >> sor
53 print(
"# --- Configured Control Flow Expression:")
56 EventLoopMgr(PrintControlFlowExpression=
True)
63 ExtSvc=[
"ToolSvc",
"AuditorSvc"],
67 AuditorSvc().Auditors.append(TimingAuditor(
"TIMER"))