* Enhancements for EIGER * Writer is more flexible and capable of handling DECTRIS data
22 lines
683 B
C++
22 lines
683 B
C++
// Copyright (2019-2024) Paul Scherrer Institute
|
|
|
|
#ifndef JUNGFRAUJOCH_HDF5DATAFILEPLUGINXFEL_H
|
|
#define JUNGFRAUJOCH_HDF5DATAFILEPLUGINXFEL_H
|
|
|
|
#include "HDF5DataFilePlugin.h"
|
|
|
|
class HDF5DataFilePluginXFEL : public HDF5DataFilePlugin {
|
|
bool enable = false;
|
|
|
|
std::unique_ptr<HDF5DataSet> data_set_xfel_pulseid = nullptr;
|
|
std::unique_ptr<HDF5DataSet> data_set_xfel_event_code = nullptr;
|
|
public:
|
|
void SetupSWMRFile(HDF5File &data_file, const DataMessage& msg) override;
|
|
void OpenFile(HDF5File &data_file, const DataMessage& msg) override;
|
|
void Write(const DataMessage& msg) override;
|
|
void Flush() override;
|
|
};
|
|
|
|
|
|
#endif //JUNGFRAUJOCH_HDF5DATAFILEPLUGINXFEL_H
|