From 4002ef446b9e4e2d7173b0e8a9651318cfc78802 Mon Sep 17 00:00:00 2001 From: NichtJens Date: Fri, 10 Oct 2025 11:14:55 +0200 Subject: [PATCH] renamed get_size -> get_detsize --- sf_daq_broker/detector/detector.py | 2 +- sf_daq_broker/detector/detector_config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sf_daq_broker/detector/detector.py b/sf_daq_broker/detector/detector.py index 1570fbb..bb94dcb 100644 --- a/sf_daq_broker/detector/detector.py +++ b/sf_daq_broker/detector/detector.py @@ -207,7 +207,7 @@ def apply_detector_config(detector_configuration, detector): detector_number = detector_configuration.get_number() # number_modules = detector_configuration.get_number_modules() - detector.detsize = detector_configuration.get_size() + detector.detsize = detector_configuration.get_detsize() detector.setHostname(detector_configuration.get_hostname()) diff --git a/sf_daq_broker/detector/detector_config.py b/sf_daq_broker/detector/detector_config.py index 0fa7747..7c036b9 100644 --- a/sf_daq_broker/detector/detector_config.py +++ b/sf_daq_broker/detector/detector_config.py @@ -106,7 +106,7 @@ class DetectorConfig(): def get_number_modules(self): return int(self.name[5:7]) - def get_size(self): + def get_detsize(self): return [1024, self.get_number_modules()*512]