config takes image height and width instead of n_pixels

This commit is contained in:
lhdamiani committed 2021-07-26 17:00:46 +02:00
1 parent aa00703701
commit 49434e86c0
12 files changed
+46 -30

No files matched your search

+4 -2
View File
@@ -18,13 +18,15 @@ struct StreamSendConfig {
return {
config_parameters["detector_name"].GetString(),
config_parameters["n_modules"].GetInt(),
config_parameters["image_n_pixels"].GetInt(),
config_parameters["image_height"].GetInt(),
config_parameters["image_width"].GetInt(),
};
}
const std::string detector_name;
const int n_modules;
const int image_n_pixels;
const int image_height;
const int image_width;
};