#include <TFCS1DFunctionTemplateHelpers.h>
|
| | TFCS1DFunction_HistogramInt32BinEdges (size_t nbins=0) |
| std::size_t | MemorySizeArray () const |
| std::size_t | MemorySize () const |
| void | set_nbins (size_t nbins) |
| | set number of bins
|
| size_t | get_nbins () const |
| | return number of bins
|
| void | SetBinLowEdge (size_t pos, const float &value) |
| | set position of lower edge of bins.
|
| const float | GetBinLowEdge (size_t pos) const |
| | get position of lower edge of bins.
|
| const float | GetBinLength (size_t pos) const |
| | get the length of a bin
|
| void | SetMin (const float &value) |
| | set and get minimum
|
| const float & | GetMin () const |
| void | SetMax (const float &value) |
| | set and get maximum
|
| const float & | GetMax () const |
| void | SetMinMax (const float &valuemin, const float &valuemax) |
| | set minimum and maximum
|
| const float | Length () const |
| | Get length of interval of all bins.
|
| float | position (size_t pos, const float &drnd) const |
| | return linear interpolated position for bin pos.
|
| float | position_lin (size_t pos, float m, const float &drnd) const |
| | return interpolated position for bin pos, such that histograming the position gives a linear slope m, where m is in units of the bin width for bin pos.
|
| float | position_exp (size_t pos, float beta, const float &drnd) const |
| | return exponentially interpolated position for bin pos, such that histograming the position gives a linear slope m, where m is in units of the bin width for bin pos.
|
◆ internal_storage_type
◆ random_type
◆ size_t
◆ value_type
◆ TFCS1DFunction_HistogramInt32BinEdges()
| TFCS1DFunction_HistogramInt32BinEdges::TFCS1DFunction_HistogramInt32BinEdges |
( |
size_t | nbins = 0 | ) |
|
|
inline |
◆ get_nbins()
◆ GetBinLength()
◆ GetBinLowEdge()
get position of lower edge of bins.
Requires GetMin() and GetMax() to be set and may not be changed!
Definition at line 413 of file TFCS1DFunctionTemplateHelpers.h.
413 {
421 };
const float & GetMax() const
const float & GetMin() const
TFCS1DFunction_Array< uint32_t > m_array
const float Length() const
static Tfloat ToNormalizedRange(const T value)
◆ GetMax()
◆ GetMin()
◆ Length()
◆ MemorySize()
◆ MemorySizeArray()
◆ position()
return linear interpolated position for bin pos.
Interpolation is done with a random value in the range [0,1]
Definition at line 447 of file TFCS1DFunctionTemplateHelpers.h.
◆ position_exp()
return exponentially interpolated position for bin pos, such that histograming the position gives a linear slope m, where m is in units of the bin width for bin pos.
Interpolation is done with a random value in the range [0,1]
(m_array[pos+1] - m_array[pos]);
Definition at line 478 of file TFCS1DFunctionTemplateHelpers.h.
478 {
484 else {
488 else {
490 }
491 }
492
494 };
◆ position_lin()
return interpolated position for bin pos, such that histograming the position gives a linear slope m, where m is in units of the bin width for bin pos.
Interpolation is done with a random value in the range [0,1] return linearly interpolated position for bin pos, such that histograming the position gives a linear slope m, where m is in units of the bin width for bin pos. Interpolation is done with a random value in the range [0,1]
Definition at line 460 of file TFCS1DFunctionTemplateHelpers.h.
◆ set_nbins()
◆ SetBinLowEdge()
set position of lower edge of bins.
Requires GetMin() and GetMax() to be set and may not be changed!
Definition at line 398 of file TFCS1DFunctionTemplateHelpers.h.
398 {
401 return;
402 }
405 return;
406 }
409 };
void SetMin(const float &value)
void SetMax(const float &value)
static T ExpandToMaxRange(const Tfloat value)
◆ SetMax()
◆ SetMin()
◆ SetMinMax()
◆ size()
◆ m_array
◆ m_Max
◆ m_Min
The documentation for this class was generated from the following file: