| 
    Jpp 20.0.0-rc.3
    
   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::collection_type | base_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.   | |
| JHistogram1D (const JAbstractHistogram< abscissa_type > &bounds) | |
| Constructor.   | |
| JHistogram1D (const JAbstractCollection< abscissa_type > &bounds) | |
| Constructor.   | |
| void | reset () | 
| Reset.   | |
| virtual void | evaluate (const abscissa_type *pX, typename JClass< contents_type >::argument_type w) | 
| Fill histogram.   | |
| void | fill (typename JClass< abscissa_type >::argument_type x, typename JClass< contents_type >::argument_type w) | 
| Fill histogram.   | |
| template<class JRebin_t > | |
| void | rebin (JRebin_t merge) | 
| Rebin histogram.   | |
| JHistogram1D & | add (const JHistogram1D &histogram) | 
| Add histogram.   | |
| JHistogram1D & | sub (const JHistogram1D &histogram) | 
| Subtract histogram.   | |
| JHistogram1D & | mul (const double value) | 
| Scale contents.   | |
| JHistogram1D & | div (const double value) | 
| Scale contents.   | |
| 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.   | |
| 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.   | |
| JFirst_t & | mul (const JSecond_t &object) | 
| Multiply with object.   | |
Protected Attributes | |
| contents_type | underflow | 
| contents_type | overflow | 
| contents_type | integral | 
Friends | |
| JReader & | operator>> (JReader &in, JHistogram1D &object) | 
| Read histogram from input.   | |
| JWriter & | operator<< (JWriter &out, const JHistogram1D &object) | 
| Write histogram to output.   | |
Histogram in 1D.
This class implements the JHistogram interface.
Definition at line 110 of file JHistogram1D.hh.
| JContainer_t<JElement_t, JDistance_t> JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::collection_type | 
Definition at line 119 of file JHistogram1D.hh.
| collection_type::collection_type JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::base_collection_type | 
Definition at line 121 of file JHistogram1D.hh.
| collection_type::abscissa_type JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::abscissa_type | 
Definition at line 123 of file JHistogram1D.hh.
| collection_type::ordinate_type JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::ordinate_type | 
Definition at line 124 of file JHistogram1D.hh.
| collection_type::value_type JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::value_type | 
Definition at line 125 of file JHistogram1D.hh.
| collection_type::const_iterator JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::const_iterator | 
Definition at line 127 of file JHistogram1D.hh.
| collection_type::const_reverse_iterator JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::const_reverse_iterator | 
Definition at line 128 of file JHistogram1D.hh.
| collection_type::iterator JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::iterator | 
Definition at line 129 of file JHistogram1D.hh.
| collection_type::reverse_iterator JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::reverse_iterator | 
Definition at line 130 of file JHistogram1D.hh.
| JHistogram<abscissa_type, ordinate_type> JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::histogram_type | 
Definition at line 132 of file JHistogram1D.hh.
| histogram_type::contents_type JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::contents_type | 
Definition at line 134 of file JHistogram1D.hh.
| JTOOLS::JRebin<value_type> JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::JRebin | 
Definition at line 136 of file JHistogram1D.hh.
| JTOOLS::JContent<value_type> JTOOLS::JHistogram1D< JElement_t, JContainer_t, JDistance_t >::JContent | 
Definition at line 137 of file JHistogram1D.hh.
| anonymous enum | 
| Enumerator | |
|---|---|
| NUMBER_OF_DIMENSIONS | |
Definition at line 117 of file JHistogram1D.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Constructor.
| bounds | bounds | 
Definition at line 152 of file JHistogram1D.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Reset.
Definition at line 172 of file JHistogram1D.hh.
      
  | 
  inlinevirtual | 
Fill histogram.
| pX | pointer to abscissa values | 
| w | weight | 
Definition at line 188 of file JHistogram1D.hh.
      
  | 
  inline | 
Fill histogram.
| x | abscissa value | 
| w | weight | 
Definition at line 201 of file JHistogram1D.hh.
      
  | 
  inline | 
Rebin histogram.
| merge | rebin evaluator | 
Definition at line 223 of file JHistogram1D.hh.
      
  | 
  inline | 
Add histogram.
| histogram | histogram | 
Definition at line 260 of file JHistogram1D.hh.
      
  | 
  inline | 
Subtract histogram.
| histogram | histogram | 
Definition at line 275 of file JHistogram1D.hh.
      
  | 
  inline | 
Scale contents.
| value | multiplication factor | 
Definition at line 290 of file JHistogram1D.hh.
      
  | 
  inline | 
Scale contents.
| value | division factor | 
Definition at line 305 of file JHistogram1D.hh.
      
  | 
  pure virtualinherited | 
Histogram filling.
| pX | pointer to abscissa values | 
| w | weight | 
      
  | 
  inlineinherited | 
Add histogram.
| histogram | histogram | 
Definition at line 88 of file JHistogram.hh.
      
  | 
  inlineinherited | 
Subtract histogram.
| histogram | histogram | 
Definition at line 104 of file JHistogram.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  friend | 
Read histogram from input.
| in | reader | 
| object | histogram | 
Definition at line 321 of file JHistogram1D.hh.
      
  | 
  friend | 
Write histogram to output.
| out | writer | 
| object | histogram | 
Definition at line 337 of file JHistogram1D.hh.
      
  | 
  protectedinherited | 
Definition at line 223 of file JHistogram.hh.
      
  | 
  protectedinherited | 
Definition at line 224 of file JHistogram.hh.
      
  | 
  protectedinherited | 
Definition at line 225 of file JHistogram.hh.