yoda is hosted by Hepforge, IPPP Durham
YODA - Yet more Objects for Data Analysis 2.0.0
BinnedEstimate.h File Reference

Go to the source code of this file.

Classes

class  YODA::EstimateStorage< AxisT >
 EstimateStorage convenience class based on BinnedStorage. More...
 
class  YODA::BinnedEstimate< AxisT >
 Forward declaration. More...
 
class  YODA::BinnedEstimate< AxisT >
 Specialisation of the BinnedEstimate for a 1D histogram. More...
 
class  YODA::BinnedEstimate< AxisT1, AxisT2 >
 Specialisation of the BinnedEstimate for a 2D BinnedEstimate. More...
 
class  YODA::BinnedEstimate< AxisT1, AxisT2, AxisT3 >
 Specialisation of the BinnedEstimate for a 3D BinnedEstimate. More...
 

Namespaces

namespace  YODA
 Anonymous namespace to limit visibility.
 

Typedefs

Convenience aliases
template<typename A1 >
using YODA::BinnedEstimate1D = BinnedEstimate< A1 >
 Define dimension-specific short-hands (Cython sugar)
 
template<typename A1 , typename A2 >
using YODA::BinnedEstimate2D = BinnedEstimate< A1, A2 >
 
template<typename A1 , typename A2 , typename A3 >
using YODA::BinnedEstimate3D = BinnedEstimate< A1, A2, A3 >
 
template<size_t N>
using YODA::EstimateND = typename EstimateMaker< std::make_index_sequence< N > >::type
 
using YODA::Estimate1D = BinnedEstimate< double >
 
using YODA::Estimate2D = BinnedEstimate< double, double >
 
using YODA::Estimate3D = BinnedEstimate< double, double, double >
 

Functions

Combining BinnedEstimates: global operators
template<typename... AxisT>
BinnedEstimate< AxisT... > YODA::operator+ (BinnedEstimate< AxisT... > first, const BinnedEstimate< AxisT... > &second)
 Add two BinnedEstimates.
 
template<typename... AxisT>
BinnedEstimate< AxisT... > YODA::operator+ (BinnedEstimate< AxisT... > first, BinnedEstimate< AxisT... > &&second)
 Add two BinnedEstimates.
 
template<typename... AxisT>
BinnedEstimate< AxisT... > YODA::operator- (BinnedEstimate< AxisT... > first, const BinnedEstimate< AxisT... > &second)
 Subtract two BinnedEstimates.
 
template<typename... AxisT>
BinnedEstimate< AxisT... > YODA::operator- (BinnedEstimate< AxisT... > first, BinnedEstimate< AxisT... > &&second)
 Subtract two BinnedEstimates.
 
template<typename... AxisT>
BinnedEstimate< AxisT... > YODA::divide (const BinnedEstimate< AxisT... > &numer, const BinnedEstimate< AxisT... > &denom, const std::string &pat_uncorr="^stat|^uncor")
 Divide two BinnedEstimates.
 
template<typename... AxisT>
BinnedEstimate< AxisT... > YODA::operator/ (const BinnedEstimate< AxisT... > &numer, const BinnedEstimate< AxisT... > &denom)
 Divide two BinnedEstimates.
 
template<typename... AxisT>
BinnedEstimate< AxisT... > YODA::operator/ (BinnedEstimate< AxisT... > &&numer, const BinnedEstimate< AxisT... > &denom)
 Divide two BinnedEstimates.
 
template<typename... AxisT>
BinnedEstimate< AxisT... > YODA::operator/ (const BinnedEstimate< AxisT... > &numer, BinnedEstimate< AxisT... > &&denom)
 Divide two BinnedEstimates.
 
template<typename... AxisT>
BinnedEstimate< AxisT... > YODA::operator/ (BinnedEstimate< AxisT... > &&numer, BinnedEstimate< AxisT... > &&denom)
 Divide two BinnedEstimates.
 
template<typename... AxisT>
BinnedEstimate< AxisT... > YODA::efficiency (const BinnedEstimate< AxisT... > &accepted, const BinnedEstimate< AxisT... > &total, const std::string &pat_uncorr="^stat|^uncor")
 Calculate a binned efficiency ratio of two BinnedEstimate objects.
 
template<typename... AxisT>
BinnedEstimate< AxisT... > YODA::asymm (const BinnedEstimate< AxisT... > &a, const BinnedEstimate< AxisT... > &b, const std::string &pat_uncorr="^stat|^uncor")
 Calculate the asymmetry (a-b)/(a+b) of two BinnedDbn objects.
 
Generalised transformations
template<typename... AxisT>
void YODA::transform (BinnedEstimate< AxisT... > &est, const Trf< 1 > &fn)
 
template<typename... AxisT, typename FN >
void YODA::transform (BinnedEstimate< AxisT... > &est, const FN &fn)