Skip to content
Snippets Groups Projects
Commit 5be61cce authored by matta's avatar matta
Browse files

* Fixing bug in NPToolLogon.C

parent 380d6d1f
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@
*****************************************************************************/
#include "TSystem.h"
#include "TROOT.h"
#include "TList.h"
#include "TSystemDirectory.h"
#include "TString.h"
......@@ -36,9 +37,9 @@ void InitNPTool(bool quietmode = false)
// Add include path
if(quietmode)
cout << "NPTool: adding include path ..." << endl;
gSystem->AddIncludePath(Form("%s/include", path.Data()));
cout << "NPTool: adding include path : " << path << "/include" << endl;
gROOT->ProcessLine(Form(".include %s/include", path.Data()));
// Add shared libraries
if(quietmode)
cout << "NPTool: loading NPLib shared libraries ..." << endl;
......@@ -71,5 +72,5 @@ void InitNPTool(bool quietmode = false)
if(quietmode)
cout << "NPTool: Ready" << endl;
delete listfile2, listfile ;
// delete listfile2, listfile ;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment