10#include "MantidDataHandling/DllConfig.h"
15#include "MantidTypes/Core/DateAndTime.h"
36 const std::string
name()
const override {
return "LoadDNSEvent"; }
38 const std::string
summary()
const override {
39 return "Loads data from the DNS PSD detector to a Mantid EventWorkspace.";
43 int version()
const override {
return 1; }
44 const std::vector<std::string>
seeAlso()
const override {
return {}; }
46 const std::string
category()
const override {
return "DataHandling"; }
57 uint16_t bufferLength = 0;
58 uint16_t bufferVersion = 0;
59 uint16_t headerLength = 0;
60 uint16_t bufferNumber = 0;
63 uint8_t deviceStatus = 0;
64 uint64_t timestamp = 0;
71 uint64_t timestamp = 0;
82 bool isChopperTrigger =
false;
91 uint32_t m_chopperChannel = 2;
92 uint32_t m_detectorPixelCount = 0;
94 bool m_discardPreChopperEvents =
true;
95 bool m_setBinBoundary =
false;
103 std::vector<std::vector<uint8_t>> split_File(
FileByteStream &file,
const unsigned maxChunckCount);
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
const std::string name() const override
function to return a name of the algorithm, must be overridden in all algorithms
const std::string summary() const override
Summary of algorithms purpose.
int version() const override
function to return a version of the algorithm, must be overridden in all algorithms
const std::string category() const override
function to return a category of the algorithm.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Defines a wrapper around an open file.
std::shared_ptr< EventWorkspace > EventWorkspace_sptr
shared pointer to the EventWorkspace class
std::vector< std::vector< CompactEvent > > neutronEvents
std::vector< CompactEvent > triggerEvents