11 from __future__
import print_function
17 from Configurables
import ParentAlg, StopperAlg, TimingAuditor, HelloWorld
18 from Configurables
import EventLoopMgr
22 from Configurables
import GaudiExamplesCommonConf
24 from Configurables
import Gaudi_Test_MySuperAlg
as MySuperAlg
26 GaudiExamplesCommonConf()
28 s1 = MySuperAlg(
's1', OutputLevel=INFO)
29 s2 = MySuperAlg(
's2', OutputLevel=WARNING)
32 MySuperAlg(
's2', PercentPass=75, OutputLevel=DEBUG)
42 raise RuntimeError(
'we should not be able to retype to SuperAlgorithm')
43 except AssertionError:
46 all = ParentAlg() >> StopperAlg(StopCount=20) >> top >> sand >> sor
48 print(
'# --- Configured Control Flow Expression:')
51 EventLoopMgr(PrintControlFlowExpression=
True)
58 ExtSvc=[
'ToolSvc',
'AuditorSvc'],
61 AuditorSvc().Auditors.append(TimingAuditor(
"TIMER"))