Commit 2d8bd024 authored by Lynch, Vickie's avatar Lynch, Vickie
Browse files

Refs #22420 old setHKL changes the values of IntHKL which is not right

parent 9ffd67a3
......@@ -105,7 +105,7 @@ public:
void setBankName(std::string m_bankName);
void setHKL(double H, double K, double L) override;
void setHKL(const Mantid::Kernel::V3D &HKL) override;
void setIntHKL(const Mantid::Kernel::V3D &HKL) override;
void setIntHKL(const Mantid::Kernel::V3D HKL) override;
void resetHKL();
Mantid::Kernel::V3D getQLabFrame() const override;
......@@ -154,7 +154,7 @@ public:
void setCol(int m_col);
void setPeakNumber(int m_peakNumber) override;
int getPeakNumber() const override;
void setIntMNP(const Mantid::Kernel::V3D modulatedStructure) override;
void setIntMNP(const Mantid::Kernel::V3D MNP) override;
Mantid::Kernel::V3D getIntMNP() const override;
virtual Mantid::Kernel::V3D getDetPos() const override;
......@@ -251,12 +251,10 @@ private:
// keep peak number
int m_peakNumber;
Mantid::Kernel::V3D m_modulatedStructure;
Mantid::Kernel::V3D m_IntHKL;
Mantid::Kernel::V3D m_IntMNP;
/// integer HKL of the peak
int m_intH;
int m_intK;
int m_intL;
/// List of contributing detectors IDs
std::set<int> m_detIDs;
......
This diff is collapsed.
......@@ -45,7 +45,7 @@ public:
virtual void setL(double m_L) = 0;
virtual void setHKL(double H, double K, double L) = 0;
virtual void setHKL(const Mantid::Kernel::V3D &HKL) = 0;
virtual void setIntHKL(const Mantid::Kernel::V3D &HKL) = 0;
virtual void setIntHKL(const Mantid::Kernel::V3D HKL) = 0;
virtual Mantid::Kernel::V3D getDetectorPosition() const = 0;
virtual Mantid::Kernel::V3D getDetectorPositionNoCheck() const = 0;
......@@ -85,7 +85,7 @@ public:
virtual void setPeakNumber(int m_PeakNumber) = 0;
virtual Mantid::Kernel::V3D getIntMNP() const = 0;
virtual void setIntMNP(const Mantid::Kernel::V3D m_modStru) = 0;
virtual void setIntMNP(const Mantid::Kernel::V3D MNP) = 0;
virtual Mantid::Kernel::Matrix<double> getGoniometerMatrix() const = 0;
virtual void setGoniometerMatrix(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment