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