Mantid
|
private inner class More...
Public Member Functions | |
FittedPeaks (const API::MatrixWorkspace_const_sptr &wksp, const std::size_t wkspIndex) | |
Find the bins with non-zero counts and with minimum and maximum TOF. More... | |
void | setPositions (const std::vector< double > &peaksInD, const std::vector< double > &peaksInDWindows, const double difa, const double difc, const double tzero) |
Store the positions of the peak centers, as well as the left and right fit ranges for each peak, in TOF units. More... | |
Public Attributes | |
std::set< detid_t > | detid |
std::vector< double > | inDPos |
std::vector< double > | inTofPos |
std::vector< double > | inTofWindows |
double | tofMax |
double | tofMin |
std::size_t | wkspIndex |
private inner class
Definition at line 74 of file PDCalibration.cpp.
|
inline |
Find the bins with non-zero counts and with minimum and maximum TOF.
wksp | :: Input signal workspace |
wkspIndex | :: workspace index |
runtime_error | :: more than one detector is associated to the workspace index |
Definition at line 85 of file PDCalibration.cpp.
References detid, tofMax, tofMin, wkspIndex, Mantid::Geometry::X, and Mantid::Geometry::Y.
|
inline |
Store the positions of the peak centers, as well as the left and right fit ranges for each peak, in TOF units.
peaksInD | :: peak centers, in d-spacing |
peaksInDWindows | :: left and right fit ranges for each peak |
difa | :: difa diffractometer constant (quadratic term) |
difc | :: difc diffractometer constant (linear term) |
tzero | :: tzero diffractometer constant (constant term) |
Definition at line 126 of file PDCalibration.cpp.
References Mantid::Kernel::difa, Mantid::Kernel::difc, inDPos, inTofPos, inTofWindows, Mantid::Kernel::Unit::toTOF(), and Mantid::Kernel::tzero.
Referenced by Mantid::Algorithms::PDCalibration::exec().
std::set<detid_t> Mantid::Algorithms::PDCalibration::FittedPeaks::detid |
Definition at line 150 of file PDCalibration.cpp.
Referenced by Mantid::Algorithms::PDCalibration::exec(), and FittedPeaks().
std::vector<double> Mantid::Algorithms::PDCalibration::FittedPeaks::inDPos |
Definition at line 156 of file PDCalibration.cpp.
Referenced by setPositions().
std::vector<double> Mantid::Algorithms::PDCalibration::FittedPeaks::inTofPos |
Definition at line 153 of file PDCalibration.cpp.
Referenced by setPositions().
std::vector<double> Mantid::Algorithms::PDCalibration::FittedPeaks::inTofWindows |
Definition at line 155 of file PDCalibration.cpp.
Referenced by Mantid::Algorithms::PDCalibration::exec(), and setPositions().
double Mantid::Algorithms::PDCalibration::FittedPeaks::tofMax |
Definition at line 152 of file PDCalibration.cpp.
Referenced by FittedPeaks().
double Mantid::Algorithms::PDCalibration::FittedPeaks::tofMin |
Definition at line 151 of file PDCalibration.cpp.
Referenced by FittedPeaks().
std::size_t Mantid::Algorithms::PDCalibration::FittedPeaks::wkspIndex |
Definition at line 149 of file PDCalibration.cpp.
Referenced by FittedPeaks().