BmnRoot
Loading...
Searching...
No Matches
config.py
Go to the documentation of this file.
1SIZE = [1, 60, 60, 24, 30, 12]
2UNITS = ['seconds', 'minutes', 'hours', 'days', 'months', 'years']
3START = 'Start date:'
4END = 'End date:'
5SUCCESS = 'Macro finished successfully'
6START_REGEX = r'Start date: (?P<week_day>\w{2,3}) (?P<month>\w{3})\s{1,2}(?P<day>\d{1,2}) (?P<time>\d{1,2}:\d{1,2}:\d{1,2}) ((?P<time12>\w{2}) )?(\w+ )?(?P<year>\d{4})'
7END_REGEX = r'End date: (?P<week_day>\w{2,3}) (?P<month>\w{3})\s{1,2}(?P<day>\d{1,2}) (?P<time>\d{1,2}:\d{1,2}:\d{1,2}) ((?P<time12>\w{2}) )?(\w+ )?(?P<year>\d{4})'
8PROCESSING_LINE_START = "Processing "
9PROCESSING_REGEX = r'Processing .*\.[cC]\‍(\"([^\"]*)\"\,.*\‍)\.\.\.'
10MONTH_ARR = {
11 'Jan': 1, 'Feb': 2, 'Mar': 3, 'Apr': 4, 'May': 5, 'Jun': 6, 'Jul': 7, 'Aug': 8, 'Sep': 9, 'Oct': 10, 'Nov': 11, 'Dec': 12,
12 'янв': 1, 'фев': 2, 'мар': 3, 'апр': 4, 'май': 5, 'июн': 6, 'июл': 7, 'авг': 8, 'сен': 9, 'окт': 10, 'ноя': 11, 'дек': 12
13}
14EVENT_REGEX = r'number of events\D*(\d+)'
15RUN_REGEX = r'_run\D*(\d+)'
16RUN_EXTENSION = '.root'
17DPI = 300
18FOLDERS_IGNORE = ['__pycache__', 'myenv', '.git']
19BINS = 40
20BINS_PER_EVENT = 40
21UNSUCCESSFUL_LOG_FILE = "unsuccessful_list.txt"
22SUCCESSFUL_LOG_FILE = "successful_list.txt"