|
Mantid
|
#include <NexusLoader.h>
Public Member Functions | |
| virtual std::stack< EventROI > | getEventIndexRanges (H5::Group &event_group, const uint64_t number_events, std::unique_ptr< std::vector< uint64_t > > *event_index=nullptr) const |
| std::stack< std::pair< int, EventROI > > | getEventIndexSplitRanges (H5::Group &event_group, const uint64_t number_events) |
| virtual void | loadData (H5::DataSet &SDS, std::unique_ptr< std::vector< float > > &data, const std::vector< size_t > &offsets, const std::vector< size_t > &slabsizes) |
| virtual void | loadData (H5::DataSet &SDS, std::unique_ptr< std::vector< uint32_t > > &data, const std::vector< size_t > &offsets, const std::vector< size_t > &slabsizes) |
| NexusLoader (const bool is_time_filtered, const std::vector< PulseROI > &pulse_indices, const std::vector< std::pair< int, PulseROI > > &target_to_pulse_indices={}) | |
| virtual | ~NexusLoader () |
Private Member Functions | |
| template<typename Type > | |
| void | loadDataInternal (H5::DataSet &SDS, std::unique_ptr< std::vector< Type > > &data, const std::vector< size_t > &offsets, const std::vector< size_t > &slabsizes) const |
| void | loadEventIndex (H5::Group &event_group, std::unique_ptr< std::vector< uint64_t > > &data) const |
Private Attributes | |
| const bool | m_is_time_filtered |
| const std::vector< PulseROI > | m_pulse_indices |
| std::vector< std::pair< int, PulseROI > > | m_target_to_pulse_indices |
Definition at line 28 of file NexusLoader.h.
| Mantid::DataHandling::AlignAndFocusPowderSlim::NexusLoader::NexusLoader | ( | const bool | is_time_filtered, |
| const std::vector< PulseROI > & | pulse_indices, | ||
| const std::vector< std::pair< int, PulseROI > > & | target_to_pulse_indices = {} |
||
| ) |
Definition at line 16 of file NexusLoader.cpp.
|
virtualdefault |
|
virtual |
Definition at line 71 of file NexusLoader.cpp.
References loadEventIndex(), m_is_time_filtered, and m_pulse_indices.
Referenced by Mantid::DataHandling::AlignAndFocusPowderSlim::ProcessBankTask::operator()().
| std::stack< std::pair< int, EventROI > > Mantid::DataHandling::AlignAndFocusPowderSlim::NexusLoader::getEventIndexSplitRanges | ( | H5::Group & | event_group, |
| const uint64_t | number_events | ||
| ) |
Definition at line 100 of file NexusLoader.cpp.
References loadEventIndex(), and m_target_to_pulse_indices.
Referenced by Mantid::DataHandling::AlignAndFocusPowderSlim::ProcessBankSplitTask::operator()().
|
virtual |
Definition at line 26 of file NexusLoader.cpp.
References loadDataInternal().
|
virtual |
Definition at line 21 of file NexusLoader.cpp.
References loadDataInternal().
Referenced by Mantid::DataHandling::AlignAndFocusPowderSlim::ProcessBankSplitTask::operator()(), and Mantid::DataHandling::AlignAndFocusPowderSlim::ProcessBankTask::operator()().
|
private |
Definition at line 32 of file NexusLoader.cpp.
Referenced by loadData(), loadData(), and loadEventIndex().
|
private |
Definition at line 122 of file NexusLoader.cpp.
References Mantid::DataHandling::AlignAndFocusPowderSlim::NxsFieldNames::INDEX_ID(), and loadDataInternal().
Referenced by getEventIndexRanges(), and getEventIndexSplitRanges().
|
private |
Definition at line 47 of file NexusLoader.h.
Referenced by getEventIndexRanges().
|
private |
Definition at line 48 of file NexusLoader.h.
Referenced by getEventIndexRanges().
|
private |
Definition at line 49 of file NexusLoader.h.
Referenced by getEventIndexSplitRanges().