|
Mantid
|
#include <ProcessBankSplitTask.h>
Public Member Functions | |
| void | operator() (const tbb::blocked_range< size_t > &range) const |
| ProcessBankSplitTask (std::vector< std::string > &bankEntryNames, H5::H5File &h5file, std::shared_ptr< NexusLoader > loader, std::vector< int > &workspaceIndices, std::vector< SpectraProcessingData > &processingDatas, const BankCalibrationFactory &calibFactory, const size_t events_per_chunk, const size_t grainsize_event, std::shared_ptr< API::Progress > &progress) | |
Public Member Functions inherited from Mantid::DataHandling::AlignAndFocusPowderSlim::ProcessBankTaskBase | |
| const std::string & | bankName (const size_t wksp_index) const |
| std::vector< BankCalibration > | getCalibrations (const std::string &tof_unit, const size_t bank_index) const |
| 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) const |
| void | loadEvents (H5::DataSet &detID_SDS, H5::DataSet &tof_SDS, const std::vector< size_t > &offsets, const std::vector< size_t > &slabsizes, std::unique_ptr< std::vector< uint32_t > > &detId_vec, std::unique_ptr< std::vector< float > > &tof_vec) const |
| Load detid and tof at the same time. | |
| ProcessBankTaskBase (std::vector< std::string > &bankEntryNames, std::shared_ptr< NexusLoader > loader, const BankCalibrationFactory &calibFactory) | |
Private Attributes | |
| const size_t | m_events_per_chunk |
| number of events to read from disk at one time | |
| const size_t | m_grainsize_event |
| number of events to histogram in a single thread | |
| H5::H5File | m_h5file |
| std::vector< SpectraProcessingData > & | m_processingDatas |
| std::shared_ptr< API::Progress > | m_progress |
| std::vector< int > | m_workspaceIndices |
Definition at line 25 of file ProcessBankSplitTask.h.
| Mantid::DataHandling::AlignAndFocusPowderSlim::ProcessBankSplitTask::ProcessBankSplitTask | ( | std::vector< std::string > & | bankEntryNames, |
| H5::H5File & | h5file, | ||
| std::shared_ptr< NexusLoader > | loader, | ||
| std::vector< int > & | workspaceIndices, | ||
| std::vector< SpectraProcessingData > & | processingDatas, | ||
| const BankCalibrationFactory & | calibFactory, | ||
| const size_t | events_per_chunk, | ||
| const size_t | grainsize_event, | ||
| std::shared_ptr< API::Progress > & | progress | ||
| ) |
Definition at line 27 of file ProcessBankSplitTask.cpp.
| void Mantid::DataHandling::AlignAndFocusPowderSlim::ProcessBankSplitTask::operator() | ( | const tbb::blocked_range< size_t > & | range | ) | const |
Definition at line 35 of file ProcessBankSplitTask.cpp.
References Mantid::DataHandling::AlignAndFocusPowderSlim::ProcessBankTaskBase::bankName(), Mantid::Kernel::Logger::debug(), Mantid::DataHandling::AlignAndFocusPowderSlim::NxsFieldNames::DETID(), Mantid::API::g_log, Mantid::DataHandling::AlignAndFocusPowderSlim::ProcessBankTaskBase::getCalibrations(), Mantid::DataHandling::AlignAndFocusPowderSlim::ProcessBankTaskBase::getEventIndexSplitRanges(), Mantid::DataHandling::AlignAndFocusPowderSlim::ProcessBankTaskBase::loadEvents(), m_events_per_chunk, m_h5file, m_progress, m_workspaceIndices, Mantid::Nexus::H5Util::readStringAttribute(), Mantid::DataHandling::AlignAndFocusPowderSlim::NxsFieldNames::TIME_OF_FLIGHT(), and Mantid::DataHandling::AlignAndFocusPowderSlim::toLogString().
|
private |
number of events to read from disk at one time
Definition at line 40 of file ProcessBankSplitTask.h.
Referenced by operator()().
|
private |
number of events to histogram in a single thread
Definition at line 42 of file ProcessBankSplitTask.h.
|
private |
Definition at line 36 of file ProcessBankSplitTask.h.
Referenced by operator()().
|
private |
Definition at line 38 of file ProcessBankSplitTask.h.
|
private |
Definition at line 43 of file ProcessBankSplitTask.h.
Referenced by operator()().
|
private |
Definition at line 37 of file ProcessBankSplitTask.h.
Referenced by operator()().