List of all members | Public Types | Public Member Functions | Public Attributes | Private Attributes
utl::VariableBinning< T, ContainerPolicy > Class Template Reference

policy for the variable bin boundaries in Histogram More...

#include <Histogram.h>

Inheritance diagram for utl::VariableBinning< T, ContainerPolicy >:
Inheritance graph
[legend]

Public Types

typedef T BinEdgeType
 
typedef boost::add_reference
< BinLowerEdgesType >::type 
BinLowerEdgesRefType
 
typedef ContainerPolicy
< std::vector< BinEdgeType >
>::type 
BinLowerEdgesType
 
typedef add_const_reference
< BinLowerEdgesType >::type 
ConstBinLowerEdgesRefType
 

Public Member Functions

BinEdgeType GetBinLowerEdge (const size_t bin) const
 
BinLowerEdgesRefType GetBinLowerEdges ()
 
ConstBinLowerEdgesRefType GetBinLowerEdges () const
 
BinEdgeType GetBinSize (const size_t bin) const
 
BinEdgeType GetBinUpperEdge (const size_t bin) const
 
size_t GetNBins () const
 
BinEdgeType GetStart () const
 
BinEdgeType GetStop () const
 
bool IsOverflow (const double x) const
 
bool IsUnderflow (const double x) const
 
 VariableBinning ()
 
 VariableBinning (ConstBinLowerEdgesRefType edges)
 

Public Attributes

size_t const
 

Private Attributes

const BinLowerEdgesType fBinLowerEdges
 

Detailed Description

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
class utl::VariableBinning< T, ContainerPolicy >

policy for the variable bin boundaries in Histogram

Definition at line 73 of file Histogram.h.

Member Typedef Documentation

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
typedef T utl::VariableBinning< T, ContainerPolicy >::BinEdgeType

Definition at line 75 of file Histogram.h.

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
typedef boost::add_reference<BinLowerEdgesType>::type utl::VariableBinning< T, ContainerPolicy >::BinLowerEdgesRefType

Definition at line 77 of file Histogram.h.

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
typedef ContainerPolicy<std::vector<BinEdgeType> >::type utl::VariableBinning< T, ContainerPolicy >::BinLowerEdgesType

Definition at line 76 of file Histogram.h.

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
typedef add_const_reference<BinLowerEdgesType>::type utl::VariableBinning< T, ContainerPolicy >::ConstBinLowerEdgesRefType

Definition at line 78 of file Histogram.h.

Constructor & Destructor Documentation

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
utl::VariableBinning< T, ContainerPolicy >::VariableBinning ( )
inline

Definition at line 80 of file Histogram.h.

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
utl::VariableBinning< T, ContainerPolicy >::VariableBinning ( ConstBinLowerEdgesRefType  edges)
inline

Definition at line 82 of file Histogram.h.

Member Function Documentation

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
BinEdgeType utl::VariableBinning< T, ContainerPolicy >::GetBinLowerEdge ( const size_t  bin) const
inline
template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
BinLowerEdgesRefType utl::VariableBinning< T, ContainerPolicy >::GetBinLowerEdges ( )
inline

Definition at line 113 of file Histogram.h.

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
ConstBinLowerEdgesRefType utl::VariableBinning< T, ContainerPolicy >::GetBinLowerEdges ( ) const
inline

Definition at line 115 of file Histogram.h.

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
BinEdgeType utl::VariableBinning< T, ContainerPolicy >::GetBinSize ( const size_t  bin) const
inline

Definition at line 101 of file Histogram.h.

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
BinEdgeType utl::VariableBinning< T, ContainerPolicy >::GetBinUpperEdge ( const size_t  bin) const
inline
template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
size_t utl::VariableBinning< T, ContainerPolicy >::GetNBins ( ) const
inline

Definition at line 85 of file Histogram.h.

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
BinEdgeType utl::VariableBinning< T, ContainerPolicy >::GetStart ( ) const
inline
template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
BinEdgeType utl::VariableBinning< T, ContainerPolicy >::GetStop ( ) const
inline
template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
bool utl::VariableBinning< T, ContainerPolicy >::IsOverflow ( const double  x) const
inline

Definition at line 93 of file Histogram.h.

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
bool utl::VariableBinning< T, ContainerPolicy >::IsUnderflow ( const double  x) const
inline

Definition at line 91 of file Histogram.h.

Member Data Documentation

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
size_t utl::VariableBinning< T, ContainerPolicy >::const
Initial value:
{
return size_t(std::upper_bound(fBinLowerEdges.begin(),
fBinLowerEdges.end(), x)
- fBinLowerEdges.begin()) - 1

Definition at line 107 of file Histogram.h.

template<typename T = double, template< typename > class ContainerPolicy = boost::add_const>
const BinLowerEdgesType utl::VariableBinning< T, ContainerPolicy >::fBinLowerEdges
private

The documentation for this class was generated from the following file:

, generated on Tue Sep 26 2023.