From 1e0dffca5a4498233789e40f33efe364d3580a6f Mon Sep 17 00:00:00 2001 From: Kurt Biery Date: Wed, 5 Jun 2024 13:34:30 -0500 Subject: [PATCH 1/3] [KAB] Updated the iceberg_real_hsi_test integtest to take into account recent changes in config parameters --- integtest/iceberg_real_hsi_test.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/integtest/iceberg_real_hsi_test.py b/integtest/iceberg_real_hsi_test.py index 15af118..4ece9dd 100644 --- a/integtest/iceberg_real_hsi_test.py +++ b/integtest/iceberg_real_hsi_test.py @@ -81,8 +81,8 @@ conf_dict["detector"]["clock_speed_hz"] = 62500000 conf_dict["readout"]["latency_buffer_size"] = 200000 conf_dict["readout"]["use_fake_data_producers"] = True -conf_dict["trigger"]["trigger_window_before_ticks"] = 1000 -conf_dict["trigger"]["trigger_window_after_ticks"] = 1000 +conf_dict["trigger"]["ttcm_input_map"] = [{'signal': 128, 'tc_type_name': 'kTLUFakeTrigger', + 'time_before': 1000, 'time_after': 1000}] conf_dict["dataflow"]["apps"] = [] # Remove preconfigured dataflow0 app for df_app in range(number_of_dataflow_apps): @@ -91,8 +91,6 @@ conf_dict["dataflow"]["apps"].append(dfapp_conf) if we_are_running_on_an_iceberg_computer and the_global_timing_session_is_running and the_connection_server_is_running: - conf_dict["trigger"]["ttcm_s1"] = 128 - conf_dict["trigger"]["hsi_trigger_type_passthrough"] = True conf_dict["hsi"]["random_trigger_rate_hz"] = base_trigger_rate conf_dict["hsi"]["control_hsi_hw"]= True conf_dict["hsi"]["hsi_device_name"]= "BOREAS_TLU_ICEBERG" From 19ccf910c3a7c7da6d06f4587ebf4c4c6428d2ff Mon Sep 17 00:00:00 2001 From: Kurt Biery Date: Tue, 18 Jun 2024 13:36:24 -0500 Subject: [PATCH 2/3] Added a config entry for the playback data file to be used so that we get the detector ID correct in the Fragment header --- integtest/iceberg_real_hsi_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/integtest/iceberg_real_hsi_test.py b/integtest/iceberg_real_hsi_test.py index 4ece9dd..92365d0 100644 --- a/integtest/iceberg_real_hsi_test.py +++ b/integtest/iceberg_real_hsi_test.py @@ -84,6 +84,12 @@ conf_dict["trigger"]["ttcm_input_map"] = [{'signal': 128, 'tc_type_name': 'kTLUFakeTrigger', 'time_before': 1000, 'time_after': 1000}] +conf_dict["readout"]["data_files"] = [] +datafile_conf = {} +datafile_conf["data_file"] = "asset://?checksum=e96fd6efd3f98a9a3bfaba32975b476e" # WIBEth +datafile_conf["detector_id"] = 3 +conf_dict["readout"]["data_files"].append(datafile_conf) + conf_dict["dataflow"]["apps"] = [] # Remove preconfigured dataflow0 app for df_app in range(number_of_dataflow_apps): dfapp_conf = {} From 8e397d8eafe6233827bd306c96c16de220d26e64 Mon Sep 17 00:00:00 2001 From: Kurt Biery Date: Tue, 2 Jul 2024 08:26:15 -0500 Subject: [PATCH 3/3] Updated to the new TC type name (kDTSPulser) --- integtest/iceberg_real_hsi_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integtest/iceberg_real_hsi_test.py b/integtest/iceberg_real_hsi_test.py index 92365d0..2f80ac2 100644 --- a/integtest/iceberg_real_hsi_test.py +++ b/integtest/iceberg_real_hsi_test.py @@ -81,7 +81,7 @@ conf_dict["detector"]["clock_speed_hz"] = 62500000 conf_dict["readout"]["latency_buffer_size"] = 200000 conf_dict["readout"]["use_fake_data_producers"] = True -conf_dict["trigger"]["ttcm_input_map"] = [{'signal': 128, 'tc_type_name': 'kTLUFakeTrigger', +conf_dict["trigger"]["ttcm_input_map"] = [{'signal': 128, 'tc_type_name': 'kDTSPulser', 'time_before': 1000, 'time_after': 1000}] conf_dict["readout"]["data_files"] = []