Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
LoadILLTOF2.cpp File Reference
#include "MantidDataHandling/LoadILLTOF2.h"
#include "MantidAPI/Axis.h"
#include "MantidAPI/FileProperty.h"
#include "MantidAPI/MatrixWorkspace.h"
#include "MantidAPI/RegisterFileLoader.h"
#include "MantidAPI/Run.h"
#include "MantidAPI/WorkspaceFactory.h"
#include "MantidDataHandling/LoadHelper.h"
#include "MantidGeometry/Instrument.h"
#include "MantidKernel/UnitFactory.h"
#include "MantidLegacyNexus/NeXusException.hpp"
#include "MantidLegacyNexus/NeXusFile.hpp"
#include "MantidLegacyNexus/NexusClasses.h"

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::DataHandling
 
namespace  Mantid::DataHandling::LegacyLoadHelper
 

Functions

void Mantid::DataHandling::LegacyLoadHelper::addNexusFieldsToWsRun (LegacyNexus::File &filehandle, API::Run &runDetails)
 Add properties from a nexus file to the workspace run.
 
template<typename NumericType >
void Mantid::DataHandling::LegacyLoadHelper::addNumericProperty (LegacyNexus::File &filehandle, const LegacyNexus::Info &nxinfo, const std::string &property_name, API::Run &runDetails)
 
void Mantid::DataHandling::LegacyLoadHelper::fillStaticWorkspace (const API::MatrixWorkspace_sptr &ws, const LegacyNexus::NXInt &data, const std::vector< double > &xAxis, int64_t initialSpectrum=0, bool pointData=false, const std::vector< int > &detectorIDs=std::vector< int >(), const std::set< int > &acceptedDetectorIDs=std::set< int >(), const std::tuple< short, short, short > &axisOrder=std::tuple< short, short, short >(0, 1, 2))
 Fills workspace with histogram data from provided data structure.
 
std::string Mantid::DataHandling::LegacyLoadHelper::findInstrumentNexusAddress (const LegacyNexus::NXEntry &firstEntry)
 Finds the address for the instrument name in the nexus file Usually of the form: entry0/<NXinstrument class>/name.
 
LegacyNexus::NXDouble Mantid::DataHandling::LegacyLoadHelper::getDoubleDataset (const LegacyNexus::NXEntry &entry, const std::string &groupName)
 Fetches NXDouble data from the requested group name in the entry provided.
 
LegacyNexus::NXInt Mantid::DataHandling::LegacyLoadHelper::getIntDataset (const LegacyNexus::NXEntry &entry, const std::string &groupName)
 Fetches NXInt data from the requested group name in the entry provided.
 
void Mantid::DataHandling::LegacyLoadHelper::recurseAndAddNexusFieldsToWsRun (LegacyNexus::File &filehandle, API::Run &runDetails, const std::string &parent_name, const std::string &parent_class, int level)
 Recursively add properties from a nexus file to the workspace run.