mirror of
https://github.com/paulscherrerinstitute/sf_daq_broker.git
synced 2026-08-04 20:02:26 +02:00
renamed get_size -> get_detsize
This commit is contained in:
@@ -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())
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user