20 lines
655 B
C++
20 lines
655 B
C++
// 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 OpenFile(HDF5File &data_file, const DataMessage& msg) override;
|
|
void Write(const DataMessage& msg) override;
|
|
void WriteFinal(HDF5File &data_file) override;
|
|
};
|
|
|
|
#endif //JUNGFRAUJOCH_HDF5DATAFILEPLUGINAZINT_H
|