Files
Jungfraujoch/common/SpotToSave.h
2025-09-08 20:28:59 +02:00

25 lines
598 B
C

// SPDX-FileCopyrightText: 2024 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
// 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 intensity = 0;
int64_t maxc = 0;
float d_A = 0.0;
bool ice_ring = false;
bool indexed = false;
int64_t h = 0, k = 0, l= 0;
float dist_ewald_sphere = 0.0;
Coord ReciprocalCoord(const DiffractionGeometry &experiment) const;
};
#endif //JUNGFRAUJOCH_SPOTTOSAVE_H