Skip to content

Commit

Permalink
.so cleanup: more less-obvious cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dberzano committed Dec 12, 2014
1 parent a863d9c commit ac72d9d
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion EVE/macros/alieve_loadlibs.C
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void alieve_loadlibs ()
gSystem->Load("libAliPythia6");

gSystem->Load("libhijing");
gSystem->Load("libTHijing");// AliGenHijingEventHeader needed by libZDCsim.so
gSystem->Load("libTHijing");// AliGenHijingEventHeader needed by libZDCsim

gSystem->Load("libSTRUCT");
gSystem->Load("libPHOSbase");
Expand Down
4 changes: 2 additions & 2 deletions FMD/scripts/RunAnaKine.C
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ RunAnaKine(Bool_t primary_only=false, Bool_t segmented=true)
// true | ok | ok
//
// gROOT->LoadMacro("Compile.C");
// gSystem->Unload("AliFMDAnaFlowKine_C.so");
// gSystem->Unload("AliFMDAnaFlowRing_h.so");
// gSystem->Unload("AliFMDAnaFlowKine_C");
// gSystem->Unload("AliFMDAnaFlowRing_h");
if (!Compile("AliFMDAnaFlowRing.h")) return;
if (!Compile("AliFMDAnaFlowKine.C")) return;
AliFMDAnaFlowKine ak(1, segmented, primary_only);
Expand Down
8 changes: 4 additions & 4 deletions HMPID/Hconfig.C
Original file line number Diff line number Diff line change
Expand Up @@ -747,10 +747,10 @@ void HmpConfig::WriteConfig()
fprintf(pF," gAlice->SetRunLoader(pAL);\n\n");
//Decayer
if(fDecayerB->GetState()==kButtonDown){
fprintf(pF," gSystem->Load(\"liblhapdf.so\"); // Parton density functions \n");
fprintf(pF," gSystem->Load(\"libEGPythia6.so\"); // TGenerator interface \n");
fprintf(pF," gSystem->Load(\"libpythia6.so\"); // Pythia \n");
fprintf(pF," gSystem->Load(\"libAliPythia6.so\"); // ALICE specifics implementations \n\n");
fprintf(pF," gSystem->Load(\"liblhapdf\"); // Parton density functions \n");
fprintf(pF," gSystem->Load(\"libEGPythia6\"); // TGenerator interface \n");
fprintf(pF," gSystem->Load(\"libpythia6\"); // Pythia \n");
fprintf(pF," gSystem->Load(\"libAliPythia6\"); // ALICE specifics implementations \n\n");
//Geant
fprintf(pF," gSystem->Load(\"libgeant321\");\n");
fprintf(pF," new TGeant3TGeo(\"C++ Interface to Geant3\");\n\n");
Expand Down
2 changes: 1 addition & 1 deletion ITS/macrosSDD/ITSQArecoparam.C
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ pluginHandler = pluginManager->FindHandler("AliReconstructor", "ITS");
if (!pluginHandler) {
printf("defining plugin for ITS\n");
TString libs = gSystem->GetLibraries();
if (libs.Contains("lib" + detName + "base.so") ||
if (libs.Contains("lib" + detName + "base") ||
(gSystem->Load("lib" + detName + "base") >= 0)) {pluginManager->AddHandler("AliReconstructor", detName,recName, detName + "rec", recName + "()");}
else {pluginManager->AddHandler("AliReconstructor", detName,recName, detName, recName + "()");}
pluginHandler = pluginManager->FindHandler("AliReconstructor", detName);
Expand Down
6 changes: 3 additions & 3 deletions TPC/macros/RunAliTPCCalibKrTask.C
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
proof->SetParameter("PROOF_MaxSlavesPerNode", (Long_t)1000);
.L /u/miranov/macros/ProofEnableAliRoot.C
ProofEnableAliRoot("/usr/local/grid/AliRoot/HEAD0108");
gProof->Exec("gSystem->Load(\"libANALYSIS.so\")",kTRUE);
gProof->Exec("gSystem->Load(\"libSTAT.so\")",kTRUE);
gProof->Exec("gSystem->Load(\"libTPCcalib.so\")",kTRUE);
gProof->Exec("gSystem->Load(\"libANALYSIS\")",kTRUE);
gProof->Exec("gSystem->Load(\"libSTAT\")",kTRUE);
gProof->Exec("gSystem->Load(\"libTPCcalib\")",kTRUE);
gProof->Exec(".x $ALICE_ROOT/TPC/macros/ConfigOCDB.C");
//
Expand Down
2 changes: 1 addition & 1 deletion macros/loadlibs.C
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Int_t loadlibs ()
if ( gSystem->Load("libSTAT") < 0 ) return ret; ret--;

if ( gSystem->Load("libhijing") < 0 ) return ret; ret--;
if ( gSystem->Load("libTHijing") < 0 ) return ret; ret--;// AliGenHijingEventHeader needed by libZDCsim.so
if ( gSystem->Load("libTHijing") < 0 ) return ret; ret--;// AliGenHijingEventHeader needed by libZDCsim

if ( gSystem->Load("libSTRUCT") < 0 ) return ret; ret--;
if ( gSystem->Load("libPHOSUtils") < 0 ) return ret; ret--;
Expand Down
2 changes: 1 addition & 1 deletion macros/loadlibssim.C
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Int_t loadlibssim ()
if ( gSystem->Load("libAliPythia6") < 0 ) return ret; ret--;

if ( gSystem->Load("libhijing") < 0 ) return ret; ret--;
if ( gSystem->Load("libTHijing") < 0 ) return ret; ret--;// AliGenHijingEventHeader needed by libZDCsim.so
if ( gSystem->Load("libTHijing") < 0 ) return ret; ret--;// AliGenHijingEventHeader needed by libZDCsim

if ( gSystem->Load("libSTRUCT") < 0 ) return ret; ret--;
if ( gSystem->Load("libPHOSUtils") < 0 ) return ret; ret--;
Expand Down

0 comments on commit ac72d9d

Please sign in to comment.