From ee617d4af58b745821408ee84ac158c008ae19e9 Mon Sep 17 00:00:00 2001 From: Suter Andreas Date: Mon, 16 Mar 2015 10:43:52 +0100 Subject: [PATCH] some minor correction for ASCII export in any2many --- src/classes/PRunDataHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/classes/PRunDataHandler.cpp b/src/classes/PRunDataHandler.cpp index 9d5c40d2..4347a67d 100644 --- a/src/classes/PRunDataHandler.cpp +++ b/src/classes/PRunDataHandler.cpp @@ -5437,7 +5437,7 @@ Bool_t PRunDataHandler::WriteMudFile(TString fln) noOfEvents = 0; k = 0; for (UInt_t j=0; jGetData()->size(); j++) { - if ((j != 0) && (j % fAny2ManyInfo->rebin == 0)) { + if ((j > 0) && (j % fAny2ManyInfo->rebin == 0)) { data[k] = ival; noOfEvents += ival; k++; @@ -5622,7 +5622,7 @@ Bool_t PRunDataHandler::WriteAsciiFile(TString fln) } for (UInt_t i=0; irebin) == 0) { + if ((i > 0) && ((i % fAny2ManyInfo->rebin) == 0)) { cout << endl; for (UInt_t j=0; j