DiffractionExperiment: Move internal variables to a C++ structure
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user