]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGUD/PROOF-INF.PWGUDdep/SETUP.C
ATO-17 Removing compilation warnings (copy constructor)
[u/mrichter/AliRoot.git] / PWGUD / PROOF-INF.PWGUDdep / SETUP.C
CommitLineData
7229e085 1void SETUP()
2{
a9ad40e1 3 // we assume PWGUDbase (and thus ESD) already loaded
0bd1f8a0 4 CheckLoadLibrary("libMinuit");
7229e085 5
6 // this package depends on STEER
0bd1f8a0 7 CheckLoadLibrary("libVMC");
8 CheckLoadLibrary("libMinuit");
9 CheckLoadLibrary("libSTEER");
7229e085 10
0bd1f8a0 11 // more packages to access the alice event header
12 CheckLoadLibrary("libEVGEN");
13 CheckLoadLibrary("libFASTSIM");
14 CheckLoadLibrary("libmicrocern");
fa61476e 15 CheckLoadLibrary("libpdf"); // both are needed because old aliroot needs pdf, new one lhapdf
16 CheckLoadLibrary("liblhapdf"); //
0bd1f8a0 17 CheckLoadLibrary("libpythia6");
18 CheckLoadLibrary("libEGPythia6");
19 CheckLoadLibrary("libAliPythia6");
7229e085 20
a9ad40e1 21 CheckLoadLibrary("libPWGUDdep");
6175f249 22
7229e085 23 // Set the Include paths
a9ad40e1 24 gROOT->ProcessLine(".include PWGUDdep");
7229e085 25}
0bd1f8a0 26
27Int_t CheckLoadLibrary(const char* library)
28{
29 // checks if a library is already loaded, if not loads the library
30
31 if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
32 return 1;
33
34 return gSystem->Load(library);
35}