11 from __future__
import print_function
17 from Configurables
import ParentAlg, StopperAlg, Prescaler, HelloWorld, TimingAuditor
18 from Configurables
import EventLoopMgr
22 from Configurables
import GaudiExamplesCommonConf
23 GaudiExamplesCommonConf()
28 p1 =
Prescaler(
'Prescaler1', PercentPass=50., OutputLevel=WARNING)
29 p2 =
Prescaler(
'Prescaler2', PercentPass=10., OutputLevel=WARNING)
54 all = ParentAlg() >> StopperAlg(StopCount=20) >> top >> sand >> sor
56 print(
'# --- Configured Control Flow Expression:')
59 EventLoopMgr(PrintControlFlowExpression=
True)
65 ExtSvc=[
'ToolSvc',
'AuditorSvc'],
68 AuditorSvc().Auditors += [TimingAuditor(
"TIMER")]