![]() |
Reference Documentation |
Inheritance diagram for P_Histo_1D< T_Life, T_Bin, T_Partition >:
Public Types | |
typedef P_Histo_1D< T_Life, T_Bin, T_Partition > | Like_Current |
Convenience typedef to current type. | |
typedef T_Bin | Bin_Type |
typedef T_Partition | Partition_Type |
typedef T_Partition::Mapped_Point | Mapped_Point |
Public Methods | |
H_IID_IMPLEMENT (P_Histo_1D) | |
Very simple RTTI feature. | |
typedef | H_P_REF (Like_Current) Ref_Like_Current |
virtual | ~P_Histo_1D () |
P_Histo_1D (const char *a_name, const T_Partition &a_partition) | |
Construct a histo with the name a_name and with the partition a_partition. | |
P_Histo_1D (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_1D (const I_Histo &a_histo, int copy_data=1) | |
Copy constructor taking a const reference to I_Histo interface. | |
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 I_Partition & | i_partition (Index p=0) |
Partition interface associated with this histo. | |
virtual I_Partition & | i_partition (Index p=0) const |
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 . Const version. | |
virtual void | reset () |
Reset histograms content. | |
virtual I_Bin & | i_any_bin (I_Bin_Location &a_location) const |
Any bin associated with location a_location (const version). | |
T_Partition & | partition () |
Partition associated with this 1D-histo. | |
T_Partition & | partition () const |
Partition associated with this 1D-histo (const version) . | |
T_Bin & | mapped_bin (Mapped_Point x) |
Bin that is mapped/associated with point x The returned bin can be either an in-range bin or an extra bin. | |
T_Bin & | bin (Index i, int updateBin=1) |
In-range bin associated with index i REQUIRES: i >= 0 && i < partition().bin_count(). | |
T_Bin & | bin (Index i) const |
In-range bin associated with index i . | |
T_Bin & | extra_bin (Extra_Index an_extra_i, int updateBin=1) |
Extra bin associated with extra index i If the index equals H_IN_RANGE, no meaningful extra bin is associated with this value. | |
T_Bin & | extra_bin (Extra_Index an_extra_i) const |
Extra bin associated with extra index i . | |
bool | is_in_range (Extra_Index an_extra_i) const |
True if extra index an_extra_i maps an in range bin. | |
T_Bin & | _bin (Index i) |
Unsafe linear access to the contents of the bin container. | |
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 a handle to this histo. | |
void | add (const I_Histo &other) |
Add other histo to current one. | |
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) |
Subtract 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 other 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_1D () | |
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) |
void | update_ () |
Protected Attributes | |
T_Life::S_String | name_ |
ATTRIBUTES. | |
T_Partition | partition_ |
T_Life::P_Bin_Container | bins_ |
Extra_Index | extra_index_ |
|
Definition at line 25 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 23 of file P_Histo_1D.ddl. Referenced by P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::clone(). |
|
Definition at line 31 of file P_Histo_1D.ddl. |
|
Definition at line 26 of file P_Histo_1D.ddl. |
|
Definition at line 35 of file P_Histo_1D.ddl. |
|
Definition at line 38 of file P_Histo_1D.ddl. |
|
Note a_partition must be able to map points of type Mapped_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. |
|
|
|
Definition at line 177 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 296 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 222 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 207 of file P_Histo_1D.ddl. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. Referenced by P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::add(). |
|
Const version. REQUIRES: i >= 0 && i < partition().bin_count() |
|
Definition at line 134 of file P_Histo_1D.ddl. |
|
|
Reimplemented from P_I_Histo_1D. Definition at line 294 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Definition at line 280 of file P_Histo_1D.ddl. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. Referenced by P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::binomial_div(). |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 192 of file P_Histo_1D.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_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 184 of file P_Histo_1D.ddl. Referenced by P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::clone_(). |
|
Implements P_I_Histo. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 199 of file P_Histo_1D.ddl. |
|
Implements P_I_Histo. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 196 of file P_Histo_1D.ddl. |
|
|
|
|
|
|
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 302 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 276 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 262 of file P_Histo_1D.ddl. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. Referenced by P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::div(). |
|
Const version If the index equals H_IN_RANGE, no meaningful extra bin is associated with this value. |
|
Definition at line 152 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. |
|
Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. |
|
Location element can be either bin number or one of the constants: { UNDERFLOW_BIN = -2, OVERFLOW_BIN = -1 } according to the AIDA specifications. |
|
|
|
Definition at line 97 of file P_Histo_1D.ddl. |
|
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 170 of file P_Histo_1D.ddl. |
|
|
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 300 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 258 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 244 of file P_Histo_1D.ddl. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. Referenced by P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::mul(). |
|
Definition at line 63 of file P_Histo_1D.ddl. |
|
The actual partition class (not the interface) is returned. Definition at line 124 of file P_Histo_1D.ddl. |
|
The actual partition class (not the interface) is returned. Definition at line 120 of file P_Histo_1D.ddl. Referenced by P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::add(), P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::bin_count(), P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::binomial_div(), P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::div(), P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::mul(), and P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::sub(). |
|
Reimplemented in P_Histo1D_FTS, and P_Histo1DVar_FTS. |
|
Implements P_I_Histo. Definition at line 66 of file P_Histo_1D.ddl. |
|
Definition at line 330 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 298 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 240 of file P_Histo_1D.ddl. |
|
Reimplemented from P_I_Histo_1D. Reimplemented in P_Histo1D, P_Histo1DVar, P_ProfileHisto1D, P_ProfileHisto1DVar, P_Histo1D_FTS, and P_Histo1DVar_FTS. Definition at line 226 of file P_Histo_1D.ddl. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. |
|
Implements P_I_Histo. Referenced by P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::sub(). |
|
Definition at line 333 of file P_Histo_1D.ddl. Referenced by P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::set_name(). |
|
|
Definition at line 359 of file P_Histo_1D.ddl. |
|
Definition at line 348 of file P_Histo_1D.ddl. Referenced by P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::name(), and P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::set_name(). |
|
Definition at line 351 of file P_Histo_1D.ddl. Referenced by P_Histo_1D< P_Lifetime< Profile_Bin >, Profile_Bin, Even_Partition >::partition(). |
Anaphe documentation generated by Doxygen (www.doxygen.org) |