1 |
mocchiut |
1.1 |
{ |
2 |
|
|
char *pamyodalib = gSystem->ExpandPathName("$PAM_YODALIB"); |
3 |
|
|
char *libYODA; |
4 |
|
|
libYODA=Form("%s/libyoda.so",pamyodalib); |
5 |
|
|
gSystem->Load(libYODA); |
6 |
|
|
char *pamlib = gSystem->ExpandPathName("$PAM_LIB"); |
7 |
|
|
char *paminc = gSystem->ExpandPathName("$PAM_INC"); |
8 |
|
|
char *incload; |
9 |
|
|
incload = Form("%s/CaloFunctions.h",paminc); |
10 |
|
|
gROOT->LoadMacro(incload); |
11 |
|
|
char *pam_lib=gSystem->Getenv("PAM_LIB"); |
12 |
|
|
stringstream libload; |
13 |
|
|
libload.str(""); |
14 |
|
|
libload << pam_lib << "/libtrack"; |
15 |
|
|
gSystem->Load(libload.str().c_str()); |
16 |
|
|
libload.str(""); |
17 |
|
|
libload << pam_lib << "/libtrack_C"; |
18 |
|
|
gSystem->Load(libload.str().c_str()); |
19 |
|
|
libload.str(""); |
20 |
|
|
libload << pam_lib << "/libreadb2maps"; |
21 |
|
|
gSystem->Load(libload.str().c_str()); |
22 |
|
|
libload.str(""); |
23 |
|
|
libload << pam_lib << "/libreadb2maps_C"; |
24 |
|
|
gSystem->Load(libload.str().c_str()); |
25 |
|
|
libload.str(""); |
26 |
|
|
libload << pam_lib << "/libFCaloTRKCALOALIG"; |
27 |
|
|
gSystem->Load(libload.str().c_str()); |
28 |
|
|
} |