Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::DataHandling::PLN::SimpleHist Class Reference

Public Member Functions

void add (double val)
 
size_t count () const
 
const std::vector< size_t > & histogram () const
 
double ival (double val) const
 
size_t peak () const
 
 SimpleHist (size_t N, double minVal, double maxVal)
 
double xval (double ix) const
 

Private Attributes

double m_B
 
size_t m_count
 
std::vector< size_t > m_hist
 
double m_M
 
size_t m_peak
 

Detailed Description

Definition at line 214 of file LoadPLN.cpp.

Constructor & Destructor Documentation

◆ SimpleHist()

Mantid::DataHandling::PLN::SimpleHist::SimpleHist ( size_t  N,
double  minVal,
double  maxVal 
)
inline

Definition at line 222 of file LoadPLN.cpp.

References m_B, m_count, m_M, and m_peak.

Member Function Documentation

◆ add()

void Mantid::DataHandling::PLN::SimpleHist::add ( double  val)
inline

Definition at line 233 of file LoadPLN.cpp.

References ival(), m_count, m_hist, and m_peak.

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

◆ count()

size_t Mantid::DataHandling::PLN::SimpleHist::count ( ) const
inline

Definition at line 246 of file LoadPLN.cpp.

References m_count.

◆ histogram()

const std::vector< size_t > & Mantid::DataHandling::PLN::SimpleHist::histogram ( ) const
inline

Definition at line 243 of file LoadPLN.cpp.

References m_hist.

Referenced by Mantid::DataHandling::PLN::EventCounter::tofCorrection().

◆ ival()

double Mantid::DataHandling::PLN::SimpleHist::ival ( double  val) const
inline

Definition at line 229 of file LoadPLN.cpp.

References m_B, and m_M.

Referenced by add().

◆ peak()

size_t Mantid::DataHandling::PLN::SimpleHist::peak ( ) const
inline

Definition at line 245 of file LoadPLN.cpp.

References m_peak.

Referenced by Mantid::DataHandling::PLN::EventCounter::tofCorrection().

◆ xval()

double Mantid::DataHandling::PLN::SimpleHist::xval ( double  ix) const
inline

Definition at line 231 of file LoadPLN.cpp.

References m_B, and m_M.

Referenced by Mantid::DataHandling::PLN::EventCounter::tofCorrection().

Member Data Documentation

◆ m_B

double Mantid::DataHandling::PLN::SimpleHist::m_B
private

Definition at line 217 of file LoadPLN.cpp.

Referenced by ival(), SimpleHist(), and xval().

◆ m_count

size_t Mantid::DataHandling::PLN::SimpleHist::m_count
private

Definition at line 219 of file LoadPLN.cpp.

Referenced by add(), count(), and SimpleHist().

◆ m_hist

std::vector<size_t> Mantid::DataHandling::PLN::SimpleHist::m_hist
private

Definition at line 215 of file LoadPLN.cpp.

Referenced by add(), and histogram().

◆ m_M

double Mantid::DataHandling::PLN::SimpleHist::m_M
private

Definition at line 216 of file LoadPLN.cpp.

Referenced by ival(), SimpleHist(), and xval().

◆ m_peak

size_t Mantid::DataHandling::PLN::SimpleHist::m_peak
private

Definition at line 218 of file LoadPLN.cpp.

Referenced by add(), peak(), and SimpleHist().


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