![]() |
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 | |
| Herwig7Utils | |
Functions | |
| def | Herwig7Utils.get_cross_section (run_name, integration_jobs=1) |
| Calculate the total cross section from the integration log files. More... | |
| def | Herwig7Utils.get_repeated_pattern (pattern, repetitions) |
| Return a string made up of a certain number of repetitions of the same pattern. More... | |
| def | Herwig7Utils.get_size (path) |
| Get size of file or folder. More... | |
| def | Herwig7Utils.humanize_bytes (bytes, precision=2) |
| Convert file/folder size from bytes to units with appropriate prefixes (multiples of 1000, not 1024!) More... | |
| def | Herwig7Utils.ansi_format (text, colour='None', background_colour='None', bold=False, underline=False, italics=False, marked=False, strikethrough=False) |
| Format and colorize terminal output. More... | |
| def | Herwig7Utils.ansi_format_ok (text) |
| Green colouring. More... | |
| def | Herwig7Utils.ansi_format_info (text) |
| Blue colouring. More... | |
| def | Herwig7Utils.ansi_format_warning (text) |
| Yellow colouring. More... | |
| def | Herwig7Utils.ansi_format_error (text) |
| Red colouring. More... | |
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.
1.8.18