Mantid
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Mantid::DataHandling::PLN::EventProcessor Class Referenceabstract
Inheritance diagram for Mantid::DataHandling::PLN::EventProcessor:
Mantid::DataHandling::PLN::EventAssigner Mantid::DataHandling::PLN::EventCounter

Public Member Functions

void addEvent (size_t x, size_t p, double tof, double)
 
size_t availableEvents () const
 
double duration () const
 
 EventProcessor (const std::vector< bool > &roi, const std::vector< size_t > &mapIndex, const double framePeriod, const double gatePeriod, const TimeLimits &timeBoundary, size_t maxEvents)
 
int64_t frameStart () const
 
void newFrame ()
 
size_t numFrames () const
 
size_t processedEvents () const
 
bool validFrame () const
 

Protected Member Functions

virtual void addEventImpl (size_t id, size_t x, size_t y, double tof)=0
 

Protected Attributes

size_t m_droppedEvents
 
const double m_framePeriod
 
size_t m_frames
 
size_t m_framesValid
 
const double m_gatePeriod
 
const std::vector< size_t > & m_mapIndex
 
size_t m_maxEvents
 
size_t m_processedEvents
 
const std::vector< bool > & m_roi
 
const TimeLimits m_timeBoundary
 

Detailed Description

Definition at line 249 of file LoadPLN.cpp.

Constructor & Destructor Documentation

◆ EventProcessor()

Mantid::DataHandling::PLN::EventProcessor::EventProcessor ( const std::vector< bool > &  roi,
const std::vector< size_t > &  mapIndex,
const double  framePeriod,
const double  gatePeriod,
const TimeLimits &  timeBoundary,
size_t  maxEvents 
)
inline

Definition at line 272 of file LoadPLN.cpp.

Member Function Documentation

◆ addEvent()

void Mantid::DataHandling::PLN::EventProcessor::addEvent ( size_t  x,
size_t  p,
double  tof,
double   
)
inline

◆ addEventImpl()

virtual void Mantid::DataHandling::PLN::EventProcessor::addEventImpl ( size_t  id,
size_t  x,
size_t  y,
double  tof 
)
protectedpure virtual

◆ availableEvents()

size_t Mantid::DataHandling::PLN::EventProcessor::availableEvents ( ) const
inline

Definition at line 304 of file LoadPLN.cpp.

References m_droppedEvents, and m_processedEvents.

Referenced by Mantid::DataHandling::LoadPLN::exec().

◆ duration()

double Mantid::DataHandling::PLN::EventProcessor::duration ( ) const
inline

Definition at line 291 of file LoadPLN.cpp.

References m_framePeriod, and m_frames.

Referenced by Mantid::DataHandling::LoadPLN::exec().

◆ frameStart()

int64_t Mantid::DataHandling::PLN::EventProcessor::frameStart ( ) const
inline

Definition at line 296 of file LoadPLN.cpp.

References m_framePeriod, and m_frames.

Referenced by Mantid::DataHandling::PLN::EventAssigner::addEventImpl().

◆ newFrame()

void Mantid::DataHandling::PLN::EventProcessor::newFrame ( )
inline

Definition at line 278 of file LoadPLN.cpp.

References m_frames, m_framesValid, m_maxEvents, m_processedEvents, and validFrame().

◆ numFrames()

size_t Mantid::DataHandling::PLN::EventProcessor::numFrames ( ) const
inline

Definition at line 302 of file LoadPLN.cpp.

References m_framesValid.

Referenced by Mantid::DataHandling::LoadPLN::exec().

◆ processedEvents()

size_t Mantid::DataHandling::PLN::EventProcessor::processedEvents ( ) const
inline

Definition at line 306 of file LoadPLN.cpp.

References m_processedEvents.

◆ validFrame()

bool Mantid::DataHandling::PLN::EventProcessor::validFrame ( ) const
inline

Definition at line 286 of file LoadPLN.cpp.

References m_framePeriod, m_frames, and m_timeBoundary.

Referenced by addEvent(), and newFrame().

Member Data Documentation

◆ m_droppedEvents

size_t Mantid::DataHandling::PLN::EventProcessor::m_droppedEvents
protected

Definition at line 264 of file LoadPLN.cpp.

Referenced by addEvent(), and availableEvents().

◆ m_framePeriod

const double Mantid::DataHandling::PLN::EventProcessor::m_framePeriod
protected

Definition at line 254 of file LoadPLN.cpp.

Referenced by duration(), frameStart(), and validFrame().

◆ m_frames

size_t Mantid::DataHandling::PLN::EventProcessor::m_frames
protected

Definition at line 258 of file LoadPLN.cpp.

Referenced by duration(), frameStart(), newFrame(), and validFrame().

◆ m_framesValid

size_t Mantid::DataHandling::PLN::EventProcessor::m_framesValid
protected

Definition at line 259 of file LoadPLN.cpp.

Referenced by newFrame(), and numFrames().

◆ m_gatePeriod

const double Mantid::DataHandling::PLN::EventProcessor::m_gatePeriod
protected

◆ m_mapIndex

const std::vector<size_t>& Mantid::DataHandling::PLN::EventProcessor::m_mapIndex
protected

Definition at line 253 of file LoadPLN.cpp.

Referenced by addEvent().

◆ m_maxEvents

size_t Mantid::DataHandling::PLN::EventProcessor::m_maxEvents
protected

Definition at line 262 of file LoadPLN.cpp.

Referenced by addEvent(), and newFrame().

◆ m_processedEvents

size_t Mantid::DataHandling::PLN::EventProcessor::m_processedEvents
protected

Definition at line 263 of file LoadPLN.cpp.

Referenced by addEvent(), availableEvents(), newFrame(), and processedEvents().

◆ m_roi

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

Definition at line 252 of file LoadPLN.cpp.

Referenced by addEvent().

◆ m_timeBoundary

const TimeLimits Mantid::DataHandling::PLN::EventProcessor::m_timeBoundary
protected

Definition at line 267 of file LoadPLN.cpp.

Referenced by validFrame().


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