示例#1
0
    def __init__(self):
        """
        """

        mon = CRMonitor()
        mon.message(self, "INFO: Initializing ROOT Style.")

        self.root_style_class = CRTStyle()

        # create fallbacks
        self.fill_colors        = dict()
        self.pretty_names       = dict()
        self.stacking_order     = []
        self.decorator_modules  = []
        self.main_settings      = None

        # directory names
        self.DIR_FILESERVICE  = "outputFileService/"
        self.DIR_LOGS         = "outputLogs/"
        self.DIR_CONFS        = "outputConfs/"
        self.DIR_PLOTS        = "outputPlots/"
        self.DIR_JOBINFO     = ".jobInfo/"

        # max num procs
        import multiprocessing as mp
        self.max_num_processes = mp.cpu_count()

        # postfixes for canvas saving
        self.canvas_postfixes = ['.root']