1 |
{ |
2 |
printf("\n Welcome to the PAMELA environment!\n"); |
3 |
char *lmac = gSystem->ExpandPathName("$PAM_INC"); |
4 |
gInterpreter->AddIncludePath(lmac); |
5 |
char *pamyoda = gSystem->ExpandPathName("$PAM_YODA"); |
6 |
stringstream incy; |
7 |
incy.str(""); |
8 |
incy << pamyoda << "/include/yoda/"; |
9 |
gInterpreter->AddIncludePath(incy.str().c_str()); |
10 |
incy.str(""); |
11 |
incy << pamyoda << "/event/"; |
12 |
incy.str(""); |
13 |
incy << pamyoda << "/event/"; |
14 |
gInterpreter->AddIncludePath(incy.str().c_str()); |
15 |
incy.str(""); |
16 |
incy << pamyoda << "/lib/libyoda.so"; |
17 |
gSystem->Load(incy.str().c_str()); |
18 |
printf("\n"); |
19 |
} |