![]() |
ATLAS Offline Software
|
Public Member Functions | |
| __init__ (self) | |
| args (self) | |
| inputList (self) | |
| outputName (self) | |
| printFlags (self) | |
| addCustomArguments (self) | |
| makeAlgSequence (self) | |
| run (self) | |
| setupArguments (self) | |
| setupConfig (self) | |
| setup (self) | |
| printAvailableArguments (self) | |
| modifyParserArguments (self) | |
| modifyYamlConfig (self) | |
| modifyAlgSequence (self) | |
Static Public Member Functions | |
| findLocalPathYamlConfig (textConfigPath) | |
| findRepoPathYamlConfig (textConfigPath) | |
Public Attributes | |
| logger = logging.getLogger("CPBaseRunner") | |
| parser = self._defaultParseArguments() | |
| rawConfig = None | |
| flags = self._defaultFlagsInitialization() | |
| config = self._readYamlConfig() | |
Protected Member Functions | |
| _defaultFlagsInitialization (self) | |
| _defaultParseArguments (self) | |
| _mergeYamlconfig (self, Path yaml_path, list[Path] yaml_paths) | |
| _readYamlConfig (self) | |
| _findYamlConfig (self, local=True) | |
Static Protected Member Functions | |
| _parseInputFileList (Path path) | |
Protected Attributes | |
| _args = None | |
| list | _inputList = None |
Definition at line 10 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.__init__ | ( | self | ) |
Definition at line 11 of file CPBaseRunner.py.
|
protected |
Definition at line 75 of file CPBaseRunner.py.
|
protected |
Definition at line 84 of file CPBaseRunner.py.
|
protected |
Definition at line 129 of file CPBaseRunner.py.
|
protected |
Definition at line 103 of file CPBaseRunner.py.
|
staticprotected |
Definition at line 188 of file CPBaseRunner.py.
|
protected |
Definition at line 115 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.addCustomArguments | ( | self | ) |
Definition at line 63 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.args | ( | self | ) |
Definition at line 20 of file CPBaseRunner.py.
|
static |
Definition at line 152 of file CPBaseRunner.py.
|
static |
Search for the file up to two levels deep within the first DATAPATH entry. First, check directly under the analysis repository (depth 0). Then, check immediate subdirectories (depth 1), looking for the file inside each. Returns a list of all matches found and a list of packages/base paths.
Definition at line 162 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.inputList | ( | self | ) |
Definition at line 26 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.makeAlgSequence | ( | self | ) |
Definition at line 67 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.modifyAlgSequence | ( | self | ) |
Definition at line 262 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.modifyParserArguments | ( | self | ) |
Definition at line 252 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.modifyYamlConfig | ( | self | ) |
Definition at line 257 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.outputName | ( | self | ) |
Definition at line 40 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.printAvailableArguments | ( | self | ) |
Definition at line 243 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.printFlags | ( | self | ) |
Definition at line 46 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.run | ( | self | ) |
Definition at line 71 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.setup | ( | self | ) |
Definition at line 239 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.setupArguments | ( | self | ) |
Apply the parser hooks and parse the command line arguments. This must run exactly once per process (the parser hooks add arguments, and adding them twice is an argparse error), and it deliberately does not touch the flags or the configuration, so that a runner can fork off the actual configuration into a child process after this point without any ROOT dictionaries loaded.
Definition at line 219 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.setupConfig | ( | self | ) |
Initialize the flags and read the YAML configuration. Requires setupArguments() to have been called.
Definition at line 231 of file CPBaseRunner.py.
|
protected |
Definition at line 13 of file CPBaseRunner.py.
|
protected |
Definition at line 14 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.config = self._readYamlConfig() |
Definition at line 237 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.flags = self._defaultFlagsInitialization() |
Definition at line 236 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.logger = logging.getLogger("CPBaseRunner") |
Definition at line 12 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.parser = self._defaultParseArguments() |
Definition at line 15 of file CPBaseRunner.py.
| python.CPBaseRunner.CPBaseRunner.rawConfig = None |
Definition at line 16 of file CPBaseRunner.py.