/[PAMELA software]/PamCut/doc/Doxygen/html/LTGeoFillCut_8h_source.html
ViewVC logotype

Annotation of /PamCut/doc/Doxygen/html/LTGeoFillCut_8h_source.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Wed May 27 13:30:06 2009 UTC (15 years, 10 months ago) by pam-fi
Branch: MAIN
Branch point for: DEV
File MIME type: text/html
Initial revision

1 pam-fi 1.1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2     <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3     <title>PamCut: MiscCuts/LTGeoFillCut/LTGeoFillCut.h Source File</title>
4     <link href="tabs.css" rel="stylesheet" type="text/css">
5     <link href="doxygen.css" rel="stylesheet" type="text/css">
6     </head><body>
7     <!-- Generated by Doxygen 1.5.9 -->
8     <div class="navigation" id="top">
9     <div class="tabs">
10     <ul>
11     <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12     <li><a href="annotated.html"><span>Classes</span></a></li>
13     <li class="current"><a href="files.html"><span>Files</span></a></li>
14     </ul>
15     </div>
16     <div class="tabs">
17     <ul>
18     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
19     <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
20     </ul>
21     </div>
22     <h1>MiscCuts/LTGeoFillCut/LTGeoFillCut.h</h1><a href="LTGeoFillCut_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
23     <a name="l00002"></a>00002 <span class="comment"> * LTGeoFillCut.h</span>
24     <a name="l00003"></a>00003 <span class="comment"> *</span>
25     <a name="l00004"></a>00004 <span class="comment"> * Created on: 26-mar-2009</span>
26     <a name="l00005"></a>00005 <span class="comment"> * Author: Nicola Mori</span>
27     <a name="l00006"></a>00006 <span class="comment"> * Last update: 30-apr-2009, S. Ricciarini</span>
28     <a name="l00007"></a>00007 <span class="comment"> */</span>
29     <a name="l00008"></a>00008
30     <a name="l00011"></a>00011 <span class="preprocessor">#ifndef LTGEOFILLCUT_H_</span>
31     <a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define LTGEOFILLCUT_H_</span>
32     <a name="l00013"></a>00013 <span class="preprocessor"></span>
33     <a name="l00014"></a>00014 <span class="preprocessor">#include "../../PamCutBase/PamCutBase.h"</span>
34     <a name="l00015"></a>00015
35     <a name="l00024"></a><a class="code" href="classLTGeoFillCut.html">00024</a> <span class="keyword">class </span><a class="code" href="classLTGeoFillCut.html" title="The LT histogram filling.">LTGeoFillCut</a>: <span class="keyword">public</span> <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a> {
36     <a name="l00025"></a>00025
37     <a name="l00026"></a>00026 <span class="keyword">public</span>:
38     <a name="l00036"></a><a class="code" href="classLTGeoFillCut.html#7711d90396f7c655aa4f1fee9c93f381">00036</a> <a class="code" href="classLTGeoFillCut.html#7711d90396f7c655aa4f1fee9c93f381" title="Constructor.">LTGeoFillCut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cutName, std::vector&lt;float&gt; binning, <span class="keywordtype">float</span> thresholdCoeff) :
39     <a name="l00037"></a>00037 <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a>(cutName), <a class="code" href="classLTGeoFillCut.html#b9e538c8bad153b06275b6a0fe64aab1">_binning</a>(binning), <a class="code" href="classLTGeoFillCut.html#e9aa4e0dfa6c9c0cf5e3a46162c8f2fd">_thresholdCoeff</a>(thresholdCoeff), <a class="code" href="classLTGeoFillCut.html#6195a436e7c264565b15c012209dc1d1">_histogram</a>(binning.size() - 1, 0.),
40     <a name="l00038"></a>00038 <a class="code" href="classLTGeoFillCut.html#06f64c9f800563e5ad9c68cac87e302b">_histogram_tot</a>(0.) {
41     <a name="l00039"></a>00039 }
42     <a name="l00041"></a><a class="code" href="classLTGeoFillCut.html#0c834239f22298ce5684b5c27c34c608">00041</a> <a class="code" href="classLTGeoFillCut.html#0c834239f22298ce5684b5c27c34c608" title="Destructor.">~LTGeoFillCut</a>() {
43     <a name="l00042"></a>00042 }
44     <a name="l00043"></a>00043
45     <a name="l00053"></a>00053 <span class="keywordtype">int</span> <a class="code" href="classLTGeoFillCut.html#aee811750d195e71f676db5e240e7f18" title="The threshold rigidity check.">Check</a>(PamLevel2 *event);
46     <a name="l00054"></a>00054
47     <a name="l00061"></a>00061 <span class="keywordtype">void</span> <a class="code" href="classLTGeoFillCut.html#17593f86005dd51a09a637232797c925" title="The histogram filling.">OnGood</a>(PamLevel2 *event);
48     <a name="l00062"></a>00062
49     <a name="l00072"></a><a class="code" href="classLTGeoFillCut.html#bf8cddcb826ee9d3f5f763bee0e7c1ee">00072</a> std::vector&lt;float&gt; &amp;<a class="code" href="classLTGeoFillCut.html#bf8cddcb826ee9d3f5f763bee0e7c1ee" title="Returns the histogram.">GetHisto</a>() {
50     <a name="l00073"></a>00073 <span class="keywordflow">return</span> <a class="code" href="classLTGeoFillCut.html#6195a436e7c264565b15c012209dc1d1">_histogram</a>;
51     <a name="l00074"></a>00074 }
52     <a name="l00075"></a>00075
53     <a name="l00082"></a><a class="code" href="classLTGeoFillCut.html#b055ce6da2265ba3475d77d80cd99247">00082</a> <span class="keywordtype">float</span> <a class="code" href="classLTGeoFillCut.html#b055ce6da2265ba3475d77d80cd99247" title="Returns the histogram total.">GetHistoTot</a>() {
54     <a name="l00083"></a>00083 <span class="keywordflow">return</span> <a class="code" href="classLTGeoFillCut.html#06f64c9f800563e5ad9c68cac87e302b">_histogram_tot</a>;
55     <a name="l00084"></a>00084 }
56     <a name="l00085"></a>00085
57     <a name="l00086"></a>00086 <span class="keyword">private</span>:
58     <a name="l00087"></a>00087
59     <a name="l00088"></a><a class="code" href="classLTGeoFillCut.html#b9e538c8bad153b06275b6a0fe64aab1">00088</a> std::vector&lt;float&gt; <a class="code" href="classLTGeoFillCut.html#b9e538c8bad153b06275b6a0fe64aab1">_binning</a>;
60     <a name="l00089"></a><a class="code" href="classLTGeoFillCut.html#e9aa4e0dfa6c9c0cf5e3a46162c8f2fd">00089</a> <span class="keywordtype">float</span> <a class="code" href="classLTGeoFillCut.html#e9aa4e0dfa6c9c0cf5e3a46162c8f2fd">_thresholdCoeff</a>;
61     <a name="l00090"></a>00090
62     <a name="l00091"></a><a class="code" href="classLTGeoFillCut.html#6195a436e7c264565b15c012209dc1d1">00091</a> std::vector&lt;float&gt; <a class="code" href="classLTGeoFillCut.html#6195a436e7c264565b15c012209dc1d1">_histogram</a>;
63     <a name="l00092"></a><a class="code" href="classLTGeoFillCut.html#06f64c9f800563e5ad9c68cac87e302b">00092</a> <span class="keywordtype">float</span> <a class="code" href="classLTGeoFillCut.html#06f64c9f800563e5ad9c68cac87e302b">_histogram_tot</a>;
64     <a name="l00093"></a>00093
65     <a name="l00094"></a>00094 };
66     <a name="l00095"></a>00095
67     <a name="l00096"></a>00096 <span class="preprocessor">#endif </span><span class="comment">/* LTGEOFILLCUT_H_ */</span>
68     </pre></div></div>
69     <hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:27 2009 for PamCut by&nbsp;
70     <a href="http://www.doxygen.org/index.html">
71     <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
72     </body>
73     </html>

  ViewVC Help
Powered by ViewVC 1.1.23