diff --git a/README.md b/README.md index 776ddda..bdedd91 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,12 @@ Randomized classification may be used for general classification problems. In th - python 2.7 or higher. - gcc 4.3 or higher. - - ROOT 5.34/11 or higher. + - ROOT 5.34/11 to 6.06. ### Download (and if needed install) ROOT -ROOT is available [here](https://root.cern.ch/drupal/content/downloading-root). ROOT v5.34/25 was used for development, and v6.02/05 for testing. Later ROOT versions should also be compatible (please report any issues). +ROOT is available [here](https://root.cern.ch/drupal/content/downloading-root). ROOT v5.34/25 was used for development, and v6.06 for testing. At the moment, ROOT version 6.08 is NOT supported. + Lets assume we want to install ROOT at `/home/work/root`. We can get ROOT, in one of two ways (as explained on the ROOT site): diff --git a/examples/scripts/commonImports.py b/examples/scripts/commonImports.py index c4c880c..995c9e6 100644 --- a/examples/scripts/commonImports.py +++ b/examples/scripts/commonImports.py @@ -14,6 +14,8 @@ log = logging.getLogger('annzLog') annzDir = os.getcwd() if not "ANNZSYS" in os.environ else os.environ["ANNZSYS"] +if annzDir[-1] is not "/": + annzDir += "/" libDirName = os.path.join(annzDir,"lib") exeName = os.path.join(libDirName,"myANNZ") diff --git a/src/ANNZ_loopReg.cpp b/src/ANNZ_loopReg.cpp index ccf7ac1..4a89874 100644 --- a/src/ANNZ_loopReg.cpp +++ b/src/ANNZ_loopReg.cpp @@ -3453,7 +3453,7 @@ void ANNZ::doMetricPlots(TChain * aChain, vector * addPlotVarV, TStri TString cutStr("_comn"), hisTmpName("his1_TMP"); int nMLMnow = max(0, glob->GetOptI("nMLMnow")); - TString MLMname = (TString)( (nTagBestMLM == 0) ? getTagName(nMLMnow) : regBestNameVal); + TString MLMname = (TString)((nTagBestMLM == 0) ? getTagName(nMLMnow) : regBestNameVal); TString treeCuts = (TString)getTrainTestCuts(cutStr,nMLMnow,0,0,var); TString drawExprs = (TString)MLMname+"-"+zTrgName+">>"+hisTmpName;