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

The CompressEventAccumulatorFactory Factory object that will create the correct type of CompressEventAccumulator based on configuration information. More...

#include <CompressEventAccumulator.h>

Public Member Functions

 CompressEventAccumulatorFactory (std::shared_ptr< std::vector< double > > histogram_bin_edges, const double divisor, CompressBinningMode bin_mode)
 
std::unique_ptr< CompressEventAccumulatorcreate (const std::size_t num_events)
 

Private Attributes

CompressBinningMode m_bin_mode
 
double m_divisor
 
const std::shared_ptr< std::vector< double > > m_histogram_edges
 

Detailed Description

The CompressEventAccumulatorFactory Factory object that will create the correct type of CompressEventAccumulator based on configuration information.

Definition at line 59 of file CompressEventAccumulator.h.

Constructor & Destructor Documentation

◆ CompressEventAccumulatorFactory()

Mantid::DataHandling::CompressEventAccumulatorFactory::CompressEventAccumulatorFactory ( std::shared_ptr< std::vector< double > >  histogram_bin_edges,
const double  divisor,
CompressBinningMode  bin_mode 
)

Definition at line 365 of file CompressEventAccumulator.cpp.

Member Function Documentation

◆ create()

std::unique_ptr< CompressEventAccumulator > Mantid::DataHandling::CompressEventAccumulatorFactory::create ( const std::size_t  num_events)

Definition at line 369 of file CompressEventAccumulator.cpp.

References m_bin_mode, m_divisor, and m_histogram_edges.

Member Data Documentation

◆ m_bin_mode

CompressBinningMode Mantid::DataHandling::CompressEventAccumulatorFactory::m_bin_mode
private

Definition at line 67 of file CompressEventAccumulator.h.

Referenced by create().

◆ m_divisor

double Mantid::DataHandling::CompressEventAccumulatorFactory::m_divisor
private

Definition at line 66 of file CompressEventAccumulator.h.

Referenced by create().

◆ m_histogram_edges

const std::shared_ptr<std::vector<double> > Mantid::DataHandling::CompressEventAccumulatorFactory::m_histogram_edges
private

Definition at line 68 of file CompressEventAccumulator.h.

Referenced by create().


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