Total Complexity | 0 |
Total Lines | 14 |
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 | |||
6 | from ROOT import TEntryList |
||
7 | |||
8 | from threeML.io.cern_root_utils.io_utils import get_list_of_keys, open_ROOT_file |
||
9 | from threeML.io.cern_root_utils.tobject_to_numpy import tree_to_ndarray |
||
10 | |||
11 | ROOT.SetMemoryPolicy(ROOT.kMemoryStrict) |
||
12 | |||
13 | import root_numpy |
||
14 |
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.