#include <TFCS1DFunctionTemplateHelpers.h>
|
| TFCS1DFunction_HistogramFloatBinEdges (size_t nbins=0) |
|
std::size_t | MemorySizeArray () const |
|
std::size_t | MemorySize () const |
|
void | set_nbins (size_t nbins) |
| set number of bins More...
|
|
size_t | get_nbins () const |
| return number of bins More...
|
|
void | SetBinLowEdge (size_t pos, const float &value) |
| set position of lower edge of bins More...
|
|
const float & | GetBinLowEdge (size_t pos) const |
| get position of lower edge of bins More...
|
|
const float | GetBinLength (size_t pos) const |
| get the length of a bin More...
|
|
void | SetMin (const float &value) |
| set and get minimum More...
|
|
const float & | GetMin () const |
|
void | SetMax (const float &value) |
| set and get maximum More...
|
|
const float & | GetMax () const |
|
void | SetMinMax (const float &valuemin, const float &valuemax) |
| set minimum and maximum More...
|
|
const float | Length () const |
| Get length of interval of all bins. More...
|
|
float | position (size_t pos, const float &drnd) const |
| return linear interpolated position for bin pos. More...
|
|
float | position_lin (size_t pos, float m, const float &drnd) const |
| 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. More...
|
|
float | position_exp (size_t pos, float beta, const float &drnd) const |
| return exponetially 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. More...
|
|
◆ random_type
◆ size_t
◆ value_type
◆ TFCS1DFunction_HistogramFloatBinEdges()
TFCS1DFunction_HistogramFloatBinEdges::TFCS1DFunction_HistogramFloatBinEdges |
( |
size_t |
nbins = 0 | ) |
|
|
inline |
◆ get_nbins()
◆ GetBinLength()
◆ GetBinLowEdge()
◆ 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 302 of file TFCS1DFunctionTemplateHelpers.h.
◆ position_exp()
return exponetially 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 325 of file TFCS1DFunctionTemplateHelpers.h.
329 if (fabs(
beta) < 1.0
e-8)
330 return (1 -
z) * pos1 +
z * pos2;
340 return (1 -
z) * pos1 +
z * pos2;
◆ position_lin()
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 309 of file TFCS1DFunctionTemplateHelpers.h.
316 ? (0.5 * std::sqrt(
m * (
m + 8 * drnd - 4) + 4) - 1) /
m + 0.5
◆ set_nbins()
◆ SetBinLowEdge()
◆ SetMax()
◆ SetMin()
◆ SetMinMax()
◆ size()
◆ m_array
The documentation for this class was generated from the following file: