diff --git a/DDG4/python/DDSim/Helper/Output.py b/DDG4/python/DDSim/Helper/Output.py index d6a8b23d3921606de1be0a01b9258de314f800b2..2be6424199dedd00f599f642da4ba87612260ae9 100644 --- a/DDG4/python/DDSim/Helper/Output.py +++ b/DDG4/python/DDSim/Helper/Output.py @@ -2,7 +2,7 @@ from __future__ import absolute_import, unicode_literals from DDSim.Helper.ConfigHelper import ConfigHelper -from DDSim.DD4hepSimulation import outputLevel +from DDSim.DD4hepSimulation import outputLevel, outputLevelType class Output(ConfigHelper): @@ -11,19 +11,27 @@ class Output(ConfigHelper): def __init__(self): super(Output, self).__init__() self._kernel_EXTRA = {'choices': (1, 2, 3, 4, 5, 6, 7, 'VERBOSE', 'DEBUG', - 'INFO', 'WARNING', 'ERROR', 'FATAL', 'ALWAYS')} + 'INFO', 'WARNING', 'ERROR', 'FATAL', 'ALWAYS'), + 'type': outputLevelType, + } self._kernel = outputLevel('INFO') self._part_EXTRA = {'choices': (1, 2, 3, 4, 5, 6, 7, 'VERBOSE', 'DEBUG', - 'INFO', 'WARNING', 'ERROR', 'FATAL', 'ALWAYS')} + 'INFO', 'WARNING', 'ERROR', 'FATAL', 'ALWAYS'), + 'type': outputLevelType, + } self._part = outputLevel('INFO') self._inputStage_EXTRA = {'choices': (1, 2, 3, 4, 5, 6, 7, 'VERBOSE', 'DEBUG', - 'INFO', 'WARNING', 'ERROR', 'FATAL', 'ALWAYS')} + 'INFO', 'WARNING', 'ERROR', 'FATAL', 'ALWAYS'), + 'type': outputLevelType, + } self._inputStage = outputLevel('INFO') self._random_EXTRA = {'choices': (1, 2, 3, 4, 5, 6, 7, 'VERBOSE', 'DEBUG', - 'INFO', 'WARNING', 'ERROR', 'FATAL', 'ALWAYS')} + 'INFO', 'WARNING', 'ERROR', 'FATAL', 'ALWAYS'), + 'type': outputLevelType, + } self._random = outputLevel('FATAL') @property