BmnRoot
Loading...
Searching...
No Matches
config Namespace Reference

Variables

int SIZE = 1024
 
list UNITS = ['bytes', 'KB', 'MB', 'GB', 'TB']
 
str RUN_NUM_REGEX = r'\d+'
 
int DPI = 300
 
list FOLDERS_IGNORE = ['__pycache__']
 
int BINS = 40
 
int BINS_PER_EVENT = 40
 
str UNSUCCESSFUL_LOG_FILE = "unsuccessful_list.txt"
 
str START = 'Start date:'
 
str END = 'End date:'
 
str SUCCESS = 'Macro finished successfully'
 
str START_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})'
 
str END_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})'
 
str PROCESSING_LINE_START = "Processing "
 
str PROCESSING_REGEX = r'Processing .*\.[cC]\‍(\"([^\"]*)\"\,.*\‍)\.\.\.'
 
dict MONTH_ARR
 
str EVENT_REGEX = r'number of events\D*(\d+)'
 
str RUN_REGEX = r'_run\D*(\d+)'
 
str RUN_EXTENSION = '.root'
 
str SUCCESSFUL_LOG_FILE = "successful_list.txt"
 

Variable Documentation

◆ BINS

int config.BINS = 40

Definition at line 6 of file config.py.

◆ BINS_PER_EVENT

int config.BINS_PER_EVENT = 40

Definition at line 7 of file config.py.

◆ DPI

int config.DPI = 300

Definition at line 4 of file config.py.

◆ END

str config.END = 'End date:'

Definition at line 4 of file config.py.

◆ END_REGEX

str config.END_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})'

Definition at line 7 of file config.py.

◆ EVENT_REGEX

str config.EVENT_REGEX = r'number of events\D*(\d+)'

Definition at line 14 of file config.py.

◆ FOLDERS_IGNORE

list config.FOLDERS_IGNORE = ['__pycache__']

Definition at line 5 of file config.py.

◆ MONTH_ARR

dict config.MONTH_ARR
Initial value:
1= {
2 'Jan': 1, 'Feb': 2, 'Mar': 3, 'Apr': 4, 'May': 5, 'Jun': 6, 'Jul': 7, 'Aug': 8, 'Sep': 9, 'Oct': 10, 'Nov': 11, 'Dec': 12,
3 'янв': 1, 'фев': 2, 'мар': 3, 'апр': 4, 'май': 5, 'июн': 6, 'июл': 7, 'авг': 8, 'сен': 9, 'окт': 10, 'ноя': 11, 'дек': 12
4}

Definition at line 10 of file config.py.

◆ PROCESSING_LINE_START

str config.PROCESSING_LINE_START = "Processing "

Definition at line 8 of file config.py.

◆ PROCESSING_REGEX

str config.PROCESSING_REGEX = r'Processing .*\.[cC]\‍(\"([^\"]*)\"\,.*\‍)\.\.\.'

Definition at line 9 of file config.py.

◆ RUN_EXTENSION

str config.RUN_EXTENSION = '.root'

Definition at line 16 of file config.py.

◆ RUN_NUM_REGEX

str config.RUN_NUM_REGEX = r'\d+'

Definition at line 3 of file config.py.

◆ RUN_REGEX

str config.RUN_REGEX = r'_run\D*(\d+)'

Definition at line 15 of file config.py.

◆ SIZE

list config.SIZE = 1024

Definition at line 1 of file config.py.

◆ START

str config.START = 'Start date:'

Definition at line 3 of file config.py.

◆ START_REGEX

str config.START_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})'

Definition at line 6 of file config.py.

◆ SUCCESS

str config.SUCCESS = 'Macro finished successfully'

Definition at line 5 of file config.py.

◆ SUCCESSFUL_LOG_FILE

str config.SUCCESSFUL_LOG_FILE = "successful_list.txt"

Definition at line 22 of file config.py.

◆ UNITS

list config.UNITS = ['bytes', 'KB', 'MB', 'GB', 'TB']

Definition at line 2 of file config.py.

◆ UNSUCCESSFUL_LOG_FILE

str config.UNSUCCESSFUL_LOG_FILE = "unsuccessful_list.txt"

Definition at line 8 of file config.py.