mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-09 18:52:03 +02:00
config takes image height and width instead of n_pixels
This commit is contained in:
@@ -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 << ' ';
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user