|
Jpp
17.3.2
the software that should make you happy
|
Histogram map. More...
#include <JHistogramMap.hh>
Public Types | |
| typedef JMap_t< JAbscissa_t, JContents_t, JDistance_t > | collection_type |
| typedef JHistogram < JAbscissa_t, typename JContents_t::contents_type > | histogram_type |
| typedef collection_type::abscissa_type | abscissa_type |
| typedef collection_type::ordinate_type | ordinate_type |
| typedef collection_type::value_type | value_type |
| typedef collection_type::const_iterator | const_iterator |
| typedef collection_type::const_reverse_iterator | const_reverse_iterator |
| typedef collection_type::iterator | iterator |
| typedef collection_type::reverse_iterator | reverse_iterator |
| typedef histogram_type::contents_type | contents_type |
Public Member Functions | |
| JHistogramMap () | |
| Default constructor. More... | |
| virtual void | evaluate (const abscissa_type *pX, typename JLANG::JClass< contents_type >::argument_type w) |
| Fill histogram. More... | |
| JHistogramMap & | mul (typename JLANG::JClass< contents_type >::argument_type factor) |
| Scale contents. More... | |
| JHistogramMap & | div (typename JLANG::JClass< contents_type >::argument_type factor) |
| Scale contents. More... | |
| void | reset () |
| Reset. More... | |
| virtual void | evaluate (const abscissa_type *pX, typename JLANG::JClass< contents_type >::argument_type w)=0 |
| Histogram filling. More... | |
| JHistogram & | add (const JHistogram &histogram) |
| Add histogram. More... | |
| JHistogram & | sub (const JHistogram &histogram) |
| Subtract histogram. More... | |
| JHistogram & | mul (const double value) |
| Scale histogram. More... | |
| JHistogram & | div (double value) |
| Scale histogram. More... | |
| const contents_type & | getUnderflow () const |
| Get contents below lower limit. More... | |
| const contents_type & | getOverflow () const |
| Get contents above upper limit. More... | |
| const contents_type & | getIntegral () const |
| Get contents above upper limit. More... | |
Protected Attributes | |
| contents_type | underflow |
| contents_type | overflow |
| contents_type | integral |
Friends | |
| JReader & | operator>> (JReader &in, JHistogramMap &object) |
| Read histogram map from input. More... | |
| JWriter & | operator<< (JWriter &out, const JHistogramMap &object) |
| Write histogram map to output. More... | |
Histogram map.
This class implements the JHistogram interface.
Definition at line 28 of file JHistogramMap.hh.
| typedef JMap_t<JAbscissa_t, JContents_t, JDistance_t> JTOOLS::JHistogramMap< JAbscissa_t, JContents_t, JMap_t, JDistance_t >::collection_type |
Definition at line 34 of file JHistogramMap.hh.
| typedef JHistogram<JAbscissa_t, typename JContents_t::contents_type> JTOOLS::JHistogramMap< JAbscissa_t, JContents_t, JMap_t, JDistance_t >::histogram_type |
Definition at line 35 of file JHistogramMap.hh.
| typedef collection_type::abscissa_type JTOOLS::JHistogramMap< JAbscissa_t, JContents_t, JMap_t, JDistance_t >::abscissa_type |
Definition at line 37 of file JHistogramMap.hh.
| typedef collection_type::ordinate_type JTOOLS::JHistogramMap< JAbscissa_t, JContents_t, JMap_t, JDistance_t >::ordinate_type |
Definition at line 38 of file JHistogramMap.hh.
| typedef collection_type::value_type JTOOLS::JHistogramMap< JAbscissa_t, JContents_t, JMap_t, JDistance_t >::value_type |
Definition at line 39 of file JHistogramMap.hh.
| typedef collection_type::const_iterator JTOOLS::JHistogramMap< JAbscissa_t, JContents_t, JMap_t, JDistance_t >::const_iterator |
Definition at line 41 of file JHistogramMap.hh.
| typedef collection_type::const_reverse_iterator JTOOLS::JHistogramMap< JAbscissa_t, JContents_t, JMap_t, JDistance_t >::const_reverse_iterator |
Definition at line 42 of file JHistogramMap.hh.
| typedef collection_type::iterator JTOOLS::JHistogramMap< JAbscissa_t, JContents_t, JMap_t, JDistance_t >::iterator |
Definition at line 43 of file JHistogramMap.hh.
| typedef collection_type::reverse_iterator JTOOLS::JHistogramMap< JAbscissa_t, JContents_t, JMap_t, JDistance_t >::reverse_iterator |
Definition at line 44 of file JHistogramMap.hh.
| typedef histogram_type::contents_type JTOOLS::JHistogramMap< JAbscissa_t, JContents_t, JMap_t, JDistance_t >::contents_type |
Definition at line 47 of file JHistogramMap.hh.
|
inline |
|
inlinevirtual |
Fill histogram.
| pX | pointer to abscissa values |
| w | weight |
Definition at line 63 of file JHistogramMap.hh.
|
inline |
Scale contents.
| factor | multiplication factor |
Definition at line 87 of file JHistogramMap.hh.
|
inline |
Scale contents.
| factor | division factor |
Definition at line 102 of file JHistogramMap.hh.
|
inlineinherited |
Reset.
Definition at line 56 of file JHistogram.hh.
|
pure virtualinherited |
Histogram filling.
| pX | pointer to abscissa values |
| w | weight |
|
inlineinherited |
Add histogram.
| histogram | histogram |
Definition at line 80 of file JHistogram.hh.
|
inlineinherited |
Subtract histogram.
| histogram | histogram |
Definition at line 96 of file JHistogram.hh.
|
inlineinherited |
Scale histogram.
| value | multiplication factor |
Definition at line 112 of file JHistogram.hh.
|
inlineinherited |
Scale histogram.
| value | division factor |
Definition at line 128 of file JHistogram.hh.
|
inlineinherited |
Get contents below lower limit.
Definition at line 143 of file JHistogram.hh.
|
inlineinherited |
Get contents above upper limit.
Definition at line 154 of file JHistogram.hh.
|
inlineinherited |
Get contents above upper limit.
Definition at line 165 of file JHistogram.hh.
|
friend |
Read histogram map from input.
| in | reader |
| object | histogram map |
Definition at line 118 of file JHistogramMap.hh.
|
friend |
Write histogram map to output.
| out | writer |
| object | histogram map |
Definition at line 134 of file JHistogramMap.hh.
|
protectedinherited |
Definition at line 206 of file JHistogram.hh.
|
protectedinherited |
Definition at line 207 of file JHistogram.hh.
|
protectedinherited |
Definition at line 208 of file JHistogram.hh.
1.8.5