-
Notifications
You must be signed in to change notification settings - Fork 0
/
_res_double_gauss_e__4_8h_source.html
111 lines (109 loc) · 17.1 KB
/
_res_double_gauss_e__4_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!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.11"/>
<title>KLFitter: include/KLFitter/ResDoubleGaussE_4.h Source File</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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</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">KLFitter
 <span id="projectnumber">v1.3.2</span>
</div>
<div id="projectbrief">Documentation of the KLFitter library -- The Kinematic Likelihood Fitter</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</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>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
</ul>
</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="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_8c11f2f0ed543956e5d99d70f8f89b79.html">KLFitter</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">ResDoubleGaussE_4.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2009--2018, the KLFitter developer team</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * This file is part of KLFitter.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * KLFitter is free software: you can redistribute it and/or modify it</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * under the terms of the GNU Lesser General Public License as published by</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * the Free Software Foundation, either version 3 of the License, or (at</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * your option) any later version.</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * KLFitter is distributed in the hope that it will be useful, but WITHOUT</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * License for more details.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * You should have received a copy of the GNU Lesser General Public License</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * along with KLFitter. If not, see <http://www.gnu.org/licenses/>.</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> */</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef KLFITTER_RESDOUBLEGAUSSE_4_H_</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define KLFITTER_RESDOUBLEGAUSSE_4_H_</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "KLFitter/ResDoubleGaussBase.h"</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">// ---------------------------------------------------------</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">namespace </span><a class="code" href="namespace_k_l_fitter.html">KLFitter</a> {</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="class_k_l_fitter_1_1_res_double_gauss_e__4.html"> 42</a></span> <span class="keyword">class </span><a class="code" href="class_k_l_fitter_1_1_res_double_gauss_e__4.html">ResDoubleGaussE_4</a> : <span class="keyword">public</span> <a class="code" href="class_k_l_fitter_1_1_res_double_gauss_base.html">ResDoubleGaussBase</a> {</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">/* @{ */</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">explicit</span> <a class="code" href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a73c8c13b5265e9c4f6e2cdb879edd26c">ResDoubleGaussE_4</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * filename);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">explicit</span> <a class="code" href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a73c8c13b5265e9c4f6e2cdb879edd26c">ResDoubleGaussE_4</a>(std::vector<double> <span class="keyword">const</span>& parameters);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a46cd013f0a3871cdc4a9583d26f7a998">~ResDoubleGaussE_4</a>();</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="comment">/* @} */</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="comment">/* @{ */</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">double</span> <a class="code" href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#aa71387656a71c72c1d6a3ba41f7119e3">GetMean1</a>(<span class="keywordtype">double</span> x) <span class="keyword">override</span>;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">double</span> <a class="code" href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a7e92007f305ed7e161452415b6f2dfaf">GetSigma1</a>(<span class="keywordtype">double</span> x) <span class="keyword">override</span>;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">double</span> <a class="code" href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a85de890a6aae98d17b8f50b7c07be7c0">GetAmplitude2</a>(<span class="keywordtype">double</span> x) <span class="keyword">override</span>;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">double</span> <a class="code" href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a535c54c81c9c55072b2233d26b51b6c9">GetMean2</a>(<span class="keywordtype">double</span> x) <span class="keyword">override</span>;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordtype">double</span> <a class="code" href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a35366ca2ae50e21d2da704d608088c2f">GetSigma2</a>(<span class="keywordtype">double</span> x) <span class="keyword">override</span>;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="comment">/* @} */</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> };</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> } <span class="comment">// namespace KLFitter</span></div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="preprocessor">#endif // KLFITTER_RESDOUBLEGAUSSE_4_H_</span></div><div class="ttc" id="class_k_l_fitter_1_1_res_double_gauss_e__4_html_a7e92007f305ed7e161452415b6f2dfaf"><div class="ttname"><a href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a7e92007f305ed7e161452415b6f2dfaf">KLFitter::ResDoubleGaussE_4::GetSigma1</a></div><div class="ttdeci">double GetSigma1(double x) override</div><div class="ttdoc">Calculate the width of the first Gaussian from the TF parameters and the value of x...</div><div class="ttdef"><b>Definition:</b> ResDoubleGaussE_4.cxx:40</div></div>
<div class="ttc" id="class_k_l_fitter_1_1_res_double_gauss_base_html"><div class="ttname"><a href="class_k_l_fitter_1_1_res_double_gauss_base.html">KLFitter::ResDoubleGaussBase</a></div><div class="ttdoc">A class describing a resolution parameterized with a double Gaussian. </div><div class="ttdef"><b>Definition:</b> ResDoubleGaussBase.h:43</div></div>
<div class="ttc" id="class_k_l_fitter_1_1_res_double_gauss_e__4_html"><div class="ttname"><a href="class_k_l_fitter_1_1_res_double_gauss_e__4.html">KLFitter::ResDoubleGaussE_4</a></div><div class="ttdoc">A class describing a resolution parameterized with a double Gaussian. </div><div class="ttdef"><b>Definition:</b> ResDoubleGaussE_4.h:42</div></div>
<div class="ttc" id="class_k_l_fitter_1_1_res_double_gauss_e__4_html_a85de890a6aae98d17b8f50b7c07be7c0"><div class="ttname"><a href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a85de890a6aae98d17b8f50b7c07be7c0">KLFitter::ResDoubleGaussE_4::GetAmplitude2</a></div><div class="ttdeci">double GetAmplitude2(double x) override</div><div class="ttdoc">Calculate the amplitude of the second Gaussian from the TF parameters and the value of x...</div><div class="ttdef"><b>Definition:</b> ResDoubleGaussE_4.cxx:45</div></div>
<div class="ttc" id="class_k_l_fitter_1_1_res_double_gauss_e__4_html_a535c54c81c9c55072b2233d26b51b6c9"><div class="ttname"><a href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a535c54c81c9c55072b2233d26b51b6c9">KLFitter::ResDoubleGaussE_4::GetMean2</a></div><div class="ttdeci">double GetMean2(double x) override</div><div class="ttdoc">Calculate the mean of the second Gaussian from the TF parameters and the value of x...</div><div class="ttdef"><b>Definition:</b> ResDoubleGaussE_4.cxx:50</div></div>
<div class="ttc" id="class_k_l_fitter_1_1_res_double_gauss_e__4_html_a73c8c13b5265e9c4f6e2cdb879edd26c"><div class="ttname"><a href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a73c8c13b5265e9c4f6e2cdb879edd26c">KLFitter::ResDoubleGaussE_4::ResDoubleGaussE_4</a></div><div class="ttdeci">ResDoubleGaussE_4(const char *filename)</div><div class="ttdoc">The default constructor. </div><div class="ttdef"><b>Definition:</b> ResDoubleGaussE_4.cxx:26</div></div>
<div class="ttc" id="class_k_l_fitter_1_1_res_double_gauss_e__4_html_a46cd013f0a3871cdc4a9583d26f7a998"><div class="ttname"><a href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a46cd013f0a3871cdc4a9583d26f7a998">KLFitter::ResDoubleGaussE_4::~ResDoubleGaussE_4</a></div><div class="ttdeci">~ResDoubleGaussE_4()</div><div class="ttdoc">The (defaulted) destructor. </div></div>
<div class="ttc" id="class_k_l_fitter_1_1_res_double_gauss_e__4_html_aa71387656a71c72c1d6a3ba41f7119e3"><div class="ttname"><a href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#aa71387656a71c72c1d6a3ba41f7119e3">KLFitter::ResDoubleGaussE_4::GetMean1</a></div><div class="ttdeci">double GetMean1(double x) override</div><div class="ttdoc">Calculate the mean of the first Gaussian from the TF parameters and the value of x. </div><div class="ttdef"><b>Definition:</b> ResDoubleGaussE_4.cxx:35</div></div>
<div class="ttc" id="class_k_l_fitter_1_1_res_double_gauss_e__4_html_a35366ca2ae50e21d2da704d608088c2f"><div class="ttname"><a href="class_k_l_fitter_1_1_res_double_gauss_e__4.html#a35366ca2ae50e21d2da704d608088c2f">KLFitter::ResDoubleGaussE_4::GetSigma2</a></div><div class="ttdeci">double GetSigma2(double x) override</div><div class="ttdoc">Calculate the width of the sedcond Gaussian from the TF parameters and the value of x...</div><div class="ttdef"><b>Definition:</b> ResDoubleGaussE_4.cxx:55</div></div>
<div class="ttc" id="namespace_k_l_fitter_html"><div class="ttname"><a href="namespace_k_l_fitter.html">KLFitter</a></div><div class="ttdoc">The KLFitter namespace. </div><div class="ttdef"><b>Definition:</b> BoostedLikelihoodTopLeptonJets.h:28</div></div>
</div><!-- fragment --></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.11
</small></address>
</body>
</html>