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

Public Member Functions

const std::vector< size_t > & beamMonitorCounts () const
 
double binSize () const
 
size_t bmCounts () const
 
 EventAssigner (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, ConvertTOF &convert, std::vector< EventVector_pt > &eventVectors, int64_t startTime, bool saveAsTOF, bool includeBM)
 
size_t numBins () const
 
double tofMax () const
 
double tofMin () 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 x, size_t, double tobs) override
 
void addPseudoBMEventImpl (size_t id, double tobs) 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

const double m_binSize
 
std::vector< size_t > m_bmCounts
 
const ConvertTOF & m_convertTOF
 
std::vector< EventVector_pt > & m_eventVectors
 
bool m_saveAsTOF
 
int64_t m_startTime
 
double m_tofMax
 
double m_tofMin
 
- 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 500 of file LoadEMU.cpp.

Constructor & Destructor Documentation

◆ EventAssigner()

Mantid::DataHandling::EMU::EventAssigner::EventAssigner ( 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,
ConvertTOF &  convert,
std::vector< EventVector_pt > &  eventVectors,
int64_t  startTime,
bool  saveAsTOF,
bool  includeBM 
)
inline

Definition at line 553 of file LoadEMU.cpp.

Member Function Documentation

◆ addEventImpl()

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

◆ addPseudoBMEventImpl()

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

◆ beamMonitorCounts()

const std::vector< size_t > & Mantid::DataHandling::EMU::EventAssigner::beamMonitorCounts ( ) const
inline

Definition at line 565 of file LoadEMU.cpp.

References m_bmCounts.

Referenced by Mantid::DataHandling::LoadEMU< FD >::exec().

◆ binSize()

double Mantid::DataHandling::EMU::EventAssigner::binSize ( ) const
inline

Definition at line 566 of file LoadEMU.cpp.

References m_binSize.

◆ bmCounts()

size_t Mantid::DataHandling::EMU::EventAssigner::bmCounts ( ) const
inline

Definition at line 568 of file LoadEMU.cpp.

References m_bmCounts.

Referenced by Mantid::DataHandling::LoadEMU< FD >::exec().

◆ numBins()

size_t Mantid::DataHandling::EMU::EventAssigner::numBins ( ) const
inline

Definition at line 567 of file LoadEMU.cpp.

Referenced by Mantid::DataHandling::LoadEMU< FD >::exec().

◆ tofMax()

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

Definition at line 564 of file LoadEMU.cpp.

References m_tofMax, and m_tofMin.

Referenced by Mantid::DataHandling::LoadEMU< FD >::exec().

◆ tofMin()

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

Definition at line 563 of file LoadEMU.cpp.

References m_tofMax, and m_tofMin.

Referenced by Mantid::DataHandling::LoadEMU< FD >::exec().

Member Data Documentation

◆ m_binSize

const double Mantid::DataHandling::EMU::EventAssigner::m_binSize
protected

Definition at line 509 of file LoadEMU.cpp.

Referenced by addPseudoBMEventImpl(), and binSize().

◆ m_bmCounts

std::vector<size_t> Mantid::DataHandling::EMU::EventAssigner::m_bmCounts
protected

Definition at line 510 of file LoadEMU.cpp.

Referenced by addPseudoBMEventImpl(), beamMonitorCounts(), and bmCounts().

◆ m_convertTOF

const ConvertTOF& Mantid::DataHandling::EMU::EventAssigner::m_convertTOF
protected

Definition at line 504 of file LoadEMU.cpp.

Referenced by addEventImpl().

◆ m_eventVectors

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

Definition at line 503 of file LoadEMU.cpp.

Referenced by addEventImpl(), and addPseudoBMEventImpl().

◆ m_saveAsTOF

bool Mantid::DataHandling::EMU::EventAssigner::m_saveAsTOF
protected

Definition at line 508 of file LoadEMU.cpp.

Referenced by addEventImpl().

◆ m_startTime

int64_t Mantid::DataHandling::EMU::EventAssigner::m_startTime
protected

Definition at line 507 of file LoadEMU.cpp.

Referenced by addEventImpl(), and addPseudoBMEventImpl().

◆ m_tofMax

double Mantid::DataHandling::EMU::EventAssigner::m_tofMax
protected

Definition at line 506 of file LoadEMU.cpp.

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

◆ m_tofMin

double Mantid::DataHandling::EMU::EventAssigner::m_tofMin
protected

Definition at line 505 of file LoadEMU.cpp.

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


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