Sophie

Sophie

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

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_58b38df2e31e2ca35feeee31429c3534.html">projectors</a>
  </div>
</div>
<div class="contents">
<h1>EqualEntriesHist1DProjector.h</h1><a href="EqualEntriesHist1DProjector_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 _EqualEntriesHist1DProjector_H_</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _EqualEntriesHist1DProjector_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="NTupleProjector_8h.html" title="hippodraw::NTupleProjector class interface">NTupleProjector.h</a>&quot;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &quot;<a class="code" href="Range_8h.html" title="hippodraw::Range class interface">axes/Range.h</a>&quot;</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="keyword">namespace </span>hippodraw {
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="keyword">class </span>Range;
<a name="l00023"></a>00023 
<a name="l00034"></a><a class="code" href="classhippodraw_1_1EqualEntriesHist1DProjector.html">00034</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1EqualEntriesHist1DProjector.html" title="A derived class of NTupleProjector that projects a column of data into a one dimensional...">EqualEntriesHist1DProjector</a> : <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1NTupleProjector.html" title="An NTupleProjector is a projector that projects data from an DataSource object.">NTupleProjector</a>
<a name="l00035"></a>00035 {
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <span class="keyword">private</span>:
<a name="l00038"></a>00038 
<a name="l00041"></a><a class="code" href="classhippodraw_1_1EqualEntriesHist1DProjector.html#a304593454a19f765f43bc00701182c50">00041</a>   std::string m_y_label;
<a name="l00042"></a>00042 
<a name="l00045"></a><a class="code" href="classhippodraw_1_1EqualEntriesHist1DProjector.html#a2baddfc3c1a3ea88ca730595ae687951">00045</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_bin_num;
<a name="l00046"></a>00046 
<a name="l00049"></a><a class="code" href="classhippodraw_1_1EqualEntriesHist1DProjector.html#a71d94c8f9cd9e1a34e023439dd644cc8">00049</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_start_num;
<a name="l00050"></a>00050 
<a name="l00053"></a><a class="code" href="classhippodraw_1_1EqualEntriesHist1DProjector.html#ae71dd536700e6f5636df8c8728c1383d">00053</a>   <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> m_range;
<a name="l00054"></a>00054 
<a name="l00056"></a>00056   <span class="keywordtype">void</span> adjustNumberOfBins();
<a name="l00057"></a>00057 
<a name="l00058"></a>00058 <span class="keyword">protected</span>:
<a name="l00059"></a>00059 
<a name="l00061"></a>00061   <a class="code" href="classhippodraw_1_1EqualEntriesHist1DProjector.html" title="A derived class of NTupleProjector that projects a column of data into a one dimensional...">EqualEntriesHist1DProjector</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1EqualEntriesHist1DProjector.html" title="A derived class of NTupleProjector that projects a column of data into a one dimensional...">EqualEntriesHist1DProjector</a> &amp; projector );
<a name="l00062"></a>00062 
<a name="l00067"></a>00067   <span class="keyword">virtual</span> <span class="keywordtype">void</span> changedNTuple();
<a name="l00068"></a>00068 
<a name="l00070"></a>00070   <span class="keyword">virtual</span> <span class="keywordtype">void</span> addPointReps ();
<a name="l00071"></a>00071 
<a name="l00072"></a>00072 <span class="keyword">public</span>:
<a name="l00073"></a>00073 
<a name="l00075"></a>00075   <a class="code" href="classhippodraw_1_1EqualEntriesHist1DProjector.html" title="A derived class of NTupleProjector that projects a column of data into a one dimensional...">EqualEntriesHist1DProjector</a>( );
<a name="l00076"></a>00076 
<a name="l00079"></a>00079   <a class="code" href="classhippodraw_1_1ProjectorBase.html" title="The base class for the Projector hierarchy.">ProjectorBase</a> * <a class="code" href="namespacenum__util.html#a8d145d73a173083711a3829a2bc75f5c">clone</a>();
<a name="l00080"></a>00080 
<a name="l00085"></a>00085   <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> dataRangeOn ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis ) <span class="keyword">const</span>;
<a name="l00086"></a>00086   <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> valueRange ( ) <span class="keyword">const</span>;
<a name="l00087"></a>00087   <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> dataRangeOnValue ( ) <span class="keyword">const</span>;
<a name="l00088"></a>00088 
<a name="l00091"></a>00091   <span class="keyword">virtual</span> <span class="keywordtype">double</span> getPosOn ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis ) <span class="keyword">const</span>;
<a name="l00092"></a>00092 
<a name="l00095"></a>00095   <span class="keyword">virtual</span> <span class="keyword">const</span> std::string &amp; getYLabel ( <span class="keywordtype">bool</span> density = <span class="keyword">false</span> ) <span class="keyword">const</span>;
<a name="l00096"></a>00096 
<a name="l00098"></a>00098   <span class="keyword">virtual</span> <span class="keywordtype">double</span> getAverage ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis ) <span class="keyword">const</span>;
<a name="l00099"></a>00099 
<a name="l00100"></a>00100   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isAxisBinned ( <span class="keyword">const</span> std::string &amp; axis ) <span class="keyword">const</span>;
<a name="l00101"></a>00101 
<a name="l00103"></a>00103   <span class="keyword">virtual</span> <span class="keywordtype">int</span> getUnderflow () <span class="keyword">const</span>;
<a name="l00104"></a>00104 
<a name="l00106"></a>00106   <span class="keyword">virtual</span> <span class="keywordtype">int</span> getOverflow () <span class="keyword">const</span>;
<a name="l00107"></a>00107 
<a name="l00108"></a>00108   <span class="keyword">virtual</span> <a class="code" href="classhippodraw_1_1DataSource.html" title="Base class for DataSource.">DataSource</a> * createNTuple () <span class="keyword">const</span>;
<a name="l00109"></a>00109 
<a name="l00110"></a>00110   <span class="keyword">virtual</span> <span class="keywordtype">void</span> prepareValues ();
<a name="l00111"></a>00111 
<a name="l00113"></a>00113   <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a>&amp; setBinWidth ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">Axes::Type</a> axis, <span class="keywordtype">int</span> parm, <span class="keywordtype">bool</span> dragging );
<a name="l00115"></a>00115   <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a>&amp; setBinWidth ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">Axes::Type</a> axis, <span class="keywordtype">double</span> number );
<a name="l00116"></a>00116 
<a name="l00118"></a>00118   <span class="keyword">virtual</span> <span class="keywordtype">double</span> getBinWidth ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">Axes::Type</a> axis ) <span class="keyword">const</span>;
<a name="l00119"></a>00119 
<a name="l00120"></a>00120 <span class="keyword">protected</span>:
<a name="l00121"></a>00121 
<a name="l00122"></a>00122   <span class="keyword">virtual</span> <span class="keywordtype">void</span> fillProjectedValues ( <a class="code" href="classhippodraw_1_1DataSource.html" title="Base class for DataSource.">DataSource</a> * ntuple, 
<a name="l00123"></a>00123                                      <span class="keywordtype">bool</span> in_range = <span class="keyword">false</span> ) <span class="keyword">const</span>;
<a name="l00124"></a>00124 };
<a name="l00125"></a>00125 
<a name="l00126"></a>00126 } <span class="comment">// namespace hippodraw</span>
<a name="l00127"></a>00127 
<a name="l00128"></a>00128 <span class="preprocessor">#endif // _EqualEntriesHist1DProjector_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>