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

Public Member Functions

 EventCounter (const std::vector< bool > &roi, const std::vector< size_t > &mapIndex, const double framePeriod, const double gatePeriod, const TimeLimits &timeBoundary, std::vector< size_t > &eventCounts, const double L1, const double V0, const std::vector< double > &vecL2, size_t maxEvents)
 
double tofCorrection ()
 
- 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< size_t > & m_eventCounts
 
SimpleHist m_histogram
 
double m_L1
 
const std::vector< double > & m_L2
 
double m_V0
 
- 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 348 of file LoadPLN.cpp.

Constructor & Destructor Documentation

◆ EventCounter()

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

Definition at line 366 of file LoadPLN.cpp.

Member Function Documentation

◆ addEventImpl()

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

◆ tofCorrection()

double Mantid::DataHandling::PLN::EventCounter::tofCorrection ( )
inline

Member Data Documentation

◆ m_eventCounts

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

Definition at line 351 of file LoadPLN.cpp.

Referenced by addEventImpl().

◆ m_histogram

SimpleHist Mantid::DataHandling::PLN::EventCounter::m_histogram
protected

Definition at line 355 of file LoadPLN.cpp.

Referenced by addEventImpl(), and tofCorrection().

◆ m_L1

double Mantid::DataHandling::PLN::EventCounter::m_L1
protected

Definition at line 352 of file LoadPLN.cpp.

Referenced by addEventImpl().

◆ m_L2

const std::vector<double>& Mantid::DataHandling::PLN::EventCounter::m_L2
protected

Definition at line 354 of file LoadPLN.cpp.

Referenced by addEventImpl().

◆ m_V0

double Mantid::DataHandling::PLN::EventCounter::m_V0
protected

Definition at line 353 of file LoadPLN.cpp.

Referenced by addEventImpl().


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