Anaphe Home Page Reference Documentation

Main Page     Namespaces     Classes     Source Code    

H_Bin_Helper Class Reference

#include <H_Bin_Helper.h>

List of all members.

Static Public Methods

double in_range_error (const I_Histo &a_histo, const H_F1d &operation=H_Identity())
 For each in-range bin, apply operation on the error and add all of the obtained errors.

double in_range_value (const I_Histo &a_histo, const H_F1d &operation=H_Identity())
 For each in-range bin, apply operation on the value and add all of the obtained values.

double in_range_min_value (const I_Histo &a_histo)
 Min value of in-range bins of histo a_histo.

double in_range_max_value (const I_Histo &a_histo)
 Max value of in-range bins of histo a_histo.

double bin_center (const I_Histo &a_histo, Index p, I_Histo::I_Bin_Location &l)
 Center of the bin indexed/located by l on axis p of the histo a_histo.

double bin_center (const I_Histo &a_histo, Index i)
 Center of the bin indexed by i of the 1D histo a_histo.

double bin_center (const I_Histo &a_histo, Index p, Index i, Index j)
 Center of the bin indexed by i , j of the 2D histo a_histo.


Protected Methods

 H_Bin_Helper ()
virtual ~H_Bin_Helper ()


Constructor & Destructor Documentation

H_Bin_Helper::H_Bin_Helper   [inline, protected]
 

Definition at line 28 of file H_Bin_Helper.h.

virtual H_Bin_Helper::~H_Bin_Helper   [inline, protected, virtual]
 

Definition at line 29 of file H_Bin_Helper.h.


Member Function Documentation

double H_Bin_Helper::bin_center const I_Histo   a_histo,
Index    p,
Index    i,
Index    j
[inline, static]
 

Definition at line 80 of file H_Bin_Helper.h.

References bin_center(), I_Histo::dim(), HTL_ERR, I_Histo::I_Bin_Location, and Index.

double H_Bin_Helper::bin_center const I_Histo   a_histo,
Index    i
[inline, static]
 

Definition at line 67 of file H_Bin_Helper.h.

References bin_center(), I_Histo::dim(), HTL_ERR, I_Histo::I_Bin_Location, and Index.

double H_Bin_Helper::bin_center const I_Histo   a_histo,
Index    p,
I_Histo::I_Bin_Location   l
[static]
 

Referenced by T_Histo3DVar::bin_center(), T_Histo3D::bin_center(), T_ProfileHisto2DVar::bin_center(), T_ProfileHisto2D::bin_center(), T_Histo2DVar::bin_center(), T_Histo2DF::bin_center(), T_Histo2D::bin_center(), T_Histo1DVar_FTS::bin_center(), T_Histo1D_FTS::bin_center(), T_ProfileHisto1DVar::bin_center(), T_ProfileHisto1D::bin_center(), T_Histo1DVar::bin_center(), T_Histo1D::bin_center(), bin_center(), HistoTable3D::write(), HistoTable2D::write(), and HistoTable1D::write().

double H_Bin_Helper::in_range_error const I_Histo   a_histo,
const H_F1d   operation = H_Identity()
[static]
 

By default (i.e., in case of H_Identity() ), it returns : SUM[ error() ] Otherwise: SUM[ operation(error()) ] e.g. When operation is H_Sqr, the following is computed: SUM[ sqr(error()) ]

double H_Bin_Helper::in_range_max_value const I_Histo   a_histo [static]
 

Referenced by H_Printout::print1(), and H_Printout::print2().

double H_Bin_Helper::in_range_min_value const I_Histo   a_histo [static]
 

Referenced by H_Printout::print1(), and H_Printout::print2().

double H_Bin_Helper::in_range_value const I_Histo   a_histo,
const H_F1d   operation = H_Identity()
[static]
 

By default (i.e., in case of H_Identity() ), it returns : SUM[ value() ] Otherwise: SUM[ operation(value()) ] e.g. When operation is H_Sqr, the following is computed: SUM[ sqr(value()) ]

Referenced by T_Histo1DVar_FTS::mean(), T_Histo1D_FTS::mean(), H_Printout::print2(), T_Histo1DVar_FTS::rms(), and T_Histo1D_FTS::rms().


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

Anaphe documentation generated by Doxygen (www.doxygen.org)