Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larcorealg
test
GeoAlgo
test_import.py
Go to the documentation of this file.
1
from
test_msg
import
debug, info, error, warning
2
3
def
test_import
():
4
5
try
:
6
debug
(
'Attempting to import geoalgo'
)
7
import
ROOT
8
ROOT.gSystem.Load(
"liblarcorealg_GeoAlgo.so"
)
9
from
ROOT
import
geoalgo
10
except
Exception:
11
error
(
'Import geoalgo unit test failed.'
)
12
return
1
13
info
(
'geoalgo import succeeded.'
)
14
return
0
15
16
if
__name__ ==
'__main__'
:
17
test_import
()
18
test_import
Definition:
test_import.py:1
error
error
Definition:
include.cc:26
test_import.test_import
def test_import()
Definition:
test_import.py:3
generate_datataset.info
info
Definition:
generate_datataset.py:142
python.larbatch_posix.debug
string debug
Definition:
larbatch_posix.py:142
Generated by
1.8.11