classfv_1_1ContainerMean.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.13"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>TTTT Analysis: fv::ContainerMean&lt; T &gt; Class Template Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">TTTT Analysis
  25. &#160;<span id="projectnumber">0.1</span>
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.13 -->
  34. <script type="text/javascript">
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. </script>
  37. <script type="text/javascript" src="menudata.js"></script>
  38. <script type="text/javascript" src="menu.js"></script>
  39. <script type="text/javascript">
  40. $(function() {
  41. initMenu('',true,false,'search.php','Search');
  42. $(document).ready(function() { init_search(); });
  43. });
  44. </script>
  45. <div id="main-nav"></div>
  46. <!-- window showing the filter options -->
  47. <div id="MSearchSelectWindow"
  48. onmouseover="return searchBox.OnSearchSelectShow()"
  49. onmouseout="return searchBox.OnSearchSelectHide()"
  50. onkeydown="return searchBox.OnSearchSelectKey(event)">
  51. </div>
  52. <!-- iframe showing the search results (closed by default) -->
  53. <div id="MSearchResultsWindow">
  54. <iframe src="javascript:void(0)" frameborder="0"
  55. name="MSearchResults" id="MSearchResults">
  56. </iframe>
  57. </div>
  58. <div id="nav-path" class="navpath">
  59. <ul>
  60. <li class="navelem"><a class="el" href="namespacefv.html">fv</a></li><li class="navelem"><a class="el" href="classfv_1_1ContainerMean.html">ContainerMean</a></li> </ul>
  61. </div>
  62. </div><!-- top -->
  63. <div class="header">
  64. <div class="summary">
  65. <a href="#pub-methods">Public Member Functions</a> &#124;
  66. <a href="#pri-methods">Private Member Functions</a> &#124;
  67. <a href="#pri-attribs">Private Attributes</a> &#124;
  68. <a href="classfv_1_1ContainerMean-members.html">List of all members</a> </div>
  69. <div class="headertitle">
  70. <div class="title">fv::ContainerMean&lt; T &gt; Class Template Reference</div> </div>
  71. </div><!--header-->
  72. <div class="contents">
  73. <p>Calculate the <a class="el" href="classfv_1_1Mean.html" title="Calculate the mean value of a vector. ">Mean</a> of a <a class="el" href="classfv_1_1Value.html" title="A generic value. ">Value</a> over a series of observations.
  74. <a href="classfv_1_1ContainerMean.html#details">More...</a></p>
  75. <p><code>#include &lt;<a class="el" href="container_8hpp_source.html">container.hpp</a>&gt;</code></p>
  76. <div class="dynheader">
  77. Inheritance diagram for fv::ContainerMean&lt; T &gt;:</div>
  78. <div class="dyncontent">
  79. <div class="center"><img src="classfv_1_1ContainerMean__inherit__graph.png" border="0" usemap="#fv_1_1ContainerMean_3_01T_01_4_inherit__map" alt="Inheritance graph"/></div>
  80. <map name="fv_1_1ContainerMean_3_01T_01_4_inherit__map" id="fv_1_1ContainerMean_3_01T_01_4_inherit__map">
  81. <area shape="rect" id="node2" href="classfv_1_1Container.html" title="fv::Container\&lt; T \&gt;" alt="" coords="23,80,166,107"/>
  82. <area shape="rect" id="node3" href="classfv_1_1GenContainer.html" title="Generic, untyped parent class of Container. " alt="" coords="29,5,160,32"/>
  83. </map>
  84. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  85. <div class="dynheader">
  86. Collaboration diagram for fv::ContainerMean&lt; T &gt;:</div>
  87. <div class="dyncontent">
  88. <div class="center"><img src="classfv_1_1ContainerMean__coll__graph.png" border="0" usemap="#fv_1_1ContainerMean_3_01T_01_4_coll__map" alt="Collaboration graph"/></div>
  89. <map name="fv_1_1ContainerMean_3_01T_01_4_coll__map" id="fv_1_1ContainerMean_3_01T_01_4_coll__map">
  90. <area shape="rect" id="node2" href="classfv_1_1Container.html" title="fv::Container\&lt; T \&gt;" alt="" coords="23,80,166,107"/>
  91. <area shape="rect" id="node3" href="classfv_1_1GenContainer.html" title="Generic, untyped parent class of Container. " alt="" coords="29,5,160,32"/>
  92. </map>
  93. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  94. <table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  96. Public Member Functions</h2></td></tr>
  97. <tr class="memitem:a6a577d9ee5d9aeff0918d192974262e1"><td class="memItemLeft" align="right" valign="top"><a id="a6a577d9ee5d9aeff0918d192974262e1"></a>
  98. &#160;</td><td class="memItemRight" valign="bottom"><b>ContainerMean</b> (const std::string &amp;name, <a class="el" href="classfv_1_1Value.html">Value</a>&lt; T &gt; *value)</td></tr>
  99. <tr class="separator:a6a577d9ee5d9aeff0918d192974262e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:ad02d976b076e3fb6ad3bb15eb35406d4"><td class="memItemLeft" align="right" valign="top"><a id="ad02d976b076e3fb6ad3bb15eb35406d4"></a>
  101. T *&#160;</td><td class="memItemRight" valign="bottom"><b>get_container</b> ()</td></tr>
  102. <tr class="separator:ad02d976b076e3fb6ad3bb15eb35406d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a9fa3d582ae665ea4f5ee1c7215fe0ff0"><td class="memItemLeft" align="right" valign="top"><a id="a9fa3d582ae665ea4f5ee1c7215fe0ff0"></a>
  104. void&#160;</td><td class="memItemRight" valign="bottom"><b>save_as</b> (const std::string &amp;fname)</td></tr>
  105. <tr class="separator:a9fa3d582ae665ea4f5ee1c7215fe0ff0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="inherit_header pub_methods_classfv_1_1Container"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classfv_1_1Container')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classfv_1_1Container.html">fv::Container&lt; T &gt;</a></td></tr>
  107. <tr class="memitem:af182df68521c2b1f61f5b6c330508255 inherit pub_methods_classfv_1_1Container"><td class="memItemLeft" align="right" valign="top"><a id="af182df68521c2b1f61f5b6c330508255"></a>
  108. &#160;</td><td class="memItemRight" valign="bottom"><b>Container</b> (const std::string &amp;name, T *container)</td></tr>
  109. <tr class="separator:af182df68521c2b1f61f5b6c330508255 inherit pub_methods_classfv_1_1Container"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="inherit_header pub_methods_classfv_1_1GenContainer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classfv_1_1GenContainer')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classfv_1_1GenContainer.html">fv::GenContainer</a></td></tr>
  111. <tr class="memitem:acd03ede0e7e0cf362011e5614c787c7b inherit pub_methods_classfv_1_1GenContainer"><td class="memItemLeft" align="right" valign="top"><a id="acd03ede0e7e0cf362011e5614c787c7b"></a>
  112. &#160;</td><td class="memItemRight" valign="bottom"><b>GenContainer</b> (const std::string name, const std::string &amp;desc)</td></tr>
  113. <tr class="separator:acd03ede0e7e0cf362011e5614c787c7b inherit pub_methods_classfv_1_1GenContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a34630bea6b7a4f97507420997122ae38 inherit pub_methods_classfv_1_1GenContainer"><td class="memItemLeft" align="right" valign="top"><a id="a34630bea6b7a4f97507420997122ae38"></a>
  115. &#160;</td><td class="memItemRight" valign="bottom"><b>GenContainer</b> (const std::string name)</td></tr>
  116. <tr class="separator:a34630bea6b7a4f97507420997122ae38 inherit pub_methods_classfv_1_1GenContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:ade39779eaf5f1b09c190ac58bd27f1c6 inherit pub_methods_classfv_1_1GenContainer"><td class="memItemLeft" align="right" valign="top"><a id="ade39779eaf5f1b09c190ac58bd27f1c6"></a>
  118. <a class="el" href="classfv_1_1GenContainer.html">GenContainer</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>add_filter</b> (GenValue *filter)</td></tr>
  119. <tr class="separator:ade39779eaf5f1b09c190ac58bd27f1c6 inherit pub_methods_classfv_1_1GenContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:af9b35ceab9c8238f0d7b51174a28aad9 inherit pub_methods_classfv_1_1GenContainer"><td class="memItemLeft" align="right" valign="top"><a id="af9b35ceab9c8238f0d7b51174a28aad9"></a>
  121. void&#160;</td><td class="memItemRight" valign="bottom"><b>fill</b> ()</td></tr>
  122. <tr class="separator:af9b35ceab9c8238f0d7b51174a28aad9 inherit pub_methods_classfv_1_1GenContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a58d3266f1dad3fa9b6caa9fdacb57323 inherit pub_methods_classfv_1_1GenContainer"><td class="memItemLeft" align="right" valign="top"><a id="a58d3266f1dad3fa9b6caa9fdacb57323"></a>
  124. void&#160;</td><td class="memItemRight" valign="bottom"><b>set_description</b> (const std::string &amp;description)</td></tr>
  125. <tr class="separator:a58d3266f1dad3fa9b6caa9fdacb57323 inherit pub_methods_classfv_1_1GenContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:ad21df0a48fca797ff0cc9fec6a0d46f9 inherit pub_methods_classfv_1_1GenContainer"><td class="memItemLeft" align="right" valign="top"><a id="ad21df0a48fca797ff0cc9fec6a0d46f9"></a>
  127. const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>get_name</b> ()</td></tr>
  128. <tr class="separator:ad21df0a48fca797ff0cc9fec6a0d46f9 inherit pub_methods_classfv_1_1GenContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a9c4dd0c4bf7017525c2091f356d67d50 inherit pub_methods_classfv_1_1GenContainer"><td class="memItemLeft" align="right" valign="top"><a id="a9c4dd0c4bf7017525c2091f356d67d50"></a>
  130. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>save_as</b> (const std::string &amp;fname, const <a class="el" href="namespacefv.html#a16a191c4b8935d4c7c5aad79fc4ea97e">SaveOption</a> &amp;option)=0</td></tr>
  131. <tr class="separator:a9c4dd0c4bf7017525c2091f356d67d50 inherit pub_methods_classfv_1_1GenContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a092468704245618c0f4e2faf0f0a5efd inherit pub_methods_classfv_1_1GenContainer"><td class="memItemLeft" align="right" valign="top"><a id="a092468704245618c0f4e2faf0f0a5efd"></a>
  133. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>save</b> (const <a class="el" href="namespacefv.html#a16a191c4b8935d4c7c5aad79fc4ea97e">SaveOption</a> &amp;option=SaveOption::PNG)</td></tr>
  134. <tr class="separator:a092468704245618c0f4e2faf0f0a5efd inherit pub_methods_classfv_1_1GenContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. </table><table class="memberdecls">
  136. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
  137. Private Member Functions</h2></td></tr>
  138. <tr class="memitem:a5f6d834f6490729852fb807feb775a75"><td class="memItemLeft" align="right" valign="top"><a id="a5f6d834f6490729852fb807feb775a75"></a>
  139. void&#160;</td><td class="memItemRight" valign="bottom"><b>_fill</b> ()</td></tr>
  140. <tr class="separator:a5f6d834f6490729852fb807feb775a75"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. </table><table class="memberdecls">
  142. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  143. Private Attributes</h2></td></tr>
  144. <tr class="memitem:aa772cde78fd0971d1ebba909aff491c1"><td class="memItemLeft" align="right" valign="top"><a id="aa772cde78fd0971d1ebba909aff491c1"></a>
  145. <a class="el" href="classfv_1_1Value.html">Value</a>&lt; T &gt; *&#160;</td><td class="memItemRight" valign="bottom"><b>value</b></td></tr>
  146. <tr class="separator:aa772cde78fd0971d1ebba909aff491c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a39cdef23a358ab46173eaa588e59ce49"><td class="memItemLeft" align="right" valign="top"><a id="a39cdef23a358ab46173eaa588e59ce49"></a>
  148. int&#160;</td><td class="memItemRight" valign="bottom"><b>count</b></td></tr>
  149. <tr class="separator:a39cdef23a358ab46173eaa588e59ce49"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:ac85f2f56241ebf5099784250288c585b"><td class="memItemLeft" align="right" valign="top"><a id="ac85f2f56241ebf5099784250288c585b"></a>
  151. T&#160;</td><td class="memItemRight" valign="bottom"><b>sum</b></td></tr>
  152. <tr class="separator:ac85f2f56241ebf5099784250288c585b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. </table><table class="memberdecls">
  154. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  155. Additional Inherited Members</h2></td></tr>
  156. <tr class="inherit_header pro_attribs_classfv_1_1Container"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classfv_1_1Container')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classfv_1_1Container.html">fv::Container&lt; T &gt;</a></td></tr>
  157. <tr class="memitem:aa5e74e62f69e756cad950fdc94e9a8c0 inherit pro_attribs_classfv_1_1Container"><td class="memItemLeft" align="right" valign="top"><a id="aa5e74e62f69e756cad950fdc94e9a8c0"></a>
  158. T *&#160;</td><td class="memItemRight" valign="bottom"><b>container</b></td></tr>
  159. <tr class="separator:aa5e74e62f69e756cad950fdc94e9a8c0 inherit pro_attribs_classfv_1_1Container"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. </table>
  161. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  162. <div class="textblock"><h3>template&lt;typename T&gt;<br />
  163. class fv::ContainerMean&lt; T &gt;</h3>
  164. <p>Calculate the <a class="el" href="classfv_1_1Mean.html" title="Calculate the mean value of a vector. ">Mean</a> of a <a class="el" href="classfv_1_1Value.html" title="A generic value. ">Value</a> over a series of observations. </p>
  165. <p>This class is given a value of some type that supports addition and division(eg. a <code>float</code>) and yields the mean value. Note that this implementation does not support serialization so it is not incredibly useful. See the ROOT Containers for Containers that support serialization using ROOT's facilities. </p>
  166. </div><hr/>The documentation for this class was generated from the following file:<ul>
  167. <li>/home/caleb/Sources/TTTT/filval/<a class="el" href="container_8hpp_source.html">container.hpp</a></li>
  168. </ul>
  169. </div><!-- contents -->
  170. <!-- start footer part -->
  171. <hr class="footer"/><address class="footer"><small>
  172. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  173. <img class="footer" src="doxygen.png" alt="doxygen"/>
  174. </a> 1.8.13
  175. </small></address>
  176. </body>
  177. </html>