3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaCommon.Logging
import logging
7 logger = logging.getLogger(__name__)
11 name="GlobalSimHypoMult",
15 logger.setLevel(OutputLevel)
19 test_bench = CompFactory.GlobalSim.eEmMultTestBench(
"eEmMultTestBench")
20 test_bench.OutputLevel = OutputLevel
21 cfg.addEventAlgo(test_bench)
23 tool = CompFactory.GlobalSim.eEmMultAlgTool(
'eEmMultAlgTool')
31 tool.OutputLevel = OutputLevel
33 alg = CompFactory.GlobalSim.GlobalSimulationAlg(name +
'Alg')
34 alg.TIPwriters = [tool]
36 alg.enableDumps = dump
37 alg.OutputLevel = OutputLevel
41 comparator_alg = CompFactory.GlobalSim.eEmMultTestComparator(
42 'eEmMultTestComparator')
43 comparator_alg.OutputLevel = OutputLevel
46 cfg.addEventAlgo(comparator_alg)