Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
LoadANSTOHelper.h File Reference
#include "MantidAPI/IFileLoader.h"
#include "MantidAPI/LogManager.h"
#include "MantidDataObjects/EventWorkspace.h"
#include "MantidGeometry/Instrument.h"
#include "MantidNexus/NexusClasses_fwd.h"
#include <algorithm>
#include <regex>

Go to the source code of this file.

Classes

class  Mantid::DataHandling::ANSTO::EventAssigner
 
class  Mantid::DataHandling::ANSTO::EventAssignerFixedWavelength
 
class  Mantid::DataHandling::ANSTO::EventCounter
 
class  Mantid::DataHandling::ANSTO::EventProcessor
 
class  Mantid::DataHandling::ANSTO::FastReadOnlyFile
 
class  Mantid::DataHandling::ANSTO::ProgressTracker
 helper class to keep track of progress More...
 
struct  Mantid::DataHandling::ANSTO::Tar::EntryHeader
 
class  Mantid::DataHandling::ANSTO::Tar::File
 
struct  Mantid::DataHandling::ANSTO::Tar::File::FileInfo
 

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::DataHandling
 
namespace  Mantid::DataHandling::ANSTO
 
namespace  Mantid::DataHandling::ANSTO::Anxs
 
namespace  Mantid::DataHandling::ANSTO::Tar
 

Macros

#define TarTypeFlag_BlockSpecial   '4'
 
#define TarTypeFlag_CharacterSpecial   '3'
 
#define TarTypeFlag_ContiguousFile   '7'
 
#define TarTypeFlag_Directory   '5'
 
#define TarTypeFlag_FIFO   '6'
 
#define TarTypeFlag_HardLink   '1'
 
#define TarTypeFlag_NormalFile   '0'
 
#define TarTypeFlag_SymbolicLink   '2'
 

Typedefs

using Mantid::DataHandling::ANSTO::EventVector_pt = std::vector< Types::Event::TofEvent > *
 pointer to the vector of events
 

Enumerations

enum class  Mantid::DataHandling::ANSTO::Anxs::ScanLog { Mantid::DataHandling::ANSTO::Anxs::Start , Mantid::DataHandling::ANSTO::Anxs::End , Mantid::DataHandling::ANSTO::Anxs::Mean }
 

Functions

int64_t Mantid::DataHandling::ANSTO::Anxs::epochRelDateTimeBase (int64_t epochInNanoSeconds)
 
template<typename T >
bool Mantid::DataHandling::ANSTO::Anxs::extractTimedDataSet (const Nexus::NXEntry &entry, const std::string &path, uint64_t startTime, uint64_t endTime, ScanLog valueOption, uint64_t &eventTime, T &eventValue, std::string &units)
 
template<typename T >
uint64_t Mantid::DataHandling::ANSTO::Anxs::extractTimedDataSet (const Nexus::NXEntry &entry, const std::string &path, uint64_t startTime, uint64_t endTime, std::vector< uint64_t > &times, std::vector< T > &events, std::string &units)
 
std::string Mantid::DataHandling::ANSTO::Anxs::extractWorkspaceTitle (const std::string &nxsFile)
 
std::vector< std::string > Mantid::DataHandling::ANSTO::filterDatasets (const Nexus::NXEntry &entry, const std::string &groupAddress, const std::string &regexFilter)
 extract datasets from a group that match a regex filter
 
std::pair< uint64_t, uint64_t > Mantid::DataHandling::ANSTO::Anxs::getHMScanLimits (const Nexus::NXEntry &entry, int datasetIx)
 
std::pair< uint64_t, uint64_t > Mantid::DataHandling::ANSTO::Anxs::getTimeScanLimits (const Nexus::NXEntry &entry, int datasetIx)
 
bool Mantid::DataHandling::ANSTO::Anxs::isTimedDataSet (const Nexus::NXEntry &entry, const std::string &path)
 
template<typename T >
bool Mantid::DataHandling::ANSTO::Anxs::loadNXDataSet (const Nexus::NXEntry &entry, const std::string &path, T &value, int index)
 
bool Mantid::DataHandling::ANSTO::Anxs::loadNXString (const Nexus::NXEntry &entry, const std::string &path, std::string &value)
 
void Mantid::DataHandling::ANSTO::Anxs::ReadEventData (ProgressTracker &prog, const Nexus::NXEntry &entry, EventProcessor *handler, uint64_t start_nsec, uint64_t end_nsec, const std::string &neutron_path, int tube_resolution=1024)
 

Macro Definition Documentation

◆ TarTypeFlag_BlockSpecial

#define TarTypeFlag_BlockSpecial   '4'

Definition at line 25 of file LoadANSTOHelper.h.

◆ TarTypeFlag_CharacterSpecial

#define TarTypeFlag_CharacterSpecial   '3'

Definition at line 24 of file LoadANSTOHelper.h.

◆ TarTypeFlag_ContiguousFile

#define TarTypeFlag_ContiguousFile   '7'

Definition at line 28 of file LoadANSTOHelper.h.

◆ TarTypeFlag_Directory

#define TarTypeFlag_Directory   '5'

Definition at line 26 of file LoadANSTOHelper.h.

◆ TarTypeFlag_FIFO

#define TarTypeFlag_FIFO   '6'

Definition at line 27 of file LoadANSTOHelper.h.

◆ TarTypeFlag_HardLink

#define TarTypeFlag_HardLink   '1'

Definition at line 22 of file LoadANSTOHelper.h.

◆ TarTypeFlag_NormalFile

#define TarTypeFlag_NormalFile   '0'

Definition at line 21 of file LoadANSTOHelper.h.

◆ TarTypeFlag_SymbolicLink

#define TarTypeFlag_SymbolicLink   '2'

Definition at line 23 of file LoadANSTOHelper.h.