|
| | TFCS1DFunction_HistogramBinEdges (size_t nbins=0) |
| | ~TFCS1DFunction_HistogramBinEdges () |
| 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 T &value) |
| | set position of lower edge of bins
|
| const T & | GetBinLowEdge (size_t pos) const |
| | get position of lower edge of bins
|
| const T | GetBinLength (size_t pos) const |
| | get the length of a bin
|
| void | SetMin (const T &value) |
| | set and get minimum
|
| const T & | GetMin () const |
| void | SetMax (const T &value) |
| | set and get maximum
|
| const T & | GetMax () const |
| void | SetMinMax (const T &valuemin, const T &valuemax) |
| | set minimum and maximum
|
| const T | Length () const |
| | Get length of interval of all bins.
|
| T | position (size_t pos, const Trandom &drnd) const |
| | return linear interpolated position for bin pos.
|
| T | position_lin (size_t pos, Trandom m, const Trandom &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.
|
| T | position_exp (size_t pos, Trandom beta, const Trandom &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.
|
template<typename T, typename Trandom = float>
class TFCS1DFunction_HistogramBinEdges< T, Trandom >
Definition at line 254 of file TFCS1DFunctionTemplateHelpers.h.
template<typename T, typename Trandom = float>
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.
325 {
331 else {
335 else {
337 }
338 }
339
341 };
template<typename T, typename Trandom = float>
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.