|
Mantid
|
#include <LoadNGEM.h>
Public Member Functions | |
| void | addEvent (double &minToF, double &maxToF, const double tof, const double binWidth, const size_t pixel) override |
| Add an event to the relevant histogram. | |
| void | addFrame (int &rawFrames, int &goodFrames, const int eventCountInFrame, const int minEventsReq, const int maxEventsReq, MantidVec &frameEventCounts) override |
| Add a completed frame to the count-by-spectra vector. | |
| std::vector< double > & | getBinEdges () |
| std::vector< std::vector< double > > & | getCounts () |
| LoadDataStrategyHisto (const double minToF, const double maxToF, const double binWidth) | |
Private Attributes | |
| std::vector< double > | m_binEdges |
| std::vector< std::vector< double > > | m_counts |
| std::vector< std::vector< double > > | m_countsInFrame |
Definition at line 102 of file LoadNGEM.h.
| Mantid::DataHandling::LoadDataStrategyHisto::LoadDataStrategyHisto | ( | const double | minToF, |
| const double | maxToF, | ||
| const double | binWidth | ||
| ) |
Definition at line 656 of file LoadNGEM.cpp.
References m_binEdges, m_counts, and m_countsInFrame.
|
overridevirtual |
Add an event to the relevant histogram.
| minToF | The minimum ToF value to consider |
| maxToF | The maximum ToF value to consider |
| tof | The time of flight associated witht he evenr |
| binWidth | The width of each histogram bin |
| pixel | The detector pixel index. |
Implements Mantid::DataHandling::LoadDataStrategyBase.
Definition at line 631 of file LoadNGEM.cpp.
References m_countsInFrame.
|
overridevirtual |
Add a completed frame to the count-by-spectra vector.
| rawFrames | The number of raw frames read from file |
| goodFrames | The number of frames that fulfill good quality criteria |
| eventCountInFrame | The event counts in current frame |
| minEventsReq | The minimum events required to be considered a good frame |
| maxEventsReq | The maximum events required to be considered a good frame |
| frameEventCounts | Event count by frame |
Implements Mantid::DataHandling::LoadDataStrategyBase.
Definition at line 650 of file LoadNGEM.cpp.
References m_counts, and m_countsInFrame.
|
inline |
Definition at line 109 of file LoadNGEM.h.
|
inline |
Definition at line 108 of file LoadNGEM.h.
|
private |
Definition at line 114 of file LoadNGEM.h.
Referenced by LoadDataStrategyHisto().
|
private |
Definition at line 112 of file LoadNGEM.h.
Referenced by addFrame(), and LoadDataStrategyHisto().
|
private |
Definition at line 113 of file LoadNGEM.h.
Referenced by addEvent(), addFrame(), and LoadDataStrategyHisto().