]>
Commit | Line | Data |
---|---|---|
78c8a9b8 | 1 | void LoadMyLibs() { |
2 | ||
3 | // Load some ROOT libraries | |
4 | CheckLoadLibrary("libEG"); | |
5 | CheckLoadLibrary("libGeom"); | |
6 | CheckLoadLibrary("libVMC"); | |
7 | CheckLoadLibrary("libTree"); | |
8 | CheckLoadLibrary("libGui"); | |
9 | CheckLoadLibrary("libMinuit"); | |
acff170f | 10 | CheckLoadLibrary("libSTAT"); |
78c8a9b8 | 11 | |
12 | // Load AliRoot libraries | |
13 | ||
78c8a9b8 | 14 | CheckLoadLibrary("libSTEERBase"); |
15 | CheckLoadLibrary("libESD"); | |
16 | CheckLoadLibrary("libCDB"); | |
17 | CheckLoadLibrary("libRAWDatabase"); | |
18 | CheckLoadLibrary("libRAWDatarec"); | |
19 | CheckLoadLibrary("libSTEER"); | |
20 | CheckLoadLibrary("libRAWDatasim"); | |
21 | ||
acff170f | 22 | |
23 | gSystem->Load("libANALYSIS"); | |
24 | gSystem->Load("libANALYSISalice"); | |
25 | gSystem->Load("libCORRFW"); | |
26 | ||
27 | gSystem->Load("libPWG0base"); | |
28 | gSystem->Load("libPWG0dep"); | |
29 | gSystem->Load("libPWG0selectors"); | |
30 | ||
31 | gSystem->Load("libTPCcalib.so"); | |
af472fff | 32 | gSystem->Load("libTender"); |
2bfe5463 | 33 | gSystem->Load("libPWGPP"); |
acff170f | 34 | |
35 | gSystem->Load("libPHOSUtils"); | |
36 | gSystem->Load("libEMCALUtils"); | |
37 | gSystem->Load("libPWG4PartCorrBase"); | |
38 | gSystem->Load("libPWG4PartCorrDep"); | |
39 | ||
40 | /* | |
ff7b6e14 | 41 | CheckLoadLibrary("libANALYSIS"); |
42 | CheckLoadLibrary("libAOD"); | |
43 | CheckLoadLibrary("libANALYSISalice"); | |
af472fff | 44 | CheckLoadLibrary("libTender"); |
ff7b6e14 | 45 | CheckLoadLibrary("libSTAT"); |
acff170f | 46 | */ |
ff7b6e14 | 47 | |
78c8a9b8 | 48 | CheckLoadLibrary("libTPCbase"); |
78c8a9b8 | 49 | CheckLoadLibrary("libTPCsim"); |
ff7b6e14 | 50 | CheckLoadLibrary("libTPCrec"); |
51 | CheckLoadLibrary("libTPCcalib"); | |
78c8a9b8 | 52 | CheckLoadLibrary("libITSbase"); |
53 | CheckLoadLibrary("libITSsim"); | |
54 | CheckLoadLibrary("libITSrec"); | |
ff7b6e14 | 55 | CheckLoadLibrary("libTRDcalib"); |
78c8a9b8 | 56 | CheckLoadLibrary("libTRDbase"); |
78c8a9b8 | 57 | CheckLoadLibrary("libTRDrec"); |
ff7b6e14 | 58 | CheckLoadLibrary("libTRDsim"); |
78c8a9b8 | 59 | CheckLoadLibrary("libTOFbase"); |
60 | CheckLoadLibrary("libTOFrec"); | |
61 | CheckLoadLibrary("libTOFsim"); | |
820b4d9e | 62 | CheckLoadLibrary("libMFTbase"); |
63 | CheckLoadLibrary("libMFTrec"); | |
64 | CheckLoadLibrary("libMFTsim"); | |
2bfe5463 | 65 | CheckLoadLibrary("libPWGPP"); |
78c8a9b8 | 66 | } |
67 | ||
68 | Int_t CheckLoadLibrary(const char* library) { | |
69 | // checks if a library is already loaded, if not loads the library | |
70 | if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0) | |
71 | return 1; | |
72 | return gSystem->Load(library); | |
73 | } |