![]() |
Reference Documentation |
#include <T_Histograms_1D.h>
Inheritance diagram for T_Histo1D:
Definition at line 34 of file T_Histograms_1D.h.
Public Types | |
typedef T_Histo1D | Like_Current |
Convenience typedef to current type. | |
Public Methods | |
H_IID_IMPLEMENT (T_Histo1D) | |
Very simple RTTI feature. | |
typedef | H_T_REF (Like_Current) Ref_Like_Current |
Convenience typedef to reference to current type. | |
T_Histo1D (const char *a_title, Size n, double x1, double x2, End_Point_Convention epc=RIGHT_OPEN) | |
Create a 1D histo with Gravity_Bin_1D and fixed partition. | |
T_Histo1D (I_Histo &a_histo, int copy_data=1) | |
Copy constructor. | |
T_Histo1D (const I_Histo &a_histo, int copy_data=1) | |
Copy constructor taking const reference. | |
virtual | ~T_Histo1D () |
Destructor. | |
void | fill (double x, double w=1.0) |
Fill histo with datapoint x and weight w. | |
double | bin_center (Index i) |
Center of the bin indexed by i. | |
double | mean () |
Return histogram mean. | |
double | rms () |
Return histogram RMS (Root Mean Square). | |
Ref_Like_Current | clone (int copy_data=1) |
Clone the histogram. | |
Ref_Like_Current | clone (H_T_CLUSTER1(a_place), int copy_data=1) |
Clone the histogram. | |
Ref_Like_Current | add (const Ref_Like_Current &other) |
Add another histogram of the same type to this one. | |
void | add (const I_Histo &other) |
Add another histogram to this one using the abstract interface. | |
Ref_Like_Current | sub (const Ref_Like_Current &other) |
Subtract another histogram of the same type from this one. | |
void | sub (const I_Histo &other) |
Subtract another histogram from this one using the abstract interface. | |
Ref_Like_Current | mul (const Ref_Like_Current &other) |
Multiply another histogram of the same type to this one. | |
void | mul (const I_Histo &other) |
Multiply another histogram to this one using the abstract interface. | |
Ref_Like_Current | div (const Ref_Like_Current &other) |
Divide this histogram by another of the same type. | |
void | div (const I_Histo &other) |
Divide this histogram by another one using the abstract interface. | |
void | add (double x) |
Add a scalar to this histogram. | |
void | sub (double x) |
Sutract a scalar from this histogram. | |
void | mul (double x) |
Multiply by a scalar this histogram. | |
void | div (double x) |
Divide by scalar this histogram. | |
Protected Methods | |
virtual T_REF_I_Histo | clone_ (int copy_data=1) |
virtual T_REF_I_Histo | clone_ (H_T_CLUSTER1(a_place), int copy_data=1) |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 40 of file T_Histograms_1D.h. Referenced by clone(). |
|
Definition at line 51 of file T_Histograms_1D.h. References End_Point_Convention, H_H1D_E_EP, RIGHT_OPEN, and Size. |
|
If copy_data == 1 the content of the histogram is copied as well, otherwise the copy is empty. Definition at line 60 of file T_Histograms_1D.h. |
|
If copy_data == 1 the content of the histogram is copied as well, otherwise the copy is empty. Definition at line 67 of file T_Histograms_1D.h. |
|
Definition at line 72 of file T_Histograms_1D.h. |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 185 of file T_Histograms_1D.h. References T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >::add_(). |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 135 of file T_Histograms_1D.h. References T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >::add_(). |
|
|
Definition at line 89 of file T_Histograms_1D.h. References H_Bin_Helper::bin_center(), I_Histo::I_Bin_Location, and Index. |
|
The first parameter is a clustering hint. If copy_data is zero the clone is empty. Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 111 of file T_Histograms_1D.h. References H_T_NEW_CLUSTER1, and Like_Current. |
|
If copy_data is zero the clone is empty. Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 101 of file T_Histograms_1D.h. References H_T_NEW_CLUSTER0, and Like_Current. Referenced by clone_(). |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 117 of file T_Histograms_1D.h. References clone(). |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 114 of file T_Histograms_1D.h. References clone(). |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 191 of file T_Histograms_1D.h. References T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >::div_(). |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 183 of file T_Histograms_1D.h. References T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >::div_(). |
|
|
Definition at line 76 of file T_Histograms_1D.h. References HTLlimits::classify(), HTLlimits::isFinite(), T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >::mapped_bin(), and Gravity_Bin_1D::put(). |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. |
|
Definition at line 94 of file T_Histograms_1D.h. References H_Statistics::mean(). Referenced by rms(). |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 189 of file T_Histograms_1D.h. References T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >::mul_(). |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 167 of file T_Histograms_1D.h. References T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >::mul_(). |
|
|
Definition at line 96 of file T_Histograms_1D.h. References mean(), and H_Statistics::rms(). |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 187 of file T_Histograms_1D.h. References T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >::sub_(). |
|
Reimplemented from T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >. Definition at line 151 of file T_Histograms_1D.h. References T_Histo_1D< T_Lifetime< Gravity_Bin_1D >, Gravity_Bin_1D, Even_Partition >::sub_(). |
|
Anaphe documentation generated by Doxygen (www.doxygen.org) |