mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-11-11 08:54:03 +01:00
Add reconstruction block start and stop pulse_id
This commit is contained in:
1 parent
909ac4480b
commit
e0ffd88e29
1 file changed
+4
@@ -107,6 +107,10 @@ ImageMetadataBlock* ImageAssembler::get_metadata_buffer(const uint64_t bunch_id)
|
||||
auto meta_offset = get_metadata_offset(slot_id, 0);
|
||||
const auto meta_offset_step = 1;
|
||||
|
||||
meta_buffer_->block_start_pulse_id = bunch_id * BUFFER_BLOCK_SIZE;
|
||||
meta_buffer_->block_stop_pulse_id =
|
||||
meta_buffer_->block_start_pulse_id + BUFFER_BLOCK_SIZE - 1;
|
||||
|
||||
for (size_t i_pulse=0; i_pulse < BUFFER_BLOCK_SIZE; i_pulse++) {
|
||||
|
||||
auto is_pulse_init = false;
|
||||
|
||||
Reference in new issue
Block a user