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

Public Member Functions

 EventAssigner (const std::vector< bool > &roi, const std::vector< size_t > &mapIndex, const double framePeriod, const double gatePeriod, const TimeLimits &timeBoundary, std::vector< EventVector_pt > &eventVectors, int64_t startTime, double tofCorrection, double sampleTime, size_t maxEvents)
 
double tofMax () const
 
double tofMin () const
 
- Public Member Functions inherited from Mantid::DataHandling::PLN::EventProcessor
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

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

Protected Attributes

std::vector< EventVector_pt > & m_eventVectors
 
double m_sampleTime
 
int64_t m_startTime
 
double m_tofCorrection
 
double m_tofMax
 
double m_tofMin
 
- Protected Attributes inherited from Mantid::DataHandling::PLN::EventProcessor
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 392 of file LoadPLN.cpp.

Constructor & Destructor Documentation

◆ EventAssigner()

Mantid::DataHandling::PLN::EventAssigner::EventAssigner ( const std::vector< bool > &  roi,
const std::vector< size_t > &  mapIndex,
const double  framePeriod,
const double  gatePeriod,
const TimeLimits &  timeBoundary,
std::vector< EventVector_pt > &  eventVectors,
int64_t  startTime,
double  tofCorrection,
double  sampleTime,
size_t  maxEvents 
)
inline

Definition at line 423 of file LoadPLN.cpp.

Member Function Documentation

◆ addEventImpl()

void Mantid::DataHandling::PLN::EventAssigner::addEventImpl ( size_t  id,
size_t  ,
size_t  ,
double  tobs 
)
inlineoverrideprotectedvirtual

◆ tofMax()

double Mantid::DataHandling::PLN::EventAssigner::tofMax ( ) const
inline

Definition at line 431 of file LoadPLN.cpp.

References m_tofMax, and m_tofMin.

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

◆ tofMin()

double Mantid::DataHandling::PLN::EventAssigner::tofMin ( ) const
inline

Definition at line 430 of file LoadPLN.cpp.

References m_tofMax, and m_tofMin.

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

Member Data Documentation

◆ m_eventVectors

std::vector<EventVector_pt>& Mantid::DataHandling::PLN::EventAssigner::m_eventVectors
protected

Definition at line 395 of file LoadPLN.cpp.

Referenced by addEventImpl().

◆ m_sampleTime

double Mantid::DataHandling::PLN::EventAssigner::m_sampleTime
protected

Definition at line 400 of file LoadPLN.cpp.

Referenced by addEventImpl().

◆ m_startTime

int64_t Mantid::DataHandling::PLN::EventAssigner::m_startTime
protected

Definition at line 398 of file LoadPLN.cpp.

Referenced by addEventImpl().

◆ m_tofCorrection

double Mantid::DataHandling::PLN::EventAssigner::m_tofCorrection
protected

Definition at line 399 of file LoadPLN.cpp.

Referenced by addEventImpl().

◆ m_tofMax

double Mantid::DataHandling::PLN::EventAssigner::m_tofMax
protected

Definition at line 397 of file LoadPLN.cpp.

Referenced by addEventImpl(), tofMax(), and tofMin().

◆ m_tofMin

double Mantid::DataHandling::PLN::EventAssigner::m_tofMin
protected

Definition at line 396 of file LoadPLN.cpp.

Referenced by addEventImpl(), tofMax(), and tofMin().


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