![]() |
ATLAS Offline Software
|
Classes | |
| class | ConfigurationCommands |
| Class for handling commands to modify the generator configuration. More... | |
| class | Process |
| Class for handling a single process. More... | |
| class | ProcessHandler |
| Class for handling parallel local multi-processing. More... | |
Functions | |
| get_cross_section (run_name, integration_jobs=1) | |
| Calculate the total cross section from the integration log files. | |
| get_repeated_pattern (pattern, repetitions) | |
| Return a string made up of a certain number of repetitions of the same pattern. | |
| get_size (path) | |
| Get size of file or folder. | |
| humanize_bytes (bytes, precision=2) | |
| Convert file/folder size from bytes to units with appropriate prefixes (multiples of 1000, not 1024!) | |
| ansi_format (text, colour='None', background_colour='None', bold=False, underline=False, italics=False, marked=False, strikethrough=False) | |
| Format and colorize terminal output. | |
| ansi_format_ok (text) | |
| Green colouring. | |
| ansi_format_info (text) | |
| Blue colouring. | |
| ansi_format_warning (text) | |
| Yellow colouring. | |
| ansi_format_error (text) | |
| Red colouring. | |
Variables | |
| athMsgLog = Logging.logging.getLogger('Herwig7Utils') | |
| float | integration_grids_precision_threshold = 0.0005 |
| Herwig7Utils.ansi_format | ( | text, | |
| colour = 'None', | |||
| background_colour = 'None', | |||
| bold = False, | |||
| underline = False, | |||
| italics = False, | |||
| marked = False, | |||
| strikethrough = False ) |
Format and colorize terminal output.
Definition at line 206 of file Herwig7Utils.py.
| Herwig7Utils.ansi_format_error | ( | text | ) |
Red colouring.
Definition at line 270 of file Herwig7Utils.py.
| Herwig7Utils.ansi_format_info | ( | text | ) |
Blue colouring.
Definition at line 262 of file Herwig7Utils.py.
| Herwig7Utils.ansi_format_ok | ( | text | ) |
Green colouring.
Definition at line 258 of file Herwig7Utils.py.
| Herwig7Utils.ansi_format_warning | ( | text | ) |
Yellow colouring.
Definition at line 266 of file Herwig7Utils.py.
| Herwig7Utils.get_cross_section | ( | run_name, | |
| integration_jobs = 1 ) |
Calculate the total cross section from the integration log files.
Definition at line 107 of file Herwig7Utils.py.
| Herwig7Utils.get_repeated_pattern | ( | pattern, | |
| repetitions ) |
Return a string made up of a certain number of repetitions of the same pattern.
Definition at line 160 of file Herwig7Utils.py.
| Herwig7Utils.get_size | ( | path | ) |
Get size of file or folder.
Definition at line 166 of file Herwig7Utils.py.
| Herwig7Utils.humanize_bytes | ( | bytes, | |
| precision = 2 ) |
Convert file/folder size from bytes to units with appropriate prefixes (multiples of 1000, not 1024!)
Definition at line 185 of file Herwig7Utils.py.
| Herwig7Utils.athMsgLog = Logging.logging.getLogger('Herwig7Utils') |
Definition at line 10 of file Herwig7Utils.py.
| float Herwig7Utils.integration_grids_precision_threshold = 0.0005 |
Definition at line 12 of file Herwig7Utils.py.