TFCS1DFunctionInt16Histogram class
#include <TFCS1DFunctionInt16Histogram.h>
Contents
Base classes
- class TFCS1DFunction
Public types
- using HistoContent_t = uint16_t
Public static variables
-
static const HistoContent_
t s_MaxValue
Constructors, destructors, conversion operators
- TFCS1DFunctionInt16Histogram(const TH1* hist = nullptr)
- ~TFCS1DFunctionInt16Histogram() defaulted override
Public functions
- void Initialize(const TH1* hist)
- auto rnd_to_fct(double rnd) const -> double override
- auto get_HistoBordersx() const -> const std::vector< float > &
- auto get_HistoBordersx() -> std::vector< float > &
- auto get_HistoContents() const -> const std::vector< HistoContent_t > &
- auto get_HistoContents() -> std::vector< HistoContent_t > &
- void rnd_to_fct() const override
- auto rnd_to_fct() const -> double pure virtual
Protected variables
- std::vector<float> m_HistoBorders
-
std::vector<HistoContent_
t> m_HistoContents
Function documentation
auto TFCS1DFunctionInt16Histogram:: rnd_to_fct(double rnd) const -> double override
Function gets random number rnd in the range [0,1) as argument and returns function value according to a histogram distribution
void TFCS1DFunctionInt16Histogram:: rnd_to_fct() const override
Function gets array of random numbers rnd[] in the range [0,1) as arguments and returns function value in array value. For a n-dimensional function, value and rnd should both have n elements.
auto TFCS1DFunctionInt16Histogram:: rnd_to_fct() const -> double pure virtual
Function gets random number rnd in the range [0,1) as argument and returns function value