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

Contents of /PamCut/doc/Doxygen/html/RigFillCut_8h_source.html

Parent Directory Parent Directory | Revision Log Revision Log


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

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: TrkCuts/RigFillCut/RigFillCut.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>TrkCuts/RigFillCut/RigFillCut.h</h1><a href="RigFillCut_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"> * RigFillCut.h</span>
24 <a name="l00003"></a>00003 <span class="comment"> *</span>
25 <a name="l00004"></a>00004 <span class="comment"> * Created on: 27-mar-2009</span>
26 <a name="l00005"></a>00005 <span class="comment"> * Author: Nicola Mori, S. Ricciarini</span>
27 <a name="l00006"></a>00006 <span class="comment"> * Last update: 30-apr-2009</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 RIGFILLCUT_H_</span>
31 <a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define RIGFILLCUT_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="l00017"></a><a class="code" href="RigFillCut_8h.html#7ea9d9857d7f7dc01a217d60fc93ebc4">00017</a> <span class="keyword">enum</span> <a class="code" href="RigFillCut_8h.html#7ea9d9857d7f7dc01a217d60fc93ebc4">RIGFILL_return</a> {
36 <a name="l00018"></a><a class="code" href="RigFillCut_8h.html#7ea9d9857d7f7dc01a217d60fc93ebc4277656d13d84afccc03957b79674e573">00018</a> <a class="code" href="RigFillCut_8h.html#7ea9d9857d7f7dc01a217d60fc93ebc4277656d13d84afccc03957b79674e573" title="Event is discarded because its rigidity is outside the rigidity binning limits.">RIGOUT</a>,
37 <a name="l00019"></a><a class="code" href="RigFillCut_8h.html#7ea9d9857d7f7dc01a217d60fc93ebc42732da7410302fac27f6e86017ece272">00019</a> <a class="code" href="RigFillCut_8h.html#7ea9d9857d7f7dc01a217d60fc93ebc42732da7410302fac27f6e86017ece272" title="Event is discarded because its threshold rigidity is outside the threshold rigidity...">THRESHRIGOUT</a>
38 <a name="l00020"></a>00020 };
39 <a name="l00021"></a>00021
40 <a name="l00037"></a><a class="code" href="classRigFillCut.html">00037</a> <span class="keyword">class </span><a class="code" href="classRigFillCut.html" title="The rigidity vs threshold rigidity histogram filling.">RigFillCut</a>: <span class="keyword">public</span> <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a> {
41 <a name="l00038"></a>00038
42 <a name="l00039"></a>00039 <span class="keyword">public</span>:
43 <a name="l00051"></a><a class="code" href="classRigFillCut.html#db50b4fec5f11499db9039baea8a4392">00051</a> <a class="code" href="classRigFillCut.html#db50b4fec5f11499db9039baea8a4392" title="Constructor.">RigFillCut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cutName, std::vector&lt;float&gt; binning, <span class="keywordtype">float</span> thresholdCoeff) :
44 <a name="l00052"></a>00052 <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a>(cutName), <a class="code" href="classRigFillCut.html#24c7fece1b02c4222dc2fd9d0d13bcc0">_binning</a>(binning), <a class="code" href="classRigFillCut.html#9c0b18d019325388ab4d99cd304a5909">_histogram</a>(binning.size() - 1, binning.size() - 1, 0),
45 <a name="l00053"></a>00053 <a class="code" href="classRigFillCut.html#5634e95eb75291fd866f995a324a3a0a">_thresholdCoeff</a>(thresholdCoeff) {
46 <a name="l00054"></a>00054 }
47 <a name="l00055"></a>00055
48 <a name="l00057"></a><a class="code" href="classRigFillCut.html#3e1f3f9df6e8c684060ccd76da9edaad">00057</a> <a class="code" href="classRigFillCut.html#3e1f3f9df6e8c684060ccd76da9edaad" title="Destructor.">~RigFillCut</a>() {
49 <a name="l00058"></a>00058 }
50 <a name="l00059"></a>00059
51 <a name="l00069"></a>00069 <span class="keywordtype">int</span> <a class="code" href="classRigFillCut.html#5441206a7a24f1f5d19dc1a64685fcd4" title="The rigidity and cutoff rigidity check.">Check</a>(PamLevel2 *event);
52 <a name="l00070"></a>00070
53 <a name="l00077"></a>00077 <span class="keywordtype">void</span> <a class="code" href="classRigFillCut.html#537f1b31f208ebe8f190f254be1fdc6c" title="The histogram filling.">OnGood</a>(PamLevel2 *event);
54 <a name="l00078"></a>00078
55 <a name="l00086"></a><a class="code" href="classRigFillCut.html#532f3bb2e39f3c9da3a70e72eae8389d">00086</a> <a class="code" href="classSimpleMatrix.html">SimpleMatrix&lt;UInt_t&gt;</a> &amp;<a class="code" href="classRigFillCut.html#532f3bb2e39f3c9da3a70e72eae8389d" title="Returns the histogram.">GetHisto</a>() {
56 <a name="l00087"></a>00087 <span class="keywordflow">return</span> <a class="code" href="classRigFillCut.html#9c0b18d019325388ab4d99cd304a5909">_histogram</a>;
57 <a name="l00088"></a>00088 }
58 <a name="l00089"></a>00089
59 <a name="l00090"></a>00090 <span class="keyword">private</span>:
60 <a name="l00091"></a>00091
61 <a name="l00092"></a><a class="code" href="classRigFillCut.html#24c7fece1b02c4222dc2fd9d0d13bcc0">00092</a> std::vector&lt;float&gt; <a class="code" href="classRigFillCut.html#24c7fece1b02c4222dc2fd9d0d13bcc0">_binning</a>;
62 <a name="l00093"></a><a class="code" href="classRigFillCut.html#9c0b18d019325388ab4d99cd304a5909">00093</a> <a class="code" href="classSimpleMatrix.html">SimpleMatrix&lt;UInt_t&gt;</a> <a class="code" href="classRigFillCut.html#9c0b18d019325388ab4d99cd304a5909">_histogram</a>;
63 <a name="l00094"></a><a class="code" href="classRigFillCut.html#5634e95eb75291fd866f995a324a3a0a">00094</a> <span class="keywordtype">float</span> <a class="code" href="classRigFillCut.html#5634e95eb75291fd866f995a324a3a0a">_thresholdCoeff</a>;
64 <a name="l00095"></a>00095 };
65 <a name="l00096"></a>00096 <span class="preprocessor">#endif </span><span class="comment">/* RIGFILLCUT_H_ */</span>
66 </pre></div></div>
67 <hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:27 2009 for PamCut by&nbsp;
68 <a href="http://www.doxygen.org/index.html">
69 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
70 </body>
71 </html>

  ViewVC Help
Powered by ViewVC 1.1.23