16#include "MantidMDAlgorithms/DllConfig.h"
19namespace MDAlgorithms {
33 const std::string
name()
const override {
return "ConvertToDiffractionMDWorkspace"; };
35 const std::string
summary()
const override {
36 return "Create a MDEventWorkspace with events in reciprocal space (Qx, Qy, "
37 "Qz) for an elastic diffraction experiment.";
41 int version()
const override {
return 1; }
43 const std::string
category()
const override {
return "MDAlgorithms\\Creation"; }
85 std::shared_ptr<Kernel::ProgressBase>
prog;
An abstract algorithm sub-class for algorithms that define properties for BoxController settings.
API::SpectrumInfo is an intermediate step towards a SpectrumInfo that is part of Instrument-2....
std::shared_ptr< MDEventWorkspace< MDE, nd > > sptr
Typedef for a shared pointer of this kind of event workspace.
ConvertToDiffractionMDWorkspace : Create a MDEventWorkspace with events in reciprocal space (Qx,...
DataObjects::EventWorkspace_sptr m_inEventWS
The input event workspace.
double beamline_norm
Path length between source and sample.
coord_t * m_extentsMax
Maximum extents of the workspace. Cached for speed.
const std::string category() const override
Algorithm's category for identification.
const std::string name() const override
Algorithm's name for identification.
Kernel::V3D beamline
Beam direction and length.
bool ClearInputWorkspace
Do we clear events on the input during loading?
Kernel::V3D beamDir
Beam direction (unit vector)
size_t failedDetectorLookupCount
Path length between source and sample.
API::MatrixWorkspace_sptr m_inWS
The input MatrixWorkspace.
Kernel::V3D samplePos
Sample position.
detid2det_map allDetectors
Map of all the detectors in the instrument.
DataObjects::MDEventWorkspace3Lean::sptr ws
The output MDEventWorkspace<3>
bool Append
Are we appending?
const std::string summary() const override
Summary of algorithms purpose.
int version() const override
Algorithm's version for identification.
double l1
Primary flight path (source to sample)
Kernel::Matrix< double > mat
Matrix.
bool LorentzCorrection
Perform LorentzCorrection on the fly.
std::shared_ptr< Kernel::ProgressBase > prog
Progress reporter (shared)
coord_t * m_extentsMin
Minimum extents of the workspace. Cached for speed.
bool OneEventPerBin
Use the histogram representation with one event per bin.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< EventWorkspace > EventWorkspace_sptr
shared pointer to the EventWorkspace class
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,...
std::map< detid_t, Geometry::IDetector_const_sptr > detid2det_map
Typedef of a map from detector ID to detector shared pointer.