// SPDX-FileCopyrightText: 2024 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #ifndef JUNGFRAUJOCH_SPOTTOSAVE_H #define JUNGFRAUJOCH_SPOTTOSAVE_H #include "DiffractionGeometry.h" struct SpotToSave { float x = 0; float y = 0; float phi = 0; float intensity = 0; int64_t maxc = 0; float d_A = 0.0; bool ice_ring = false; bool indexed = false; int64_t image = 0; int64_t h = 0, k = 0, l= 0; float dist_ewald_sphere = 0.0; Coord ReciprocalCoord(const DiffractionGeometry &experiment) const; }; #endif //JUNGFRAUJOCH_SPOTTOSAVE_H