From 30ee0726b43941a1df66bd7c2a9779d8afe64a11 Mon Sep 17 00:00:00 2001 From: adrien-matta <a.matta@surrey.ac.uk> Date: Sun, 6 Oct 2013 19:35:27 +0100 Subject: [PATCH] * Creating Tiara Branch --- NPLib/IORoot/RootOutput.cxx | 1 - NPSimulation/Makefile.geant4 | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/NPLib/IORoot/RootOutput.cxx b/NPLib/IORoot/RootOutput.cxx index 54f558898..d38361386 100644 --- a/NPLib/IORoot/RootOutput.cxx +++ b/NPLib/IORoot/RootOutput.cxx @@ -126,7 +126,6 @@ RootOutput::~RootOutput() { // The data is written to the file and the tree is closed: if (pRootFile && !NPOptionManager::getInstance()->GetPROOF()) { - pRootFile->cd(); cout << endl; cout << "Got histograms and Tree !" << endl; cout << " - Number of entries in the Tree: " << pRootTree->GetEntries() << endl; diff --git a/NPSimulation/Makefile.geant4 b/NPSimulation/Makefile.geant4 index f1327d347..962fd4788 100644 --- a/NPSimulation/Makefile.geant4 +++ b/NPSimulation/Makefile.geant4 @@ -23,7 +23,7 @@ endif G4WORKDIR = ./ G4BIN = ./bin -CPPFLAGS += $(shell root-config --cflags) +CPPFLAGS += $(shell root-config --cflags) CPPFLAGS += -I$(NPTOOL)/NPLib/include ifeq ($(ARCH),linuxx8664gcc) -- GitLab