From: hadaq Date: Sat, 22 Oct 2016 12:03:40 +0000 (+0200) Subject: channels are set dead in single channel mode after one channels is finished, mt X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=bd1a800d79ac46dce35c0417d2faee7c547fcd07;p=daqtools.git channels are set dead in single channel mode after one channels is finished, mt --- diff --git a/thresholds/thresholds_automatic.pl b/thresholds/thresholds_automatic.pl index dbdd04f..25fd4c4 100755 --- a/thresholds/thresholds_automatic.pl +++ b/thresholds/thresholds_automatic.pl @@ -306,6 +306,11 @@ foreach my $i (@range) { } # end of channel_by_channel loop +# set all channels to 0 after threshold determination in single channel mode +if($channel_by_channel == true) { + write_thresholds($mode, $chain, \@zero_array); +} + exit;