|
Jpp 19.3.0-rc.3
the software that should make you happy
|
Template definition of histogram object interface. More...
#include <JHistogram.hh>
Public Types | |
| typedef JAbscissa_t | abscissa_type |
| typedef JContents_t | contents_type |
Public Member Functions | |
| virtual | ~JHistogram () |
| Virtual destructor. | |
| void | reset () |
| Reset. | |
| virtual void | evaluate (const abscissa_type *pX, typename JLANG::JClass< contents_type >::argument_type w)=0 |
| Histogram filling. | |
| JHistogram & | add (const JHistogram &histogram) |
| Add histogram. | |
| JHistogram & | sub (const JHistogram &histogram) |
| Subtract histogram. | |
| JHistogram & | mul (const double value) |
| Scale histogram. | |
| JHistogram & | div (double value) |
| Scale histogram. | |
| const contents_type & | getUnderflow () const |
| Get contents below lower limit. | |
| const contents_type & | getOverflow () const |
| Get contents above upper limit. | |
| const contents_type & | getIntegral () const |
| Get contents above upper limit. | |
Protected Member Functions | |
| JHistogram () | |
| Default constructor. | |
Protected Attributes | |
| contents_type | underflow |
| contents_type | overflow |
| contents_type | integral |
Friends | |
| JReader & | operator>> (JReader &in, JHistogram &object) |
| Read histogram from input. | |
| JWriter & | operator<< (JWriter &out, const JHistogram &object) |
| Write histogram to output. | |
Template definition of histogram object interface.
This class also comprises auxiliary data.
Definition at line 27 of file JHistogram.hh.
| JAbscissa_t JTOOLS::JHistogram< JAbscissa_t, JContents_t >::abscissa_type |
Definition at line 42 of file JHistogram.hh.
| JContents_t JTOOLS::JHistogram< JAbscissa_t, JContents_t >::contents_type |
Definition at line 43 of file JHistogram.hh.
|
inlineprotected |
|
inlinevirtual |
|
inline |
|
pure virtual |
Histogram filling.
| pX | pointer to abscissa values |
| w | weight |
|
inline |
Add histogram.
| histogram | histogram |
Definition at line 80 of file JHistogram.hh.
|
inline |
Subtract histogram.
| histogram | histogram |
Definition at line 96 of file JHistogram.hh.
|
inline |
Scale histogram.
| value | multiplication factor |
Definition at line 112 of file JHistogram.hh.
|
inline |
Scale histogram.
| value | division factor |
Definition at line 128 of file JHistogram.hh.
|
inline |
|
inline |
|
inline |
|
friend |
Read histogram from input.
| in | reader |
| object | histogram |
Definition at line 178 of file JHistogram.hh.
|
friend |
Write histogram to output.
| out | writer |
| object | histogram |
Definition at line 195 of file JHistogram.hh.
|
protected |
Definition at line 206 of file JHistogram.hh.
|
protected |
Definition at line 207 of file JHistogram.hh.
|
protected |
Definition at line 208 of file JHistogram.hh.