From 2e2c249e33b11276b1523f5bad78dafa8405236f Mon Sep 17 00:00:00 2001 From: prokscha Date: Thu, 23 May 2019 11:13:36 +0200 Subject: [PATCH 1/2] Fixed bug in runMuSimulation.C --- src/tests/MuTransition/runMuSimulation.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/MuTransition/runMuSimulation.C b/src/tests/MuTransition/runMuSimulation.C index c423d3ac..d5fa87bb 100644 --- a/src/tests/MuTransition/runMuSimulation.C +++ b/src/tests/MuTransition/runMuSimulation.C @@ -91,7 +91,7 @@ void runMuSimulation() TTimeStamp *timeStampStart = new TTimeStamp(); cout << endl << "Simulation started on:" << endl; - timeStampStart->Print("l); + timeStampStart->Print("l"); cout << endl; histogramFileName = TString("0"); From 34b432b1857207f2c31328c263b1c0b42e70f01b Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Mon, 3 Jun 2019 14:14:20 +0200 Subject: [PATCH 2/2] Non-muSR data export from musrview Add the theory export part again which was lost after restructuring. --- src/classes/PMusrCanvas.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/classes/PMusrCanvas.cpp b/src/classes/PMusrCanvas.cpp index 06e995de..b51f1046 100644 --- a/src/classes/PMusrCanvas.cpp +++ b/src/classes/PMusrCanvas.cpp @@ -1911,7 +1911,7 @@ void PMusrCanvas::ExportData(const Char_t *fileName) xmax = fMultiGraphData->GetXaxis()->GetBinCenter(xmaxBin); // fill ascii dump data - for (UInt_t i=0; i 0) + dumpVector.push_back(dump); + + // clean up dump + dump.dataX.clear(); + dump.data.clear(); + dump.dataErr.clear(); + // go through all theory bins for (Int_t j=0; jGetN(); j++) { // get x and y value