Jpp
|
2D Binned element. More...
#include <JElement.hh>
Public Types | |
typedef JElement2D < JAbscissa_t, JOrdinate_t > | element_type |
typedef element_type::abscissa_type | abscissa_type |
typedef element_type::ordinate_type | ordinate_type |
Public Member Functions | |
JBin2D () | |
Default constructor. More... | |
JBin2D (typename JLANG::JClass< abscissa_type >::argument_type x, typename JLANG::JClass< ordinate_type >::argument_type y) | |
Constructor. More... | |
void | fill (typename JLANG::JClass< abscissa_type >::argument_type x, typename JLANG::JClass< ordinate_type >::argument_type w) |
Add abscissa value. More... | |
abscissa_type | getBinCenter () const |
Get bin center. More... | |
ordinate_type | getBinContent () const |
Get bin content. More... | |
ordinate_type | getBinError () const |
Get bin error. More... | |
JBin2D & | add (const JBin2D &bin) |
Add bin. More... | |
JBin2D & | mul (const double value) |
Scale contents. More... | |
JBin2D & | div (const double value) |
Scale contents. More... | |
abscissa_type | getX () const |
Get abscissa value. More... | |
const ordinate_type & | getY () const |
Get ordinate value. More... | |
ordinate_type & | getY () |
Get ordinate value. More... | |
JBin2D< JAbscissa_t, JOrdinate_t > & | mul (const JNullType &object) |
Multiply with object. More... | |
Protected Attributes | |
ordinate_type | __z |
ordinate_type | __w2 |
abscissa_type | __x |
ordinate_type | __y |
2D Binned element.
Note that the internal data members needed for the calculation of the bin center are not subject to I/O, i.e. the I/O of this class is identical to that of the JElement2D class.
Definition at line 349 of file JElement.hh.
typedef JElement2D<JAbscissa_t, JOrdinate_t> JTOOLS::JBin2D< JAbscissa_t, JOrdinate_t >::element_type |
Definition at line 354 of file JElement.hh.
typedef element_type::abscissa_type JTOOLS::JBin2D< JAbscissa_t, JOrdinate_t >::abscissa_type |
Definition at line 355 of file JElement.hh.
typedef element_type::ordinate_type JTOOLS::JBin2D< JAbscissa_t, JOrdinate_t >::ordinate_type |
Definition at line 356 of file JElement.hh.
|
inline |
Default constructor.
Definition at line 362 of file JElement.hh.
|
inline |
Constructor.
x | abscissa value |
y | ordinate value |
Definition at line 375 of file JElement.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Scale contents.
value | multiplication factor |
Definition at line 456 of file JElement.hh.
|
inline |
Scale contents.
value | division factor |
Definition at line 472 of file JElement.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 273 of file JMath.hh.
|
protected |
Definition at line 483 of file JElement.hh.
|
protected |
Definition at line 484 of file JElement.hh.
|
protectedinherited |
Definition at line 138 of file JElement.hh.
|
protectedinherited |
Definition at line 139 of file JElement.hh.