Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
N21-04-14
CVN
scripts
cvnie.py
Go to the documentation of this file.
1
2
from
ROOT
import
*
3
import
sys, os
4
5
priv = os.getenv(
"SRT_PRIVATE_CONTEXT"
)
6
pub = os.getenv(
"SRT_PUBLIC_CONTEXT"
)
7
subdir = os.getenv(
"SRT_SUBDIR"
)
8
9
lib =
"CVNFunc"
10
11
privPath = priv +
"/lib/"
+subdir+
"/lib"
+ lib +
"_dict.so"
12
pubPath = pub +
"/lib/"
+subdir+
"/lib"
+ lib +
"_dict.so"
13
14
if
priv !=
"."
and
os.path.isfile(privPath):
15
dictPath = privPath
16
else
:
17
dictPath = pubPath
18
19
gSystem.Load(
"libCintex.so"
)
20
Cintex.Enable()
21
gSystem.Load(dictPath)
22
Generated on Wed Apr 14 2021 14:09:35 for NOvA by
1.8.11