Jpp
test_elongated_shower_pde
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. 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... | |
JFirst_t & | mul (const JSecond_t &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 351 of file JElement.hh.
typedef JElement2D<JAbscissa_t, JOrdinate_t> JTOOLS::JBin2D< JAbscissa_t, JOrdinate_t >::element_type |
Definition at line 356 of file JElement.hh.
typedef element_type::abscissa_type JTOOLS::JBin2D< JAbscissa_t, JOrdinate_t >::abscissa_type |
Definition at line 357 of file JElement.hh.
typedef 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 |
|
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 |
Multiply with object.
object | object |
Definition at line 357 of file JMath.hh.
|
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.