1 |
pamelats |
1.1 |
void load_lib(){ |
2 |
|
|
// Load basic libraries |
3 |
|
|
gROOT->LoadMacro("./macro/basiclibs.C"); |
4 |
|
|
basiclibs(); |
5 |
|
|
// Load PAMELA libs |
6 |
|
|
TString PAMLIB=gSystem->Getenv("PAM_LIB"); |
7 |
|
|
gSystem->Load(PAMLIB+"/libyoda.so"); |
8 |
|
|
gSystem->Load(PAMLIB+"/libDarthVader.so"); |
9 |
|
|
gSystem->Load(PAMLIB+"/libPamLevel2.so"); |
10 |
|
|
// Load Geant4 libraries |
11 |
|
|
gROOT->LoadMacro("./macro/PamG4Libs.C"); |
12 |
|
|
// Load this example libraries |
13 |
|
|
TString G4WD=gSystem->Getenv("G4WORKDIR"); |
14 |
|
|
TString PLAT=gSystem->Getenv("PLATFORM"); |
15 |
|
|
gSystem->Load(G4WD+"/lib/tgt_"+PLAT+"/libPamVMC"); |
16 |
|
|
|
17 |
|
|
|
18 |
|
|
} |