Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::DataHandling::LoadDataStrategyEvent Class Referencefinal

#include <LoadNGEM.h>

Inheritance diagram for Mantid::DataHandling::LoadDataStrategyEvent:
Mantid::DataHandling::LoadDataStrategyBase

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 event list.
 
void addFrame (int &rawFrames, int &goodFrames, const int eventCountInFrame, const int minEventsReq, const int maxEventsReq, MantidVec &frameEventCounts) override
 Add a completed frame to the event list.
 
std::vector< DataObjects::EventList > & getEvents ()
 
 LoadDataStrategyEvent ()
 

Private Attributes

std::vector< DataObjects::EventListm_events
 
std::vector< DataObjects::EventListm_eventsInFrame
 

Detailed Description

Definition at line 117 of file LoadNGEM.h.

Constructor & Destructor Documentation

◆ LoadDataStrategyEvent()

Mantid::DataHandling::LoadDataStrategyEvent::LoadDataStrategyEvent ( )

Definition at line 702 of file LoadNGEM.cpp.

References m_events, and m_eventsInFrame.

Member Function Documentation

◆ addEvent()

void Mantid::DataHandling::LoadDataStrategyEvent::addEvent ( double &  minToF,
double &  maxToF,
const double  tof,
const double  binWidth,
const size_t  pixel 
)
overridevirtual

Add an event to the event list.

Parameters
minToFThe minimum ToF value to consider
maxToFThe maximum ToF value to consider
tofThe time of flight associated witht he evenr
binWidthThe width of each histogram bin
pixelThe detector pixel index.

Implements Mantid::DataHandling::LoadDataStrategyBase.

Definition at line 674 of file LoadNGEM.cpp.

References m_eventsInFrame.

◆ addFrame()

void Mantid::DataHandling::LoadDataStrategyEvent::addFrame ( int &  rawFrames,
int &  goodFrames,
const int  eventCountInFrame,
const int  minEventsReq,
const int  maxEventsReq,
MantidVec &  frameEventCounts 
)
overridevirtual

Add a completed frame to the event list.

Parameters
rawFramesThe number of raw frames read from file
goodFramesThe number of frames that fulfill good quality criteria
eventCountInFrameThe event counts in current frame
minEventsReqThe minimum events required to be considered a good frame
maxEventsReqThe maximum events required to be considered a good frame
frameEventCountsEvent count by frame

Implements Mantid::DataHandling::LoadDataStrategyBase.

Definition at line 696 of file LoadNGEM.cpp.

References m_events, and m_eventsInFrame.

◆ getEvents()

std::vector< DataObjects::EventList > & Mantid::DataHandling::LoadDataStrategyEvent::getEvents ( )
inline

Definition at line 123 of file LoadNGEM.h.

References m_events.

Member Data Documentation

◆ m_events

std::vector<DataObjects::EventList> Mantid::DataHandling::LoadDataStrategyEvent::m_events
private

Definition at line 126 of file LoadNGEM.h.

Referenced by addFrame(), getEvents(), and LoadDataStrategyEvent().

◆ m_eventsInFrame

std::vector<DataObjects::EventList> Mantid::DataHandling::LoadDataStrategyEvent::m_eventsInFrame
private

Definition at line 127 of file LoadNGEM.h.

Referenced by addEvent(), addFrame(), and LoadDataStrategyEvent().


The documentation for this class was generated from the following files: