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