Splitted resonance library into two separate elements:
[u/mrichter/AliRoot.git] / PWG2 / PROOF-INF.PWG2resonances / SETUP.C
index b5e79811be287804a3951261c81b979f3cd5f2c1..ded9ec6e840105779e8c0e80dc41116cd7ce29cd 100644 (file)
@@ -1,12 +1,14 @@
 void SETUP() {
   CheckLoadLibrary("libANALYSISalice");
+  CheckLoadLibrary("libCORRFW");
   CheckLoadLibrary("libPWG2resonances");
 
   // Set the include paths
   gROOT->ProcessLine(".include PWG2resonances");
+  gROOT->ProcessLine(".include PWG2resonances/RESONANCES");
 
   // Set our location, so that other packages can find us
-  gSystem->Setenv("PWG2resonances_INCLUDE", "PWG2resonances");
+  gSystem->Setenv("PWG2resonances_INCLUDE", "PWG2resonances/RESONANCES");
 }
 
 Int_t CheckLoadLibrary(const char* library) {
@@ -14,6 +16,6 @@ Int_t CheckLoadLibrary(const char* library) {
 
   if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
     return 1;
-  
+
   return gSystem->Load(library);
 }