| Total Complexity | 0 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | # This module handle the importing of ROOT |
||
|
|
|||
| 2 | # only use in methods that actually need ROOT |
||
| 3 | |||
| 4 | import ROOT |
||
| 5 | ROOT.PyConfig.IgnoreCommandLineOptions = True |
||
| 6 | |||
| 7 | from ROOT import TEntryList |
||
| 8 | |||
| 9 | from threeML.io.cern_root_utils.io_utils import get_list_of_keys, open_ROOT_file |
||
| 10 | from threeML.io.cern_root_utils.tobject_to_numpy import tree_to_ndarray |
||
| 11 | |||
| 12 | ROOT.SetMemoryPolicy(ROOT.kMemoryStrict) |
||
| 13 | |||
| 14 | import root_numpy |
||
| 15 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.