fixed quad structure
All checks were successful
Build on RHEL9 / build (push) Successful in 2m50s
Build on RHEL8 / build (push) Successful in 3m2s

This commit is contained in:
2025-06-23 17:26:59 +02:00
parent 318e640639
commit 664055de92
2 changed files with 5 additions and 7 deletions

View File

@@ -23,13 +23,12 @@ DetectorGeometry::DetectorGeometry(const xy &geometry,
for (size_t port_col = 0;
port_col < udp_interfaces_per_module.col; ++port_col) {
ModuleGeometry g;
g.origin_x = (col + port_col) * module_pixels_x;
g.origin_y = (row + port_row) *
module_pixels_y; // TODO: quad doesnt seem
// to have an effect
g.row_index =
quad ? (row + port_row + 1) % 2 : (row + port_row);
g.col_index = col + port_col;
g.origin_x = g.col_index * module_pixels_x;
g.origin_y = g.row_index * module_pixels_y;
g.width = module_pixels_x;
g.height = module_pixels_y;
module_geometries.push_back(g);