Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 529

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>HippoDraw Class Library</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="hippoApp.ico">
</head><body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_974d432048ef135a7d3fc83794dbf3e9.html">binners</a>
  </div>
</div>
<div class="contents">
<h1>Bins1DProfile.h</h1><a href="Bins1DProfile_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: c++ -*- */</span>
<a name="l00002"></a>00002 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef _Bins1DProfile_H_</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _Bins1DProfile_H_</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;<a class="code" href="Bins1DBase_8h.html" title="hippodraw::Bins1DBase class interface">Bins1DBase.h</a>&quot;</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="keyword">namespace </span>hippodraw {
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="keyword">class </span>DataSource;
<a name="l00022"></a>00022 
<a name="l00032"></a><a class="code" href="classhippodraw_1_1Bins1DProfile.html">00032</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1Bins1DProfile.html" title="The class for the 1D profile binner hierarchy.">Bins1DProfile</a> : <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1Bins1DBase.html" title="The base class for the one-dimensional binner hierarchy.">Bins1DBase</a>
<a name="l00033"></a>00033 {
<a name="l00034"></a>00034  <span class="keyword">private</span>:
<a name="l00035"></a>00035 
<a name="l00039"></a><a class="code" href="classhippodraw_1_1Bins1DProfile.html#a3dffa9405c42c2de787c254f683d1a34">00039</a>   std::vector&lt;double&gt; m_sum;
<a name="l00040"></a>00040 
<a name="l00044"></a><a class="code" href="classhippodraw_1_1Bins1DProfile.html#a4a9e808b3f47a9758f33c22d5014984d">00044</a>   std::vector&lt;double&gt; m_sumsq;
<a name="l00045"></a>00045 
<a name="l00048"></a><a class="code" href="classhippodraw_1_1Bins1DProfile.html#a24b062ff95d8746bb70bb918d67ec3b5">00048</a>   std::vector &lt; double &gt; m_num;
<a name="l00049"></a>00049 
<a name="l00052"></a><a class="code" href="classhippodraw_1_1Bins1DProfile.html#ab5a07bb850f224ed27ccb9ab6e886930">00052</a>   std::vector &lt; double &gt; m_sumwtsq;
<a name="l00053"></a>00053 
<a name="l00055"></a><a class="code" href="classhippodraw_1_1Bins1DProfile.html#a45336f44f3ba51350e97c5f13347872e">00055</a>   <span class="keywordtype">double</span> m_high;
<a name="l00056"></a>00056 
<a name="l00057"></a>00057   <span class="keyword">virtual</span> <span class="keywordtype">void</span> resize ( <span class="keywordtype">int</span> number );
<a name="l00058"></a>00058 
<a name="l00059"></a>00059 <span class="keyword">public</span>:
<a name="l00060"></a>00060 
<a name="l00062"></a>00062   <a class="code" href="classhippodraw_1_1Bins1DProfile.html" title="The class for the 1D profile binner hierarchy.">Bins1DProfile</a> ();
<a name="l00063"></a>00063 
<a name="l00065"></a>00065   <a class="code" href="classhippodraw_1_1Bins1DProfile.html" title="The class for the 1D profile binner hierarchy.">Bins1DProfile</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Bins1DProfile.html" title="The class for the 1D profile binner hierarchy.">Bins1DProfile</a> &amp; binner );
<a name="l00066"></a>00066 
<a name="l00068"></a>00068   <span class="keyword">virtual</span> ~<a class="code" href="classhippodraw_1_1Bins1DProfile.html" title="The class for the 1D profile binner hierarchy.">Bins1DProfile</a> ();
<a name="l00069"></a>00069 
<a name="l00072"></a>00072   <a class="code" href="classhippodraw_1_1BinsBase.html" title="The base class for the binner hierarchy.">BinsBase</a> * <a class="code" href="namespacenum__util.html#a8d145d73a173083711a3829a2bc75f5c">clone</a> () <span class="keyword">const</span>;
<a name="l00073"></a>00073 
<a name="l00075"></a>00075   <span class="keywordtype">double</span> maxBin();
<a name="l00076"></a>00076 
<a name="l00078"></a>00078   <span class="keywordtype">double</span> minBin();
<a name="l00079"></a>00079 
<a name="l00081"></a>00081   <span class="keyword">virtual</span> <span class="keywordtype">void</span> reset();
<a name="l00082"></a>00082 
<a name="l00087"></a>00087   <span class="keyword">virtual</span> <span class="keywordtype">void</span> accumulate ( <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, 
<a name="l00088"></a>00088                             <span class="keywordtype">double</span> wt = 1.0, <span class="keywordtype">double</span> dummy = 0.0 );
<a name="l00089"></a>00089 
<a name="l00090"></a>00090   <span class="comment">/* implement pure virtual member functions in base. */</span>
<a name="l00091"></a>00091   <span class="keyword">virtual</span> <span class="keywordtype">int</span> getNumberOfEntries () <span class="keyword">const</span>;
<a name="l00092"></a>00092 
<a name="l00093"></a>00093   <span class="comment">/* implement pure virtual member functions in base. */</span>
<a name="l00094"></a>00094   <span class="keyword">virtual</span> <span class="keywordtype">int</span> getNumberOfEntries ( <span class="keywordtype">int</span> i ) <span class="keyword">const</span>;
<a name="l00095"></a>00095 
<a name="l00096"></a>00096   <span class="comment">/* implement pure virtual member functions in base. */</span>
<a name="l00097"></a>00097   <span class="keyword">virtual</span> <span class="keywordtype">int</span> getOverflow () <span class="keyword">const</span>;
<a name="l00098"></a>00098 
<a name="l00099"></a>00099   <span class="comment">/* implement pure virtual member functions in base. */</span>
<a name="l00100"></a>00100   <span class="keyword">virtual</span> <span class="keywordtype">int</span> getUnderflow () <span class="keyword">const</span>;
<a name="l00101"></a>00101 
<a name="l00102"></a>00102   <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1NTuple.html" title="A DataSource class implemented with std::vector&amp;lt;double&amp;gt; to store the column...">NTuple</a> * createNTuple () <span class="keyword">const</span>;
<a name="l00103"></a>00103   <span class="keyword">virtual</span> <span class="keywordtype">void</span> fillDataSource ( <a class="code" href="classhippodraw_1_1DataSource.html" title="Base class for DataSource.">DataSource</a> * ntuple ) <span class="keyword">const</span>;
<a name="l00104"></a>00104   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setBinContents ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataSource.html" title="Base class for DataSource.">DataSource</a> * ntuple );
<a name="l00105"></a>00105 
<a name="l00106"></a>00106 };
<a name="l00107"></a>00107 
<a name="l00108"></a>00108 } <span class="comment">// namespace hippodraw</span>
<a name="l00109"></a>00109 
<a name="l00110"></a>00110 <span class="preprocessor">#endif // _Bins1DProfile_H_</span>
</pre></div></div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>