123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.12"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>TTTT Analysis: filval::GenValue Class Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">TTTT Analysis
-  <span id="projectnumber">0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.12 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- </script>
- <div id="main-nav"></div>
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <div id="nav-path" class="navpath">
- <ul>
- <li class="navelem"><a class="el" href="namespacefilval.html">filval</a></li><li class="navelem"><a class="el" href="classfilval_1_1GenValue.html">GenValue</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#pub-static-methods">Static Public Member Functions</a> |
- <a href="#pro-methods">Protected Member Functions</a> |
- <a href="#pro-static-attribs">Static Protected Attributes</a> |
- <a href="#pri-attribs">Private Attributes</a> |
- <a href="classfilval_1_1GenValue-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">filval::GenValue Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
- </div><!--header-->
- <div class="contents">
- <p>A type-agnostic value.
- <a href="classfilval_1_1GenValue.html#details">More...</a></p>
- <p><code>#include <<a class="el" href="value_8hpp_source.html">value.hpp</a>></code></p>
- <div class="dynheader">
- Inheritance diagram for filval::GenValue:</div>
- <div class="dyncontent">
- <div class="center"><img src="classfilval_1_1GenValue__inherit__graph.png" border="0" usemap="#filval_1_1GenValue_inherit__map" alt="Inheritance graph"/></div>
- <map name="filval_1_1GenValue_inherit__map" id="filval_1_1GenValue_inherit__map">
- <area shape="rect" id="node2" href="classfilval_1_1Value.html" title="A generic value. " alt="" coords="222,135,358,161"/>
- <area shape="rect" id="node12" href="classfilval_1_1Value.html" title="filval::Value\< bool \>" alt="" coords="212,204,368,231"/>
- <area shape="rect" id="node17" href="classfilval_1_1Value.html" title="filval::Value\< double \>" alt="" coords="204,255,376,281"/>
- <area shape="rect" id="node20" href="classfilval_1_1Value.html" title="filval::Value\< float \>" alt="" coords="211,305,369,332"/>
- <area shape="rect" id="node21" href="classfilval_1_1Value.html" title="filval::Value\< int \>" alt="" coords="217,356,363,383"/>
- <area shape="rect" id="node22" href="classfilval_1_1Value.html" title="filval::Value\< R \>" alt="" coords="221,407,359,433"/>
- <area shape="rect" id="node25" href="classfilval_1_1Value.html" title="filval::Value\< std\l::pair\< double, double \> \>" alt="" coords="192,458,388,499"/>
- <area shape="rect" id="node26" href="classfilval_1_1Value.html" title="filval::Value\< std\l::pair\< int, int \> \>" alt="" coords="219,523,361,565"/>
- <area shape="rect" id="node27" href="classfilval_1_1Value.html" title="filval::Value\< std\l::pair\< T, int \> \>" alt="" coords="223,589,357,630"/>
- <area shape="rect" id="node32" href="classfilval_1_1Value.html" title="filval::Value\< std\l::pair\< T, T \> \>" alt="" coords="223,654,357,695"/>
- <area shape="rect" id="node33" href="classfilval_1_1Value.html" title="filval::Value\< std\l::pair\< T1, T2 \> \>" alt="" coords="220,719,360,761"/>
- <area shape="rect" id="node36" href="classfilval_1_1Value.html" title="filval::Value\< std\l::vector\< R \> \>" alt="" coords="223,785,357,826"/>
- <area shape="rect" id="node39" href="classfilval_1_1Value.html" title="filval::Value\< std\l::vector\< T \> \>" alt="" coords="223,850,357,891"/>
- <area shape="rect" id="node42" href="classfilval_1_1Value.html" title="filval::Value\< T *\>" alt="" coords="219,916,361,943"/>
- <area shape="rect" id="node43" href="classfilval_1_1Value.html" title="filval::Value\< TLorentzVector \>" alt="" coords="177,967,403,993"/>
- <area shape="rect" id="node3" href="classfilval_1_1DerivedValue.html" title="A generic, derived, value. " alt="" coords="457,67,643,93"/>
- <area shape="rect" id="node11" href="classfilval_1_1ObservedValue.html" title="A generic, observed, value. " alt="" coords="451,135,649,161"/>
- <area shape="rect" id="node4" href="classfilval_1_1BoundValue.html" title="A generic value owning only a function object. " alt="" coords="706,5,883,32"/>
- <area shape="rect" id="node5" href="classfilval_1_1ConstantValue.html" title="A Value which always returns the same value, supplied in the constructor. " alt="" coords="697,56,892,83"/>
- <area shape="rect" id="node6" href="classfilval_1_1Reduce.html" title="Reduce a Value of type vector<T> to just a T. " alt="" coords="721,107,868,133"/>
- <area shape="rect" id="node7" href="classfilval_1_1ElementOf.html" title="Extract the element at a specific index from a vector. " alt="" coords="942,5,1111,32"/>
- <area shape="rect" id="node8" href="classfilval_1_1Max.html" title="Find and return the maximum value of a vector. " alt="" coords="963,56,1090,83"/>
- <area shape="rect" id="node9" href="classfilval_1_1Mean.html" title="Calculate the mean value of a vector. " alt="" coords="959,107,1094,133"/>
- <area shape="rect" id="node10" href="classfilval_1_1Min.html" title="Find and return the minimum value of a vector. " alt="" coords="965,157,1088,184"/>
- <area shape="rect" id="node13" href="classfilval_1_1DerivedValue.html" title="filval::DerivedValue\l\< bool \>" alt="" coords="475,197,625,238"/>
- <area shape="rect" id="node14" href="classfilval_1_1Filter.html" title="filval::Filter" alt="" coords="747,208,842,235"/>
- <area shape="rect" id="node15" href="classfilval_1_1RangeFilter.html" title="filval::RangeFilter\< T \>" alt="" coords="940,208,1113,235"/>
- <area shape="rect" id="node16" href="classfilval_1_1root_1_1MassFilter.html" title="filval::root::MassFilter" alt="" coords="946,259,1107,285"/>
- <area shape="rect" id="node18" href="classfilval_1_1DerivedValue.html" title="filval::DerivedValue\l\< double \>" alt="" coords="475,262,625,303"/>
- <area shape="rect" id="node19" href="classfilval_1_1root_1_1LorentzVectorEnergy.html" title="filval::root::LorentzVector\lEnergy" alt="" coords="702,262,887,303"/>
- <area shape="rect" id="node23" href="classfilval_1_1DerivedValue.html" title="filval::DerivedValue\< R \>" alt="" coords="456,407,644,433"/>
- <area shape="rect" id="node24" href="classfilval_1_1MultiFunc.html" title="A variadic. " alt="" coords="727,399,862,441"/>
- <area shape="rect" id="node28" href="classfilval_1_1DerivedValue.html" title="filval::DerivedValue\l\< std::pair\< T, int \> \>" alt="" coords="466,589,634,630"/>
- <area shape="rect" id="node29" href="classfilval_1_1ReduceIndex.html" title="Similar to Reduce, but returns a pair of a T and an int. " alt="" coords="703,596,886,623"/>
- <area shape="rect" id="node30" href="classfilval_1_1MaxIndex.html" title="Find and return the maximum value of a vector and its index. " alt="" coords="945,571,1108,597"/>
- <area shape="rect" id="node31" href="classfilval_1_1MinIndex.html" title="Find and return the minimum value of a vector and its index. " alt="" coords="947,621,1106,648"/>
- <area shape="rect" id="node34" href="classfilval_1_1DerivedValue.html" title="filval::DerivedValue\l\< std::pair\< T1, T2 \> \>" alt="" coords="463,719,637,761"/>
- <area shape="rect" id="node35" href="classfilval_1_1Pair.html" title="Creates a std::pair type from a two other Value objects. " alt="" coords="717,727,873,753"/>
- <area shape="rect" id="node37" href="classfilval_1_1DerivedValue.html" title="filval::DerivedValue\l\< std::vector\< R \> \>" alt="" coords="470,785,630,826"/>
- <area shape="rect" id="node38" href="classfilval_1_1ZipMapFour.html" title="Takes a set of four Value<std::vector<T> > objects and a function of four Ts and returns a std::vecto..." alt="" coords="725,785,864,826"/>
- <area shape="rect" id="node40" href="classfilval_1_1DerivedValue.html" title="filval::DerivedValue\l\< std::vector\< T \> \>" alt="" coords="471,850,629,891"/>
- <area shape="rect" id="node41" href="classfilval_1_1WrapperVector.html" title="A std::vector wrapper around a C-style array. " alt="" coords="697,857,892,884"/>
- <area shape="rect" id="node44" href="classfilval_1_1DerivedValue.html" title="filval::DerivedValue\l\< TLorentzVector \>" alt="" coords="475,959,625,1001"/>
- <area shape="rect" id="node45" href="classfilval_1_1root_1_1LorentzVector.html" title="filval::root::LorentzVector" alt="" coords="702,967,887,993"/>
- </map>
- <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr class="memitem:a8e966db95add619c6d85defcb4c866d7"><td class="memItemLeft" align="right" valign="top"><a id="a8e966db95add619c6d85defcb4c866d7"></a>
-  </td><td class="memItemRight" valign="bottom"><b>GenValue</b> (const std::string &<a class="el" href="classfilval_1_1GenValue.html#a007e38c03ee041c2a657afa3d6e91ab1">name</a>)</td></tr>
- <tr class="separator:a8e966db95add619c6d85defcb4c866d7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a38cdc9588f97cb1c5f4ae1c2f8fa326a"><td class="memItemLeft" align="right" valign="top"><a id="a38cdc9588f97cb1c5f4ae1c2f8fa326a"></a>
- const std::string & </td><td class="memItemRight" valign="bottom"><b>get_name</b> ()</td></tr>
- <tr class="separator:a38cdc9588f97cb1c5f4ae1c2f8fa326a"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
- Static Public Member Functions</h2></td></tr>
- <tr class="memitem:a6a12aa2c8b6a99573e0fa996f37dd13a"><td class="memItemLeft" align="right" valign="top"><a id="a6a12aa2c8b6a99573e0fa996f37dd13a"></a>
- static void </td><td class="memItemRight" valign="bottom"><b>reset</b> ()</td></tr>
- <tr class="separator:a6a12aa2c8b6a99573e0fa996f37dd13a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a14659bc5b321f5b914cd911b229f40ef"><td class="memItemLeft" align="right" valign="top"><a id="a14659bc5b321f5b914cd911b229f40ef"></a>
- static <a class="el" href="classfilval_1_1GenValue.html">GenValue</a> * </td><td class="memItemRight" valign="bottom"><b>get_value</b> (const std::string &<a class="el" href="classfilval_1_1GenValue.html#a007e38c03ee041c2a657afa3d6e91ab1">name</a>)</td></tr>
- <tr class="separator:a14659bc5b321f5b914cd911b229f40ef"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0fc8de3214f885848f2f5761dc0800b7"><td class="memItemLeft" align="right" valign="top"><a id="a0fc8de3214f885848f2f5761dc0800b7"></a>
- static void </td><td class="memItemRight" valign="bottom"><b>summary</b> ()</td></tr>
- <tr class="separator:a0fc8de3214f885848f2f5761dc0800b7"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
- Protected Member Functions</h2></td></tr>
- <tr class="memitem:ae9d5bd9fde2d04f6cd05d5b901a8c78a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfilval_1_1GenValue.html#ae9d5bd9fde2d04f6cd05d5b901a8c78a">_reset</a> ()=0</td></tr>
- <tr class="memdesc:ae9d5bd9fde2d04f6cd05d5b901a8c78a"><td class="mdescLeft"> </td><td class="mdescRight">Mark the internal value as invalid. <a href="#ae9d5bd9fde2d04f6cd05d5b901a8c78a">More...</a><br /></td></tr>
- <tr class="separator:ae9d5bd9fde2d04f6cd05d5b901a8c78a"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
- Static Protected Attributes</h2></td></tr>
- <tr class="memitem:aa94f38a80f5a127bf3df33ad53198e57"><td class="memItemLeft" align="right" valign="top">static std::map< const std::string, <a class="el" href="classfilval_1_1GenValue.html">GenValue</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classfilval_1_1GenValue.html#aa94f38a80f5a127bf3df33ad53198e57">values</a></td></tr>
- <tr class="memdesc:aa94f38a80f5a127bf3df33ad53198e57"><td class="mdescLeft"> </td><td class="mdescRight">A static mapping containing all created <a class="el" href="classfilval_1_1Value.html" title="A generic value. ">Value</a> objects. <a href="#aa94f38a80f5a127bf3df33ad53198e57">More...</a><br /></td></tr>
- <tr class="separator:aa94f38a80f5a127bf3df33ad53198e57"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
- Private Attributes</h2></td></tr>
- <tr class="memitem:a007e38c03ee041c2a657afa3d6e91ab1"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classfilval_1_1GenValue.html#a007e38c03ee041c2a657afa3d6e91ab1">name</a></td></tr>
- <tr class="memdesc:a007e38c03ee041c2a657afa3d6e91ab1"><td class="mdescLeft"> </td><td class="mdescRight">The name of the value. <a href="#a007e38c03ee041c2a657afa3d6e91ab1">More...</a><br /></td></tr>
- <tr class="separator:a007e38c03ee041c2a657afa3d6e91ab1"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><p>A type-agnostic value. </p>
- <p>It is necessary to create a type-agnostic parent class to <a class="el" href="classfilval_1_1Value.html" title="A generic value. ">Value</a> so that it is possible to handle collections of them. <a class="el" href="classfilval_1_1GenValue.html" title="A type-agnostic value. ">GenValue</a> also provides the rest of the type-independent interface to <a class="el" href="classfilval_1_1Value.html" title="A generic value. ">Value</a>. </p>
- </div><h2 class="groupheader">Member Function Documentation</h2>
- <a id="ae9d5bd9fde2d04f6cd05d5b901a8c78a"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ae9d5bd9fde2d04f6cd05d5b901a8c78a">§ </a></span>_reset()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">virtual void filval::GenValue::_reset </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Mark the internal value as invalid. </p>
- <p>This is needed for <a class="el" href="classfilval_1_1DerivedValue.html" title="A generic, derived, value. ">DerivedValue</a> to force a recalculation of the internal value when a new observation is loaded into memory. It is called automatically for all <a class="el" href="classfilval_1_1GenValue.html" title="A type-agnostic value. ">GenValue</a> objects when reset is called. </p>
- <p>Implemented in <a class="el" href="classfilval_1_1DerivedValue.html#a07fef8f98ae4b47e2c4d0f467aa0d6e3">filval::DerivedValue< T ></a>, <a class="el" href="classfilval_1_1DerivedValue.html#a07fef8f98ae4b47e2c4d0f467aa0d6e3">filval::DerivedValue< double ></a>, <a class="el" href="classfilval_1_1DerivedValue.html#a07fef8f98ae4b47e2c4d0f467aa0d6e3">filval::DerivedValue< R ></a>, <a class="el" href="classfilval_1_1DerivedValue.html#a07fef8f98ae4b47e2c4d0f467aa0d6e3">filval::DerivedValue< std::vector< R > ></a>, <a class="el" href="classfilval_1_1DerivedValue.html#a07fef8f98ae4b47e2c4d0f467aa0d6e3">filval::DerivedValue< std::vector< T > ></a>, <a class="el" href="classfilval_1_1DerivedValue.html#a07fef8f98ae4b47e2c4d0f467aa0d6e3">filval::DerivedValue< TLorentzVector ></a>, <a class="el" href="classfilval_1_1DerivedValue.html#a07fef8f98ae4b47e2c4d0f467aa0d6e3">filval::DerivedValue< std::pair< T1, T2 > ></a>, <a class="el" href="classfilval_1_1DerivedValue.html#a07fef8f98ae4b47e2c4d0f467aa0d6e3">filval::DerivedValue< bool ></a>, <a class="el" href="classfilval_1_1DerivedValue.html#a07fef8f98ae4b47e2c4d0f467aa0d6e3">filval::DerivedValue< std::pair< T, int > ></a>, and <a class="el" href="classfilval_1_1ObservedValue.html#a68c4fc1eb89682c7b16d2d46874f5421">filval::ObservedValue< T ></a>.</p>
- </div>
- </div>
- <h2 class="groupheader">Member Data Documentation</h2>
- <a id="a007e38c03ee041c2a657afa3d6e91ab1"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a007e38c03ee041c2a657afa3d6e91ab1">§ </a></span>name</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">std::string filval::GenValue::name</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>The name of the value. </p>
- <p>This is used to allow for dynamic lookup of values based on their name via GenValue::get_value. </p>
- </div>
- </div>
- <a id="aa94f38a80f5a127bf3df33ad53198e57"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aa94f38a80f5a127bf3df33ad53198e57">§ </a></span>values</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">std::map<const std::string, <a class="el" href="classfilval_1_1GenValue.html">GenValue</a>*> filval::GenValue::values</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>A static mapping containing all created <a class="el" href="classfilval_1_1Value.html" title="A generic value. ">Value</a> objects. </p>
- <p>Every value object must have a unique name, and this name is used as a key in values to that object. This is used to enable more dynamic creation of objects as well as avoiding the uneccesary passing of pointers. </p>
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following file:<ul>
- <li>/home/caleb/Sources/TTTT/filval/<a class="el" href="value_8hpp_source.html">value.hpp</a></li>
- </ul>
- </div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.12
- </small></address>
- </body>
- </html>
|