12 Module with the ConfigurablesUser for the common configuration in the examples.
14 @author Marco Clemencic <marco.clemencic@cern.ch>
22 """Enable common configuration for GaudiExamples tests.
24 __slots__ = {
"OutputLevel": INFO,
"DummyEvents": -1}
27 from Configurables
import (AuditorSvc, ChronoAuditor, ApplicationMgr,
32 if self.
getProp(
'DummyEvents') >= 0:
33 appmgr.EvtMax = self.
getProp(
'DummyEvents')
34 appmgr.EvtSel =
"NONE"
39 Example implementation of a SuperAlgorithm specialization.
44 Prepare the graph represented by the SuperAlgorithm.
46 from Configurables
import Prescaler, HelloWorld, EventCounter
47 p = self.
_makeAlg(Prescaler, PercentPass=50.)
48 h = self.
_makeAlg(HelloWorld, name=
'HW')
49 c = self.
_makeAlg(EventCounter, name=
'Counter')