This commit is contained in:
2026-03-09 19:02:36 +01:00
parent db5c453b35
commit 525a51cd34
2 changed files with 5 additions and 6 deletions
+4 -4
View File
@@ -16,7 +16,7 @@ auto jungfrau_ilgad_singlechip_25um_strixel_map =
config::jungfrau::Chip6, rx_roi, bs);
else {
// or allow user-defined sensor placement
// (that would mean std::optional<int> chip_id and
// (that would mean something like std::optional<int> chip_id and
// std::optional<InclusiveROI> sensor_placement)
throw std::runtime_error("Invalid sensor placement.");
}
@@ -34,7 +34,7 @@ auto jungfrau_ilgad_singlechip_15um_strixel_map =
config::jungfrau::Chip6, rx_roi, bs);
else {
// or allow user-defined sensor placement
// (that would mean std::optional<int> chip_id and
// (that would mean something like std::optional<int> chip_id and
// std::optional<InclusiveROI> sensor_placement)
throw std::runtime_error("Invalid sensor placement.");
}
@@ -52,7 +52,7 @@ auto jungfrau_ilgad_singlechip_18um_strixel_map =
config::jungfrau::Chip6, rx_roi, bs);
else {
// or allow user-defined sensor placement
// (that would mean std::optional<int> chip_id and
// (that would mean something like std::optional<int> chip_id and
// std::optional<InclusiveROI> sensor_placement)
throw std::runtime_error("Invalid sensor placement.");
}
@@ -67,7 +67,7 @@ auto jungfrau_ilgad_singlechip_multipitch_strixel_maps =
placement = config::jungfrau::Chip6;
else {
// or allow user-defined sensor placement
// (that would mean std::optional<int> chip_id and
// (that would mean something like std::optional<int> chip_id and
// std::optional<InclusiveROI> sensor_placement)
throw std::runtime_error("Invalid sensor placement.");
}
+1 -2
View File
@@ -105,8 +105,7 @@ strixel_to_pixel_map(defs::SensorGroupConfig group_config,
}
if (min_row_strx > max_row_strx) {
// nothing mapped
return {multiplicity, pitch, eff, {}};
return {multiplicity, pitch, eff, {}}; // nothing mapped
}
const int nrows_strx = max_row_strx - min_row_strx + 1;