Anaphe Home Page Reference Documentation

Main Page     Namespaces     Classes     Source Code    

H_2D_Helper Class Reference

#include <H_2D_Helper.h>

List of all members.


Detailed Description

This class implements operations like producing slices, bands or projections of a 2D histogram. Every method return a transient 1D histogram with variable partition.

Definition at line 15 of file H_2D_Helper.h.

Public Methods

 H_2D_Helper ()
 Constructor.

T_Histo1DVar * xBand (I_Histo &, int i)
 Return the histogram corresponding to the i bin along X.

T_Histo1DVar * yBand (I_Histo &, int i)
 Return the histogram corresponding to the i bin along Y.

T_Histo1DVar * xBand (I_Histo &, double x)
 Return the histogram corresponding to the bin containing the x point.

T_Histo1DVar * yBand (I_Histo &, double x)
 Return the histogram corresponding to the bin containing the x point.

T_Histo1DVar * xProject (I_Histo &)
 Return the histogram resulting from the projection on X.

T_Histo1DVar * yProject (I_Histo &)
 Return the histogram resulting from the projection on Y.


Protected Methods

T_Histo1DVar * band (I_Histo &, int, int)
T_Histo1DVar * project (I_Histo &, int)


Constructor & Destructor Documentation

H_2D_Helper::H_2D_Helper   [inline]
 

Definition at line 21 of file H_2D_Helper.h.


Member Function Documentation

T_Histo1DVar * H_2D_Helper::band I_Histo  ,
int   ,
int   
[protected]
 

Definition at line 41 of file H_2D_Helper.cpp.

References I_Partition::bin_count(), I_Histo::dim(), I_Histo::i_any_bin(), I_Histo::i_bin(), I_Histo::I_Bin_Location, I_Histo::i_partition(), I_Histo::OVERFLOW_BIN, Size, and I_Histo::UNDERFLOW_BIN.

Referenced by xBand(), and yBand().

T_Histo1DVar * H_2D_Helper::project I_Histo  ,
int   
[protected]
 

Definition at line 74 of file H_2D_Helper.cpp.

References I_Partition::bin_count(), I_Histo::dim(), H_OVERFLOW, H_UNDERFLOW, I_Histo::i_any_bin(), I_Histo::i_bin(), I_Histo::I_Bin_Location, I_Histo::I_Extra_Bin_Location, I_Histo::i_partition(), I_Histo::OVERFLOW_BIN, Size, and I_Histo::UNDERFLOW_BIN.

Referenced by xProject(), and yProject().

T_Histo1DVar * H_2D_Helper::xBand I_Histo  ,
double    x
 

Definition at line 11 of file H_2D_Helper.cpp.

References band(), Extra_Index, H_IN_RANGE, I_Histo::i_partition(), Index, and I_Partition::map_point().

T_Histo1DVar * H_2D_Helper::xBand I_Histo  ,
int    i
 

Definition at line 3 of file H_2D_Helper.cpp.

References band().

T_Histo1DVar * H_2D_Helper::xProject I_Histo  
 

Definition at line 33 of file H_2D_Helper.cpp.

References project().

T_Histo1DVar * H_2D_Helper::yBand I_Histo  ,
double    x
 

Definition at line 22 of file H_2D_Helper.cpp.

References band(), Extra_Index, H_IN_RANGE, I_Histo::i_partition(), Index, and I_Partition::map_point().

T_Histo1DVar * H_2D_Helper::yBand I_Histo  ,
int    i
 

Definition at line 7 of file H_2D_Helper.cpp.

References band().

T_Histo1DVar * H_2D_Helper::yProject I_Histo  
 

Definition at line 37 of file H_2D_Helper.cpp.

References project().


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

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