removed printout in Terminate
[u/mrichter/AliRoot.git] / PWG0 / dNdPt / macros / LoadMyLibs.C
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");
10   
11   // Load AliRoot libraries
12   
13   CheckLoadLibrary("libSTEERBase");
14   CheckLoadLibrary("libCDB");
15   CheckLoadLibrary("libRAWDatabase");
16   CheckLoadLibrary("libRAWDatarec");
17   CheckLoadLibrary("libESD");
18   CheckLoadLibrary("libAOD");
19   CheckLoadLibrary("libSTEER");
20   
21   CheckLoadLibrary("libANALYSIS");
22   CheckLoadLibrary("libANALYSISalice");
23   CheckLoadLibrary("libTENDER");
24   CheckLoadLibrary("libTPCbase");
25   CheckLoadLibrary("libTPCsim");
26   CheckLoadLibrary("libTRDbase");
27   CheckLoadLibrary("libTPCrec");
28   CheckLoadLibrary("libTRDrec");
29   CheckLoadLibrary("libITSbase");
30   CheckLoadLibrary("libITSrec");
31   CheckLoadLibrary("libPWG0base");
32   CheckLoadLibrary("libPWG0dep");
33   CheckLoadLibrary("libPWG0selectors");
34   CheckLoadLibrary("libPWG1");
35 }
36
37 Int_t CheckLoadLibrary(const char* library) {
38   // checks if a library is already loaded, if not loads the library
39   if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
40     return 1;
41   return gSystem->Load(library);
42 }