![]() |
ATLAS Offline Software
|
#include <TFCS1DFunctionTemplateHelpers.h>
Public Types | |
| typedef TFCS1DFunction_size_t | size_t |
| typedef float | value_type |
| typedef float | random_type |
| typedef uint8_t | internal_storage_type |
Public Member Functions | |
| TFCS1DFunction_HistogramInt8BinEdges (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. | |
Private Member Functions | |
| size_t | size () const |
Private Attributes | |
| TFCS1DFunction_Array< uint8_t > | m_array |
| float | m_Min |
| float | m_Max |
Definition at line 506 of file TFCS1DFunctionTemplateHelpers.h.
|
inherited |
Definition at line 381 of file TFCS1DFunctionTemplateHelpers.h.
|
inherited |
Definition at line 380 of file TFCS1DFunctionTemplateHelpers.h.
|
inherited |
Definition at line 378 of file TFCS1DFunctionTemplateHelpers.h.
|
inherited |
Definition at line 379 of file TFCS1DFunctionTemplateHelpers.h.
|
inline |
Definition at line 509 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
return number of bins
Definition at line 394 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
get the length of a bin
Definition at line 424 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
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.
|
inlineinherited |
Definition at line 434 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
Definition at line 430 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
Get length of interval of all bins.
Definition at line 443 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
Definition at line 388 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
Definition at line 387 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
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.
|
inlineinherited |
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.
|
inlineinherited |
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.
|
inlineinherited |
set number of bins
Definition at line 391 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
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.
|
inlineinherited |
set and get maximum
Definition at line 433 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
set and get minimum
Definition at line 429 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
|
inlineprivateinherited |
Definition at line 498 of file TFCS1DFunctionTemplateHelpers.h.
|
privateinherited |
Definition at line 497 of file TFCS1DFunctionTemplateHelpers.h.
|
privateinherited |
Definition at line 500 of file TFCS1DFunctionTemplateHelpers.h.
|
privateinherited |
Definition at line 499 of file TFCS1DFunctionTemplateHelpers.h.