13namespace DataObjects {
37 using MDEventType =
typename MDEW_SPTR::element_type::MDEventType;
56 void insertMDEvent(
float signal,
float errorSQ, uint16_t expInfoIndex, uint16_t goniometerIndex, int32_t detectno,
60 insertMDEvent(signal, errorSQ, expInfoIndex, goniometerIndex, detectno, coords,
76 m_ws->addEvent(
MDEventType(signal, errorSQ, coords));
89 void insertMDEvent(
float signal,
float errorSQ, uint16_t expInfoIndex, uint16_t goniometerIndex, int32_t detectno,
91 m_ws->addEvent(
MDEventType(signal, errorSQ, expInfoIndex, goniometerIndex, detectno, coords));
double value
The value of the point.
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
MDEventInserter : Helper class that provides a generic interface for adding events to an MDWorkspace ...
typename MDEW_SPTR::element_type::MDEventType MDEventType
Type of MDEvent used by the MDEventWorkspace.
MDEW_SPTR m_ws
shared pointer to MDEW to add to.
void insertMDEvent(float signal, float errorSQ, uint16_t expInfoIndex, uint16_t goniometerIndex, int32_t detectno, Mantid::coord_t *coords, IntToType< true >)
Creates a FULL MDEvent and adds it to the MDEW.
void insertMDEvent(float signal, float errorSQ, uint16_t, uint16_t, int32_t, Mantid::coord_t *coords, IntToType< false >)
Creates a LEAN MDEvent and adds it to the MDEW.
void insertMDEvent(float signal, float errorSQ, uint16_t expInfoIndex, uint16_t goniometerIndex, int32_t detectno, Mantid::coord_t *coords)
Creates an mdevent and adds it to the MDEW.
MDEventInserter(MDEW_SPTR &ws)
Constructor.
Helper class which provides the Collimation Length for SANS instruments.
float coord_t
Typedef for the data type to use for coordinate axes in MD objects such as MDBox, MDEventWorkspace,...
Loki IntToType, used for template overload deduction.