Provide full path to the new library created after the compilation of the par file
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 May 2010 12:55:10 +0000 (12:55 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 May 2010 12:55:10 +0000 (12:55 +0000)
EMCAL/PROOF-INF.EMCALUtils/SETUP.C
EMCAL/PROOF-INF.EMCALbase/SETUP.C
EMCAL/PROOF-INF.EMCALrec/SETUP.C
EMCAL/PROOF-INF.EMCALsim/SETUP.C

index 71a477b..11cd3aa 100644 (file)
@@ -2,7 +2,8 @@ void SETUP()
 {
 
    // Load library
-   gSystem->Load("libEMCALUtils");
+   TString ocwd = gSystem->WorkingDirectory();
+   gSystem->Load(ocwd+"/libEMCALUtils.so");
 
    // Set the Include paths
 //   gSystem->SetIncludePath("-I$ROOTSYS/include -IEMCAL");
index 469ca77..54531f4 100644 (file)
@@ -2,7 +2,8 @@ void SETUP()
 {
 
    // Load library
-   gSystem->Load("libEMCALbase");
+   TString ocwd = gSystem->WorkingDirectory();
+   gSystem->Load(ocwd+"/libEMCALbase.so");
 
    // Set the Include paths
 //   gSystem->SetIncludePath("-I$ROOTSYS/include -IEMCAL");
index 9456946..0e723b1 100644 (file)
@@ -2,7 +2,8 @@ void SETUP()
 {
 
    // Load library
-   gSystem->Load("libEMCALrec");
+   TString ocwd = gSystem->WorkingDirectory();
+   gSystem->Load(ocwd+"/libEMCALrec.so");
 
    // Set the Include paths
 //   gSystem->SetIncludePath("-I$ROOTSYS/include -IEMCAL");
index cc8bc0d..c104334 100644 (file)
@@ -2,7 +2,8 @@ void SETUP()
 {
 
    // Load library
-   gSystem->Load("libEMCALsim");
+   TString ocwd = gSystem->WorkingDirectory();
+   gSystem->Load(ocwd+"/libEMCALsim.so");
 
    // Set the Include paths
 //   gSystem->SetIncludePath("-I$ROOTSYS/include -IEMCAL");