Files
Jungfraujoch/common/Reflection.h
leonarski_f be5dff5370
Some checks failed
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Failing after 4m2s
Build Packages / build:rpm (rocky9_nocuda) (push) Failing after 4m20s
Build Packages / build:rpm (ubuntu2204) (push) Failing after 4m15s
Build Packages / build:rpm (rocky8_nocuda) (push) Failing after 4m43s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Failing after 4m37s
Build Packages / Create release (push) Has been skipped
Build Packages / build:rpm (rocky9) (push) Failing after 4m35s
Build Packages / Generate python client (push) Successful in 33s
Build Packages / build:rpm (rocky8_sls9) (push) Failing after 4m50s
Build Packages / build:rpm (rocky8) (push) Failing after 4m53s
Build Packages / Build documentation (push) Successful in 49s
Build Packages / Unit tests (push) Failing after 2m26s
Build Packages / build:rpm (ubuntu2404) (push) Failing after 4m6s
Reflection: slightly reduce struct size
2026-02-17 19:23:34 +01:00

31 lines
742 B
C++

// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
// SPDX-License-Identifier: GPL-3.0-only
#ifndef JFJOCH_REFLECTION_H
#define JFJOCH_REFLECTION_H
#include <cstdint>
#include <optional>
#include "SpotToSave.h"
struct Reflection {
int32_t h;
int32_t k;
int32_t l;
float image_number; // Can be in-between for 3D integration
float delta_phi_deg; // phi angle from XDS - difference from middle of current frame (NOT an absolute angle)
float predicted_x;
float predicted_y;
float d;
float I;
float bkg;
float sigma;
float dist_ewald;
float rlp;
float partiality;
float zeta;
bool observed = false;
};
#endif //JFJOCH_REFLECTION_H