* Enhancements for XFEL
* Enhancements for EIGER * Writer is more flexible and capable of handling DECTRIS data
This commit is contained in:
20
writer/HDF5DataFilePluginAzInt.h
Normal file
20
writer/HDF5DataFilePluginAzInt.h
Normal file
@@ -0,0 +1,20 @@
|
||||
// Copyright (2019-2024) Paul Scherrer Institute
|
||||
|
||||
#ifndef JUNGFRAUJOCH_HDF5DATAFILEPLUGINAZINT_H
|
||||
#define JUNGFRAUJOCH_HDF5DATAFILEPLUGINAZINT_H
|
||||
|
||||
#include "HDF5DataFilePlugin.h"
|
||||
|
||||
class HDF5DataFilePluginAzInt : public HDF5DataFilePlugin {
|
||||
std::unique_ptr<HDF5DataSet> data_set_az_int = nullptr;
|
||||
std::vector<float> rad_int_bin_to_q;
|
||||
|
||||
public:
|
||||
explicit HDF5DataFilePluginAzInt(const std::vector<float> &rad_int_bin_to_q);
|
||||
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_HDF5DATAFILEPLUGINAZINT_H
|
||||
Reference in New Issue
Block a user