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

Public Member Functions

 EventCounter (const std::vector< bool > &roi, const std::vector< size_t > &mapIndex, const size_t stride, const double framePeriod, const double gatePeriod, const TimeLimits &timeBoundary, const TimeLimits &directLimits, const TimeLimits &analysedLimits, std::vector< size_t > &eventCounts, bool includeBM)
 
size_t numFrames () const
 
- Public Member Functions inherited from Mantid::DataHandling::EMU::EventProcessor
void addEvent (size_t x, size_t p, double tdop, double taux)
 
double duration () const
 
 EventProcessor (const std::vector< bool > &roi, const std::vector< size_t > &mapIndex, const size_t stride, const double framePeriod, const double gatePeriod, TimeLimits timeBoundary, TimeLimits directLimits, TimeLimits analysedLimits, bool includeBM)
 
int64_t frameStart () const
 
void newFrame ()
 
bool validFrame () const
 

Protected Member Functions

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

Protected Attributes

std::vector< size_t > & m_eventCounts
 
- Protected Attributes inherited from Mantid::DataHandling::EMU::EventProcessor
const TimeLimits m_analysedTaux
 
const TimeLimits m_directTaux
 
const double m_framePeriod
 
size_t m_frames
 
size_t m_framesValid
 
const double m_gatePeriod
 
const bool m_includeBM
 
const std::vector< size_t > & m_mapIndex
 
const std::vector< bool > & m_roi
 
const size_t m_stride
 
const TimeLimits m_timeBoundary
 

Detailed Description

Definition at line 475 of file LoadEMU.cpp.

Constructor & Destructor Documentation

◆ EventCounter()

Mantid::DataHandling::EMU::EventCounter::EventCounter ( const std::vector< bool > &  roi,
const std::vector< size_t > &  mapIndex,
const size_t  stride,
const double  framePeriod,
const double  gatePeriod,
const TimeLimits &  timeBoundary,
const TimeLimits &  directLimits,
const TimeLimits &  analysedLimits,
std::vector< size_t > &  eventCounts,
bool  includeBM 
)
inline

Definition at line 489 of file LoadEMU.cpp.

Member Function Documentation

◆ addEventImpl()

void Mantid::DataHandling::EMU::EventCounter::addEventImpl ( size_t  id,
size_t  ,
size_t  ,
double   
)
inlineoverrideprotectedvirtual

Implements Mantid::DataHandling::EMU::EventProcessor.

Definition at line 480 of file LoadEMU.cpp.

References m_eventCounts.

◆ addPseudoBMEventImpl()

void Mantid::DataHandling::EMU::EventCounter::addPseudoBMEventImpl ( size_t  id,
double   
)
inlineoverrideprotectedvirtual

◆ numFrames()

size_t Mantid::DataHandling::EMU::EventCounter::numFrames ( ) const
inline

Member Data Documentation

◆ m_eventCounts

std::vector<size_t>& Mantid::DataHandling::EMU::EventCounter::m_eventCounts
protected

Definition at line 478 of file LoadEMU.cpp.

Referenced by addEventImpl(), and addPseudoBMEventImpl().


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