From bc6814ad0b02b664716f2ae0c5d3cab2d13a61bf Mon Sep 17 00:00:00 2001 From: vhinger Date: Tue, 3 Dec 2024 16:23:24 +0100 Subject: [PATCH] Initialize image for all threads --- .../jungfrauExecutables/jungfrauRawDataProcess_filetxtH5.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slsDetectorCalibration/jungfrauExecutables/jungfrauRawDataProcess_filetxtH5.cpp b/slsDetectorCalibration/jungfrauExecutables/jungfrauRawDataProcess_filetxtH5.cpp index 76e1e7123..03138c3ab 100644 --- a/slsDetectorCalibration/jungfrauExecutables/jungfrauRawDataProcess_filetxtH5.cpp +++ b/slsDetectorCalibration/jungfrauExecutables/jungfrauRawDataProcess_filetxtH5.cpp @@ -170,7 +170,7 @@ int main(int argc, char *argv[]) { //auto filter = std::make_unique(decoder.get(), 3, nsigma, 1, nullptr, nped, 200, -1, -1, nullptr, nullptr); thr = 0.15 * thr; - filter->newDataSet(); + //filter->newDataSet(); // int dsize = decoder->getDataSize(); if (thr > 0) { @@ -191,6 +191,7 @@ int main(int argc, char *argv[]) { new multiThreadedCountingDetector(filter, nthreads, fifosize); //auto mt = std::make_unique(filter.get(), nthreads, fifosize); mt->setClusterSize(csize, csize); + mt->newDataSet(); #ifndef ANALOG mt->setDetectorMode(ePhotonCounting);