mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-23 03:52:43 +02:00
add base directory path to buffer
This commit is contained in:
committed by
Data Backend account
parent
36e73e108a
commit
65aefd1a90
@@ -6,6 +6,8 @@
|
||||
|
||||
namespace core_buffer {
|
||||
|
||||
const std::string BUFFER_BASE_DIR = "/gpfs/photonics/swissfel/buffer/";
|
||||
|
||||
const size_t MODULE_X_SIZE = 1024;
|
||||
const size_t MODULE_Y_SIZE = 512;
|
||||
const size_t MODULE_N_PIXELS = MODULE_X_SIZE * MODULE_Y_SIZE;
|
||||
|
||||
@@ -77,7 +77,7 @@ void sf_replay (
|
||||
base_pulse_id *= core_buffer::FILE_MOD;
|
||||
|
||||
size_t current_pulse_id = base_pulse_id;
|
||||
string filename_base = device + "/" + channel_name + "/";
|
||||
string filename_base = core_buffer::BUFFER_BASE_DIR + "/" + device + "/" + channel_name + "/";
|
||||
|
||||
for (const auto& filename_suffix:path_suffixes) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user