![]() |
Reference Documentation |
Inheritance diagram for P_Histo_2D< T_Life, T_Bin, T_Point_X, T_Partition_X, T_Point_Y, T_Partition_Y >:
This enforces similarity to the detailed underflow/overflow information kept by HBOOK but still preserves summary OVR/UND info to keep the I_Histo::extra_bin() interface method valid.
The detailed layout is:
|in-range-bins|detailed OVR/UND|dummy OVR/UND|
Detailed OVR/UND info is stored as a surrounding contour to the histogram starting from bin {U,U} :
1111 1432109 15BBBB8 16BBBB7 17BBBB6 012345 In range bins are represented by the B letters, sorrounding OVR/UND bins start from the lower left corner (index 0) counterclockwise (up to index 17).
The dummy OVR/UND info is stored with this layout:
|(I,U),(U,I),(O,I),(I,O)|
They're just used as cache to return back the sum of the detailed OVR/UND info.
Definition at line 60 of file P_Histo_2D.ddl.
Public Types | |
typedef P_Histo_2D< T_Life, T_Bin, T_Point_X, T_Partition_X, T_Point_Y, T_Partition_Y > | Like_Current |
Convenience typedef to current type. | |
typedef T_Bin | Bin_Type |
typedef T_Partition_X | Partition_X_Type |
typedef T_Partition_Y | Partition_Y_Type |
typedef T_Partition_X::Mapped_Point | Mapped_Point_X |
typedef T_Partition_Y::Mapped_Point | Mapped_Point_Y |
Public Methods | |
H_IID_IMPLEMENT (P_Histo_2D) | |
Very simple RTTI feature. | |
typedef | H_P_REF (Like_Current) Ref_Like_Current |
virtual | ~P_Histo_2D () |
P_Histo_2D (const char *a_name, const T_Partition_X &a_partition_X, const T_Partition_Y &a_partition_Y) | |
Construct a histo with the name a_name. | |
P_Histo_2D (I_Histo &a_histo, int copy_data=1) | |
Copy constructor with the option to have the structure copied only or to have both structure and data copied. | |
P_Histo_2D (const I_Histo &a_histo, int copy_data=1) | |
Copy constructor with the option to have the structure copied only or to have both structure and data copied (const version) . | |
virtual const char * | name () const |
Name/Title attached to this histogram. | |
virtual void | set_name (const char *a_name) |
Attach a name a_name to this histogram. | |
virtual I_Bin & | i_bin (I_Bin_Location &a_location) |
In-range bin associated with location a_location. | |
virtual I_Bin & | i_bin (I_Bin_Location &a_location) const |
In-range bin associated with location a_location (const version). | |
virtual I_Bin & | i_extra_bin (I_Extra_Bin_Location &a_location) |
Extra bin associated with extra location a_location. | |
virtual I_Bin & | i_extra_bin (I_Extra_Bin_Location &a_location) const |
Extra bin associated with extra location a_location (const version). | |
virtual Size | bin_count () const |
Number of in-range bins. | |
virtual Size | extra_bin_count () const |
Number of real out-of-range bins (not including dummies). | |
virtual I_Partition & | i_partition (Index p) |
(Elementary) Partition interface associated with this histo. | |
virtual I_Partition & | i_partition (Index p) const |
(Elementary) Partition interface associated with this histo (const version). | |
virtual I_Bin & | i_bin (Index i) |
Retrieve any bin (in-range or extra) whose index is i. | |
virtual I_Bin & | i_bin (Index i) const |
Retrieve any bin (in-range or extra) whose index is i. | |
virtual void | reset () |
Reset histograms content. | |
T_Partition_X & | partition_X () |
First (Elementary) Partition associated with this histo. | |
T_Partition_Y & | partition_Y () |
Second (Elementary) Partition associated with this histo. | |
T_Partition_X & | partition_X () const |
First (Elementary) Partition associated with this histo (const version). | |
T_Partition_Y & | partition_Y () const |
Second (Elementary) Partition associated with this histo (const version). | |
T_Bin & | mapped_bin (T_Point_X x, T_Point_Y y) |
Bin that is mapped/associated with point ( x ,y ). | |
T_Bin & | bin (Index i, Index j) const |
In-range bin associated with index ( i , j ). | |
T_Bin & | extra_bin (Extra_Index an_ei, Extra_Index an_ej) |
Extra bin associated with extra index: ( an_ei , an_ej ). | |
T_Bin & | extra_bin (Extra_Index an_ei, Extra_Index an_ej) const |
Extra bin associated with extra index ( an_ei , an_ej ) (const version). | |
bool | is_in_range (Extra_Index an_ei, Extra_Index an_ej) const |
True if extra index ( an_extra_i , an_extra_j ) should map an in range bin. | |
virtual int | version () const |
Version of the histo. | |
virtual I_Bin & | i_any_bin (I_Bin_Location &a_location) const |
Any bin associated with location a_location (const version). | |
T_Bin & | _bin (Index i) |
Ref_Like_Current | clone (int copy_data=1) |
Make a clone of the structure of this histo. | |
Ref_Like_Current | clone (H_P_CLUSTER1(a_place), int copy_data=1) |
Clone with clustering hint. | |
Ref_Like_Current | add (const Ref_Like_Current &other) |
Add other histo to this one and return the result. | |
void | add (const I_Histo &other) |
Add other histo to current histo. | |
Ref_Like_Current | sub (const Ref_Like_Current &other) |
Subtract other histo from current histo and return a handle to this histo. | |
void | sub (const I_Histo &other) |
Substract other histo from current histo. | |
Ref_Like_Current | mul (const Ref_Like_Current &other) |
Multiply current histo by other histo and return a handle to this histo. | |
void | mul (const I_Histo &other) |
Multiply current histo by other histo. | |
Ref_Like_Current | div (const Ref_Like_Current &other) |
Divide current histo by other histo and return a handle to this histo. | |
void | div (const I_Histo &other) |
Divide current histo by other histo. | |
Ref_Like_Current | binomial_div (const Ref_Like_Current &other) |
Do binomial division of current histo by other histo and return a handle to this histo. | |
void | binomial_div (const I_Histo &other) |
Do binomial division of current histo by other histo. | |
void | add (double x) |
Add scalar to current histo. | |
void | sub (double x) |
Subtract scalar from current histo. | |
void | mul (double x) |
Multiply current histo by scalar . | |
void | div (double x) |
Divide current histo by scalar. | |
virtual void | start_update () |
Protected Methods | |
P_Histo_2D () | |
virtual P_REF_I_Histo | clone_ (int copy_data=1) |
virtual P_REF_I_Histo | clone_ (H_P_CLUSTER1(a_place), int copy_data=1) |
virtual void | add_ (const I_Histo &other) |
virtual P_REF_I_Histo | add1_ (const I_Histo &other) |
virtual void | sub_ (const I_Histo &other) |
virtual P_REF_I_Histo | sub1_ (const I_Histo &other) |
virtual void | mul_ (const I_Histo &other) |
virtual P_REF_I_Histo | mul1_ (const I_Histo &other) |
virtual void | div_ (const I_Histo &other) |
virtual P_REF_I_Histo | div1_ (const I_Histo &other) |
virtual void | binomial_div_ (const I_Histo &other) |
virtual P_REF_I_Histo | binomial_div1_ (const I_Histo &other) |
virtual void | add_ (double x) |
virtual void | sub_ (double x) |
virtual void | mul_ (double x) |
virtual void | div_ (double x) |
bool | compatiblePartitions (const I_Histo &other, const char *oper) |
void | compute_ (const I_Histo &other, binHistoOp &oper) |
void | compute_ (double value, binScalarOp &oper) |
Index | realOutRange (Extra_Index ei, Extra_Index ej, Index ni, Index nj) const |
Index | summaryOUInfo (Extra_Index ei, Extra_Index ej) |
Index | computeSummary (Index which, Index from, Index howMany) |
Size | dummyBinCount () const |
void | update_ () |
Protected Attributes | |
T_Life::S_String | name_ |
ATTRIBUTES. | |
T_Partition_X | partition_X_ |
T_Partition_Y | partition_Y_ |
T_Life::P_Bin_Container | bins_ |
|
Definition at line 71 of file P_Histo_2D.ddl. |
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 67 of file P_Histo_2D.ddl. Referenced by P_Histo_2D< P_Lifetime< Profile_Bin >, Profile_Bin, double, P_Uneven_Partition, double, P_Uneven_Partition >::clone(). |
|
Definition at line 78 of file P_Histo_2D.ddl. |
|
Definition at line 79 of file P_Histo_2D.ddl. |
|
Definition at line 72 of file P_Histo_2D.ddl. |
|
Definition at line 73 of file P_Histo_2D.ddl. |
|
Definition at line 83 of file P_Histo_2D.ddl. |
|
Definition at line 85 of file P_Histo_2D.ddl. |
|
Note: a_partition_* must be able to map points of type T_Point_*. |
|
Persistent histos can thus be created out of a histo interface (the actual source histo can be transient or persistent. Notice that it is then possible to create a Weighted_Bin histo out of a Profile_Bin histo interface. The user is responsible for it to ensure that it does make sense to create such a new histo. |
|
Persistent histos can thus be created out of a histo interface (the actual source histo can be transient or persistent. Notice that it is then possible to create a Weighted_Bin histo out of a Profile_Bin histo interface. The user is responsible for it to ensure that it does make sense to create such a new histo. |
|
Definition at line 243 of file P_Histo_2D.ddl. |
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 363 of file P_Histo_2D.ddl. |
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 285 of file P_Histo_2D.ddl. |
|
Handles are involved. Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 270 of file P_Histo_2D.ddl. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. Referenced by P_Histo_2D< P_Lifetime< Profile_Bin >, Profile_Bin, double, P_Uneven_Partition, double, P_Uneven_Partition >::add(). |
|
Const version.
Definition at line 194 of file P_Histo_2D.ddl. |
|
|
Reimplemented from P_I_Histo_2D. Definition at line 361 of file P_Histo_2D.ddl. |
|
Reimplemented from P_I_Histo_2D. Definition at line 346 of file P_Histo_2D.ddl. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. Referenced by P_Histo_2D< P_Lifetime< Profile_Bin >, Profile_Bin, double, P_Uneven_Partition, double, P_Uneven_Partition >::binomial_div(). |
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 256 of file P_Histo_2D.ddl. |
|
Data is also copied when copy_data is not 0 (which is the default behavior). The allocation is done in the same container (if possible) when in persistent case. Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 249 of file P_Histo_2D.ddl. Referenced by P_Histo_2D< P_Lifetime< Profile_Bin >, Profile_Bin, double, P_Uneven_Partition, double, P_Uneven_Partition >::clone_(). |
|
Implements P_I_Histo. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 263 of file P_Histo_2D.ddl. |
|
Implements P_I_Histo. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 260 of file P_Histo_2D.ddl. |
|
|
|
|
|
|
|
|
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 369 of file P_Histo_2D.ddl. |
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 342 of file P_Histo_2D.ddl. |
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 327 of file P_Histo_2D.ddl. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. Referenced by P_Histo_2D< P_Lifetime< Profile_Bin >, Profile_Bin, double, P_Uneven_Partition, double, P_Uneven_Partition >::div(). |
|
Definition at line 397 of file P_Histo_2D.ddl. |
|
If the index equals (H_IN_RANGE, H_IN_RANGE), no meaningful extra bin is associated with this value. |
|
If the index equals (H_IN_RANGE, H_IN_RANGE), no meaningful extra bin is associated with this value. |
|
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. |
|
Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. |
|
Location element can be either bin number or one of the constants: { UNDERFLOW_BIN = -2, OVERFLOW_BIN = -1 } according to the AIDA specifications. |
|
Const version. |
|
|
|
The bin interface is returned. |
|
The bin interface is returned. |
|
If the location is in range, no meaningful extra bin is associated with this value. The bin interface is returned. |
|
If the location is in range, no meaningful extra bin is associated with this value. The bin interface is returned. |
|
|
|
|
|
False otherwise. Definition at line 223 of file P_Histo_2D.ddl. |
|
The returned bin can be either an in-range bin or an extra bin. |
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 367 of file P_Histo_2D.ddl. |
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 323 of file P_Histo_2D.ddl. |
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 308 of file P_Histo_2D.ddl. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. Referenced by P_Histo_2D< P_Lifetime< Profile_Bin >, Profile_Bin, double, P_Uneven_Partition, double, P_Uneven_Partition >::mul(). |
|
Definition at line 119 of file P_Histo_2D.ddl. |
|
Definition at line 181 of file P_Histo_2D.ddl. |
|
|
Definition at line 183 of file P_Histo_2D.ddl. |
|
|
|
|
|
|
Implements P_I_Histo. Definition at line 122 of file P_Histo_2D.ddl. |
|
Definition at line 401 of file P_Histo_2D.ddl. |
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 365 of file P_Histo_2D.ddl. |
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 304 of file P_Histo_2D.ddl. |
|
Reimplemented from P_I_Histo_2D. Reimplemented in P_Histo2D, P_Histo2DF, P_Histo2DVar, P_ProfileHisto2D, and P_ProfileHisto2DVar. Definition at line 289 of file P_Histo_2D.ddl. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. Referenced by P_Histo_2D< P_Lifetime< Profile_Bin >, Profile_Bin, double, P_Uneven_Partition, double, P_Uneven_Partition >::sub(). |
|
|
|
Definition at line 404 of file P_Histo_2D.ddl. Referenced by P_Histo_2D< P_Lifetime< Profile_Bin >, Profile_Bin, double, P_Uneven_Partition, double, P_Uneven_Partition >::set_name(). |
|
Definition at line 227 of file P_Histo_2D.ddl. Referenced by P_Histo_2D< P_Lifetime< Profile_Bin >, Profile_Bin, double, P_Uneven_Partition, double, P_Uneven_Partition >::extra_bin_count(). |
|
|
|
Definition at line 423 of file P_Histo_2D.ddl. Referenced by P_Histo_2D< P_Lifetime< Profile_Bin >, Profile_Bin, double, P_Uneven_Partition, double, P_Uneven_Partition >::partition_X(). |
|
Definition at line 425 of file P_Histo_2D.ddl. Referenced by P_Histo_2D< P_Lifetime< Profile_Bin >, Profile_Bin, double, P_Uneven_Partition, double, P_Uneven_Partition >::partition_Y(). |
Anaphe documentation generated by Doxygen (www.doxygen.org) |