| 
    Jpp
    master_rocky-37-gf0c5bc59d
    
   the software that should make you happy 
   | 
 
Histogram in 1D. More...
#include <JHistogram1D.hh>
  
Public Types | |
| enum | { NUMBER_OF_DIMENSIONS = 1 } | 
| typedef JContainer_t< JElement_t, JDistance_t > | collection_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 JHistogram< abscissa_type, ordinate_type > | histogram_type | 
| typedef histogram_type::contents_type | contents_type | 
| typedef JTOOLS::JRebin< value_type > | JRebin | 
| typedef JTOOLS::JContent< value_type > | JContent | 
Public Member Functions | |
| JHistogram1D () | |
| Default constructor.  More... | |
| JHistogram1D (const JAbstractHistogram< abscissa_type > &bounds) | |
| Constructor.  More... | |
| JHistogram1D (const JAbstractCollection< abscissa_type > &bounds) | |
| Constructor.  More... | |
| void | reset () | 
| Reset.  More... | |
| virtual void | evaluate (const abscissa_type *pX, typename JClass< contents_type >::argument_type w) | 
| Fill histogram.  More... | |
| void | fill (typename JClass< abscissa_type >::argument_type x, typename JClass< contents_type >::argument_type w) | 
| Fill histogram.  More... | |
| template<class JRebin_t > | |
| void | rebin (JRebin_t merge) | 
| Rebin histogram.  More... | |
| JHistogram1D & | add (const JHistogram1D &histogram) | 
| Add histogram.  More... | |
| JHistogram1D & | sub (const JHistogram1D &histogram) | 
| Subtract histogram.  More... | |
| JHistogram1D & | mul (const double value) | 
| Scale contents.  More... | |
| JHistogram1D & | div (const double value) | 
| Scale contents.  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... | |
| 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... | |
| JFirst_t & | mul (const JSecond_t &object) | 
| Multiply with object.  More... | |
Protected Attributes | |
| contents_type | underflow | 
| contents_type | overflow | 
| contents_type | integral | 
Friends | |
| JReader & | operator>> (JReader &in, JHistogram1D &object) | 
| Read histogram from input.  More... | |
| JWriter & | operator<< (JWriter &out, const JHistogram1D &object) | 
| Write histogram to output.  More... | |
Histogram in 1D.
This class implements the JHistogram interface.
Definition at line 111 of file JHistogram1D.hh.
| typedef JContainer_t<JElement_t, JDistance_t> JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::collection_type | 
Definition at line 120 of file JHistogram1D.hh.
| typedef collection_type::abscissa_type JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::abscissa_type | 
Definition at line 122 of file JHistogram1D.hh.
| typedef collection_type::ordinate_type JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::ordinate_type | 
Definition at line 123 of file JHistogram1D.hh.
| typedef collection_type::value_type JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::value_type | 
Definition at line 124 of file JHistogram1D.hh.
| typedef collection_type::const_iterator JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::const_iterator | 
Definition at line 126 of file JHistogram1D.hh.
| typedef collection_type::const_reverse_iterator JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::const_reverse_iterator | 
Definition at line 127 of file JHistogram1D.hh.
| typedef collection_type::iterator JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::iterator | 
Definition at line 128 of file JHistogram1D.hh.
| typedef collection_type::reverse_iterator JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::reverse_iterator | 
Definition at line 129 of file JHistogram1D.hh.
| typedef JHistogram<abscissa_type, ordinate_type> JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::histogram_type | 
Definition at line 131 of file JHistogram1D.hh.
| typedef histogram_type::contents_type JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::contents_type | 
Definition at line 133 of file JHistogram1D.hh.
| typedef JTOOLS::JRebin<value_type> JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::JRebin | 
Definition at line 135 of file JHistogram1D.hh.
| typedef JTOOLS::JContent<value_type> JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::JContent | 
Definition at line 136 of file JHistogram1D.hh.
| anonymous enum | 
      
  | 
  inline | 
      
  | 
  inline | 
Constructor.
| bounds | bounds | 
Definition at line 151 of file JHistogram1D.hh.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inlinevirtual | 
Fill histogram.
| pX | pointer to abscissa values | 
| w | weight | 
Definition at line 187 of file JHistogram1D.hh.
      
  | 
  inline | 
Fill histogram.
| x | abscissa value | 
| w | weight | 
Definition at line 200 of file JHistogram1D.hh.
      
  | 
  inline | 
Rebin histogram.
| merge | rebin evaluator | 
Definition at line 222 of file JHistogram1D.hh.
      
  | 
  inline | 
Add histogram.
| histogram | histogram | 
Definition at line 259 of file JHistogram1D.hh.
      
  | 
  inline | 
Subtract histogram.
| histogram | histogram | 
Definition at line 274 of file JHistogram1D.hh.
      
  | 
  inline | 
Scale contents.
| value | multiplication factor | 
Definition at line 289 of file JHistogram1D.hh.
      
  | 
  inline | 
Scale contents.
| value | division factor | 
Definition at line 304 of file JHistogram1D.hh.
      
  | 
  pure virtualinherited | 
Histogram filling.
| pX | pointer to abscissa values | 
| w | weight | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  friend | 
Read histogram from input.
| in | reader | 
| object | histogram | 
Definition at line 320 of file JHistogram1D.hh.
      
  | 
  friend | 
Write histogram to output.
| out | writer | 
| object | histogram | 
Definition at line 336 of file JHistogram1D.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.