config takes image height and width instead of n_pixels

This commit is contained in:
lhdamiani
2021-07-26 17:00:46 +02:00
parent aa00703701
commit 49434e86c0
12 changed files with 46 additions and 30 deletions
+5 -9
View File
@@ -9,17 +9,11 @@ namespace BufferUtils
{
struct DetectorConfig {
// const std::string streamvis_address;
// const int reduction_factor_streamvis;
// const std::string live_analysis_address;
// const int reduction_factor_live_analysis;
// const std::string PEDE_FILENAME;
// const std::string GAIN_FILENAME;
// const std::string buffer_folder;
const std::string detector_name;
const std::string detector_type;
const int n_modules;
const int image_n_pixels;
const int image_height;
const int image_width;
const int start_udp_port;
@@ -28,7 +22,9 @@ namespace BufferUtils
return os << det_config.detector_name << ' '
<< det_config.detector_type << ' '
<< det_config.n_modules << ' '
<< det_config.start_udp_port << ' ';
<< det_config.start_udp_port << ' '
<< det_config.image_height << ' '
<< det_config.image_width << ' ';
}
};