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 ApplicationMgr, AuditorSvc, ChronoAuditor, MessageSvc
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 EventCounter, HelloWorld, Prescaler
48 p = self.
_makeAlg(Prescaler, PercentPass=50.0)
49 h = self.
_makeAlg(HelloWorld, name=
"HW")
50 c = self.
_makeAlg(EventCounter, name=
"Counter")