]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
channels are set dead in single channel mode after one channels is finished, mt
authorhadaq <M.Traxler@gsi.de>
Sat, 22 Oct 2016 12:03:40 +0000 (14:03 +0200)
committerhadaq <M.Traxler@gsi.de>
Sat, 22 Oct 2016 12:03:40 +0000 (14:03 +0200)
thresholds/thresholds_automatic.pl

index dbdd04fbfbb4e755c68637042d6d25909d9eb545..25fd4c4f4be340c6f7cff581efd181295b93e47d 100755 (executable)
@@ -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;