|
Jpp test-rotations-new
the software that should make you happy
|
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. | |
| JBin2D (typename JLANG::JClass< abscissa_type >::argument_type x, typename JLANG::JClass< ordinate_type >::argument_type y) | |
| Constructor. | |
| void | fill (typename JLANG::JClass< abscissa_type >::argument_type x, typename JLANG::JClass< ordinate_type >::argument_type w) |
| Add abscissa value. | |
| abscissa_type | getBinCenter () const |
| Get bin center. | |
| ordinate_type | getBinContent () const |
| Get bin content. | |
| ordinate_type | getBinError () const |
| Get bin error. | |
| JBin2D & | add (const JBin2D &bin) |
| Add bin. | |
| JBin2D & | mul (const double value) |
| Scale contents. | |
| JBin2D & | div (const double value) |
| Scale contents. | |
| abscissa_type | getX () const |
| Get abscissa value. | |
| const ordinate_type & | getY () const |
| Get ordinate value. | |
| ordinate_type & | getY () |
| Get ordinate value. | |
| JFirst_t & | mul (const JSecond_t &object) |
| Multiply with object. | |
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 351 of file JElement.hh.
| JElement2D<JAbscissa_t, JOrdinate_t> JTOOLS::JBin2D< JAbscissa_t, JOrdinate_t >::element_type |
Definition at line 356 of file JElement.hh.
| element_type::abscissa_type JTOOLS::JBin2D< JAbscissa_t, JOrdinate_t >::abscissa_type |
Definition at line 357 of file JElement.hh.
| element_type::ordinate_type JTOOLS::JBin2D< JAbscissa_t, JOrdinate_t >::ordinate_type |
Definition at line 358 of file JElement.hh.
|
inline |
Default constructor.
Definition at line 364 of file JElement.hh.
|
inline |
Constructor.
| x | abscissa value |
| y | ordinate value |
Definition at line 377 of file JElement.hh.
|
inline |
Add abscissa value.
| x | abscissa value |
| w | weight |
Definition at line 391 of file JElement.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Scale contents.
| value | multiplication factor |
Definition at line 458 of file JElement.hh.
|
inline |
Scale contents.
| value | division factor |
Definition at line 474 of file JElement.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protected |
Definition at line 485 of file JElement.hh.
|
protected |
Definition at line 486 of file JElement.hh.
|
protectedinherited |
Definition at line 140 of file JElement.hh.
|
protectedinherited |
Definition at line 141 of file JElement.hh.