![]() |
ATLAS Offline Software
|
#include <TFCS1DFunctionTemplateHelpers.h>
Public Types | |
| typedef TFCS1DFunction_size_t | size_t |
| typedef double | value_type |
| typedef double | random_type |
Public Member Functions | |
| TFCS1DFunction_HistogramDoubleBinEdges (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 double &value) |
| set position of lower edge of bins | |
| const double & | GetBinLowEdge (size_t pos) const |
| get position of lower edge of bins | |
| const double | GetBinLength (size_t pos) const |
| get the length of a bin | |
| void | SetMin (const double &value) |
| set and get minimum | |
| const double & | GetMin () const |
| void | SetMax (const double &value) |
| set and get maximum | |
| const double & | GetMax () const |
| void | SetMinMax (const double &valuemin, const double &valuemax) |
| set minimum and maximum | |
| const double | Length () const |
| Get length of interval of all bins. | |
| double | position (size_t pos, const double &drnd) const |
| return linear interpolated position for bin pos. | |
| double | position_lin (size_t pos, double m, const double &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. | |
| double | position_exp (size_t pos, double beta, const double &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. | |
Private Member Functions | |
| size_t | size () const |
Private Attributes | |
| TFCS1DFunction_Array< double > | m_array |
Definition at line 362 of file TFCS1DFunctionTemplateHelpers.h.
|
inherited |
Definition at line 258 of file TFCS1DFunctionTemplateHelpers.h.
|
inherited |
Definition at line 256 of file TFCS1DFunctionTemplateHelpers.h.
|
inherited |
Definition at line 257 of file TFCS1DFunctionTemplateHelpers.h.
|
inline |
Definition at line 365 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
return number of bins
Definition at line 270 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
get the length of a bin
Definition at line 279 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
get position of lower edge of bins
Definition at line 276 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
Definition at line 289 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
Definition at line 285 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
Get length of interval of all bins.
Definition at line 298 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
Definition at line 264 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
Definition at line 263 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
|
inlineinherited |
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.
|
inlineinherited |
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.
|
inlineinherited |
set number of bins
Definition at line 267 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
set position of lower edge of bins
Definition at line 273 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
set and get maximum
Definition at line 288 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
set and get minimum
Definition at line 284 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineinherited |
set minimum and maximum
Definition at line 292 of file TFCS1DFunctionTemplateHelpers.h.
|
inlineprivateinherited |
Definition at line 345 of file TFCS1DFunctionTemplateHelpers.h.
|
privateinherited |
Definition at line 344 of file TFCS1DFunctionTemplateHelpers.h.