DiffractionExperiment: Move internal variables to a C++ structure

This commit is contained in:
2023-11-14 11:54:51 +01:00
parent e85988dfa2
commit f778a35e6f
19 changed files with 490 additions and 511 deletions
+4 -4
View File
@@ -10,14 +10,14 @@ class DetectorModuleGeometry {
public:
enum class Direction {Xneg, Xpos, Yneg, Ypos};
private:
const int64_t x0;
const int64_t y0;
int64_t x0;
int64_t y0;
constexpr static const int64_t fast_pixels = CONVERTED_MODULE_COLS;
constexpr static const int64_t slow_pixels = CONVERTED_MODULE_LINES;
const Direction fast;
const Direction slow;
Direction fast;
Direction slow;
public:
DetectorModuleGeometry(int64_t x0, int64_t y0, Direction fast, Direction slow);
[[nodiscard]] int64_t GetMaxX() const;