Jpp 20.0.0-rc.2
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 | |
class | JROOT::JHistogramHelper |
Friend declaration of auxiliary class for copying ROOT histograms. | |
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 35 of file JHistogram.hh.
JAbscissa_t JTOOLS::JHistogram< JAbscissa_t, JContents_t >::abscissa_type |
Definition at line 50 of file JHistogram.hh.
JContents_t JTOOLS::JHistogram< JAbscissa_t, JContents_t >::contents_type |
Definition at line 51 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 88 of file JHistogram.hh.
|
inline |
Subtract histogram.
histogram | histogram |
Definition at line 104 of file JHistogram.hh.
|
inline |
Scale histogram.
value | multiplication factor |
Definition at line 120 of file JHistogram.hh.
|
inline |
Scale histogram.
value | division factor |
Definition at line 136 of file JHistogram.hh.
|
inline |
|
inline |
|
inline |
|
friend |
Friend declaration of auxiliary class for copying ROOT histograms.
from | source |
to | destination |
Definition at line 219 of file JHistogram.hh.
|
friend |
Read histogram from input.
in | reader |
object | histogram |
Definition at line 186 of file JHistogram.hh.
|
friend |
Write histogram to output.
out | writer |
object | histogram |
Definition at line 203 of file JHistogram.hh.
|
protected |
Definition at line 223 of file JHistogram.hh.
|
protected |
Definition at line 224 of file JHistogram.hh.
|
protected |
Definition at line 225 of file JHistogram.hh.