<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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_58b38df2e31e2ca35feeee31429c3534.html">projectors</a> </div> </div> <div class="contents"> <h1>StHist1DProjector.h</h1><a href="StHist1DProjector_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 _StHist1DProjector_H_</span> <a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _StHist1DProjector_H_</span> <a name="l00016"></a>00016 <span class="preprocessor"></span> <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="Hist1DProjImp_8h.html" title="Hist1DProjImp class interface.">projectors/Hist1DProjImp.h</a>"</span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="keyword">namespace </span>hippodraw { <a name="l00020"></a>00020 <a name="l00029"></a><a class="code" href="classhippodraw_1_1StHist1DProjector.html">00029</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1StHist1DProjector.html" title="A derived class of ProjectorBase that projects data accumulated by calls to its fill...">StHist1DProjector</a> : <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1Hist1DProjImp.html" title="A derived class of BinningProjector that implements the member function common to...">Hist1DProjImp</a> <a name="l00030"></a>00030 { <a name="l00031"></a>00031 <a name="l00032"></a>00032 <span class="keyword">private</span>: <a name="l00033"></a>00033 <a name="l00035"></a><a class="code" href="classhippodraw_1_1StHist1DProjector.html#a85b5b28ec973f933b9ed1328f2756def">00035</a> std::string m_title; <a name="l00036"></a>00036 <a name="l00038"></a><a class="code" href="classhippodraw_1_1StHist1DProjector.html#a8c25c8f1ef3b8bac6d46729b8798c8fe">00038</a> std::string m_x_label; <a name="l00039"></a>00039 <a name="l00041"></a><a class="code" href="classhippodraw_1_1StHist1DProjector.html#a304593454a19f765f43bc00701182c50">00041</a> std::string m_y_label; <a name="l00042"></a>00042 <a name="l00043"></a>00043 <span class="keyword">public</span>: <a name="l00044"></a>00044 <a name="l00046"></a>00046 <a class="code" href="classhippodraw_1_1StHist1DProjector.html" title="A derived class of ProjectorBase that projects data accumulated by calls to its fill...">StHist1DProjector</a>(); <a name="l00047"></a>00047 <a name="l00049"></a>00049 <a class="code" href="classhippodraw_1_1StHist1DProjector.html" title="A derived class of ProjectorBase that projects data accumulated by calls to its fill...">StHist1DProjector</a>( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1StHist1DProjector.html" title="A derived class of ProjectorBase that projects data accumulated by calls to its fill...">StHist1DProjector</a> & projector ); <a name="l00050"></a>00050 <a name="l00053"></a>00053 <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="l00054"></a>00054 <a name="l00058"></a>00058 <span class="keywordtype">bool</span> isEmpty () <span class="keyword">const</span>; <a name="l00059"></a>00059 <a name="l00066"></a>00066 <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="l00067"></a>00067 <a name="l00070"></a>00070 <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="l00071"></a>00071 <a name="l00074"></a>00074 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isAxisBinned ( <span class="keyword">const</span> std::string & axis ) <span class="keyword">const</span>; <a name="l00075"></a>00075 <a name="l00078"></a>00078 <span class="keyword">const</span> std::string & getXLabel () <span class="keyword">const</span>; <a name="l00079"></a>00079 <a name="l00083"></a>00083 <span class="keyword">const</span> std::string & getYLabel ( <span class="keywordtype">bool</span> flag = <span class="keyword">false</span> ) <span class="keyword">const</span>; <a name="l00084"></a>00084 <a name="l00086"></a>00086 <span class="keywordtype">void</span> setYLabel (); <a name="l00087"></a>00087 <a name="l00089"></a>00089 <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="l00090"></a>00090 <a name="l00091"></a>00091 <span class="comment">/* The following need to be implemented. */</span> <a name="l00092"></a>00092 <span class="keyword">virtual</span> <span class="keyword">const</span> std::string & getTitle() <span class="keyword">const</span>; <a name="l00093"></a>00093 <span class="keyword">virtual</span> <span class="keywordtype">int</span> getNumberOfEntries () <span class="keyword">const</span>; <a name="l00094"></a>00094 <a name="l00095"></a>00095 <span class="comment">/* Get the underflow. */</span> <a name="l00096"></a>00096 <span class="keyword">virtual</span> <span class="keywordtype">int</span> getUnderflow () <span class="keyword">const</span>; <a name="l00097"></a>00097 <a name="l00098"></a>00098 <span class="comment">/* Get the overflow. */</span> <a name="l00099"></a>00099 <span class="keyword">virtual</span> <span class="keywordtype">int</span> getOverflow () <span class="keyword">const</span>; <a name="l00100"></a>00100 <a name="l00106"></a>00106 <span class="keyword">virtual</span> <span class="keywordtype">void</span> addValues ( <span class="keyword">const</span> std::vector < double > & v ); <a name="l00107"></a>00107 <a name="l00114"></a>00114 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setBinnerRange ( <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> axis, <a name="l00115"></a>00115 <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & range, <a name="l00116"></a>00116 <span class="keywordtype">bool</span> const_width ); <a name="l00117"></a>00117 <a name="l00121"></a>00121 <span class="keyword">virtual</span> <span class="keywordtype">void</span> reset (); <a name="l00122"></a>00122 <a name="l00123"></a>00123 }; <a name="l00124"></a>00124 <a name="l00125"></a>00125 } <span class="comment">// namespace hippodraw</span> <a name="l00126"></a>00126 <a name="l00127"></a>00127 <span class="preprocessor">#endif // _StHist1DProjector_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>