Mantid
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Mantid::DataHandling::ANSTO::EventProcessor Class Referenceabstract

#include <LoadANSTOHelper.h>

Inheritance diagram for Mantid::DataHandling::ANSTO::EventProcessor:
Mantid::DataHandling::ANSTO::EventAssigner Mantid::DataHandling::ANSTO::EventCounter Mantid::DataHandling::ANSTO::EventAssignerFixedWavelength

Public Member Functions

void addEvent (size_t x, size_t y, double tof)
 
 EventProcessor (const std::vector< bool > &roi, size_t stride, const double period, const double phase, const int64_t startTime, const double tofMinBoundary, const double tofMaxBoundary, const double timeMinBoundary, const double timeMaxBoundary)
 
void newFrame ()
 

Protected Member Functions

virtual void addEventImpl (size_t id, int64_t pulse, double tof)=0
 
bool validFrame () const
 

Protected Attributes

size_t m_frames
 
size_t m_framesValid
 
const double m_period
 
const double m_phase
 
const std::vector< bool > & m_roi
 
int64_t m_startTime
 
const size_t m_stride
 
const double m_timeMaxBoundary
 
const double m_timeMinBoundary
 
const double m_tofMaxBoundary
 
const double m_tofMinBoundary
 

Detailed Description

Definition at line 55 of file LoadANSTOHelper.h.

Constructor & Destructor Documentation

◆ EventProcessor()

Mantid::DataHandling::ANSTO::EventProcessor::EventProcessor ( const std::vector< bool > &  roi,
size_t  stride,
const double  period,
const double  phase,
const int64_t  startTime,
const double  tofMinBoundary,
const double  tofMaxBoundary,
const double  timeMinBoundary,
const double  timeMaxBoundary 
)

Definition at line 55 of file LoadANSTOHelper.cpp.

Member Function Documentation

◆ addEvent()

void Mantid::DataHandling::ANSTO::EventProcessor::addEvent ( size_t  x,
size_t  y,
double  tof 
)

◆ addEventImpl()

virtual void Mantid::DataHandling::ANSTO::EventProcessor::addEventImpl ( size_t  id,
int64_t  pulse,
double  tof 
)
protectedpure virtual

◆ newFrame()

void Mantid::DataHandling::ANSTO::EventProcessor::newFrame ( )

Definition at line 67 of file LoadANSTOHelper.cpp.

References m_frames, m_framesValid, and validFrame().

◆ validFrame()

bool Mantid::DataHandling::ANSTO::EventProcessor::validFrame ( ) const
protected

Definition at line 61 of file LoadANSTOHelper.cpp.

References m_frames, m_period, m_timeMaxBoundary, and m_timeMinBoundary.

Referenced by addEvent(), and newFrame().

Member Data Documentation

◆ m_frames

size_t Mantid::DataHandling::ANSTO::EventProcessor::m_frames
protected

Definition at line 61 of file LoadANSTOHelper.h.

Referenced by addEvent(), newFrame(), and validFrame().

◆ m_framesValid

size_t Mantid::DataHandling::ANSTO::EventProcessor::m_framesValid
protected

◆ m_period

const double Mantid::DataHandling::ANSTO::EventProcessor::m_period
protected

Definition at line 65 of file LoadANSTOHelper.h.

Referenced by addEvent(), and validFrame().

◆ m_phase

const double Mantid::DataHandling::ANSTO::EventProcessor::m_phase
protected

Definition at line 66 of file LoadANSTOHelper.h.

Referenced by addEvent().

◆ m_roi

const std::vector<bool>& Mantid::DataHandling::ANSTO::EventProcessor::m_roi
protected

Definition at line 58 of file LoadANSTOHelper.h.

Referenced by addEvent().

◆ m_startTime

int64_t Mantid::DataHandling::ANSTO::EventProcessor::m_startTime
protected

Definition at line 63 of file LoadANSTOHelper.h.

Referenced by addEvent().

◆ m_stride

const size_t Mantid::DataHandling::ANSTO::EventProcessor::m_stride
protected

Definition at line 59 of file LoadANSTOHelper.h.

Referenced by addEvent().

◆ m_timeMaxBoundary

const double Mantid::DataHandling::ANSTO::EventProcessor::m_timeMaxBoundary
protected

Definition at line 71 of file LoadANSTOHelper.h.

Referenced by validFrame().

◆ m_timeMinBoundary

const double Mantid::DataHandling::ANSTO::EventProcessor::m_timeMinBoundary
protected

Definition at line 70 of file LoadANSTOHelper.h.

Referenced by validFrame().

◆ m_tofMaxBoundary

const double Mantid::DataHandling::ANSTO::EventProcessor::m_tofMaxBoundary
protected

Definition at line 69 of file LoadANSTOHelper.h.

Referenced by addEvent().

◆ m_tofMinBoundary

const double Mantid::DataHandling::ANSTO::EventProcessor::m_tofMinBoundary
protected

Definition at line 68 of file LoadANSTOHelper.h.

Referenced by addEvent().


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