From a6fbfb106930b09be86677a257f14034eebffe75 Mon Sep 17 00:00:00 2001 From: "www@jspc55" Date: Tue, 1 Jul 2014 16:44:24 +0200 Subject: [PATCH] stable --- tools/unpacker/unpacker.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/unpacker/unpacker.cxx b/tools/unpacker/unpacker.cxx index 94223f7..80f15d8 100644 --- a/tools/unpacker/unpacker.cxx +++ b/tools/unpacker/unpacker.cxx @@ -6,7 +6,7 @@ signed analyzeData(hadaq::RawSubevent* sub, unsigned ix, unsigned datalen, uns unsigned getSensor(unsigned sensorId); void writeResults(); -#define DEBUG 2 +#define DEBUG 0 #define MAX_SENSORS 12 unsigned pixelMap[MAX_SENSORS][576][1152] = {{0}}; @@ -292,7 +292,7 @@ void writeResults() { hitrates[2], hitrates[3]); fprintf(cvt, "set output '%s/%s_%08x.png';\n",picPath,mySystem,sensors[i]); - printf("set output '%s/%s_%08x.png';\n",picPath,mySystem,sensors[i]); + printf("\nset output '%s/%s_%08x.png';\n",picPath,mySystem,sensors[i]); fprintf(cvt, "plot '-' matrix with image\n"); for(unsigned r = 0; r < 576; r++) { -- 2.43.0