Mantid
|
Partition QLab space into a cubic lattice. More...
#include <IntegrateQLabEvents.h>
Public Member Functions | |
CellCoords (const V3D &q, const double cellSize) | |
int64_t | getHash () |
cast coordinates to scalar, to be used as key in an unordered map More... | |
bool | isOrigin () |
Check if all cell coords are zero. More... | |
std::vector< int64_t > | nearbyCellHashes () |
Hashes for the 26 first neighbor coordinates plus the coordinates themselves. More... | |
Public Attributes | |
int64_t | a |
int64_t | b |
int64_t | c |
Partition QLab space into a cubic lattice.
Definition at line 33 of file IntegrateQLabEvents.h.
|
inline |
Definition at line 38 of file IntegrateQLabEvents.h.
|
inline |
cast coordinates to scalar, to be used as key in an unordered map
Definition at line 46 of file IntegrateQLabEvents.h.
Referenced by Mantid::MDAlgorithms::IntegrateQLabEvents::addEvent(), Mantid::MDAlgorithms::IntegrateQLabEvents::ellipseIntegrateEvents(), and Mantid::MDAlgorithms::IntegrateQLabEvents::IntegrateQLabEvents().
|
inline |
Check if all cell coords are zero.
Definition at line 43 of file IntegrateQLabEvents.h.
Referenced by Mantid::MDAlgorithms::IntegrateQLabEvents::addEvent(), and Mantid::MDAlgorithms::IntegrateQLabEvents::IntegrateQLabEvents().
|
inline |
Hashes for the 26 first neighbor coordinates plus the coordinates themselves.
Definition at line 50 of file IntegrateQLabEvents.h.
Referenced by Mantid::MDAlgorithms::IntegrateQLabEvents::populateCellsWithPeaks().
int64_t Mantid::MDAlgorithms::CellCoords::a |
Definition at line 34 of file IntegrateQLabEvents.h.
Referenced by getHash(), isOrigin(), and nearbyCellHashes().
int64_t Mantid::MDAlgorithms::CellCoords::b |
Definition at line 35 of file IntegrateQLabEvents.h.
Referenced by getHash(), isOrigin(), and nearbyCellHashes().
int64_t Mantid::MDAlgorithms::CellCoords::c |
Definition at line 36 of file IntegrateQLabEvents.h.
Referenced by getHash(), isOrigin(), and nearbyCellHashes().