| 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: TrkCuts/TrkRigGeoCut/TrkRigGeoCut.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 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 List</span></a></li> |
| 19 |
|
|
<li><a href="globals.html"><span>File Members</span></a></li> |
| 20 |
|
|
</ul> |
| 21 |
|
|
</div> |
| 22 |
|
|
<h1>TrkCuts/TrkRigGeoCut/TrkRigGeoCut.h</h1><a href="TrkRigGeoCut_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"> * TrkRigGeoCut.h</span> |
| 24 |
|
|
<a name="l00003"></a>00003 <span class="comment"> *</span> |
| 25 |
|
|
<a name="l00004"></a>00004 <span class="comment"> * Created on: 25-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</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 TRKRIGGEOCUT_H_</span> |
| 31 |
|
|
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define TRKRIGGEOCUT_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="l00023"></a><a class="code" href="classTrkRigGeoCut.html">00023</a> <span class="keyword">class </span><a class="code" href="classTrkRigGeoCut.html" title="The geomagnetic rigidity cut. This cut discards an event whose rigidity modulus is...">TrkRigGeoCut</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="l00024"></a>00024 |
| 37 |
|
|
<a name="l00025"></a>00025 <span class="keyword">public</span>: |
| 38 |
|
|
<a name="l00031"></a><a class="code" href="classTrkRigGeoCut.html#00e54e0aade802c1c44fcfde47e905d6">00031</a> <a class="code" href="classTrkRigGeoCut.html#00e54e0aade802c1c44fcfde47e905d6" title="Constructor.">TrkRigGeoCut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cutName, <span class="keywordtype">float</span> thresholdCoeff) : |
| 39 |
|
|
<a name="l00032"></a>00032 <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a>(cutName), <a class="code" href="classTrkRigGeoCut.html#e9361bca574d1dfefd9b3beabc7aa268">_thresholdCoeff</a>(thresholdCoeff) { |
| 40 |
|
|
<a name="l00033"></a>00033 } |
| 41 |
|
|
<a name="l00035"></a><a class="code" href="classTrkRigGeoCut.html#074e6ecf968a39447bc868a79da213c7">00035</a> <a class="code" href="classTrkRigGeoCut.html#074e6ecf968a39447bc868a79da213c7" title="Destructor.">~TrkRigGeoCut</a>() { |
| 42 |
|
|
<a name="l00036"></a>00036 } |
| 43 |
|
|
<a name="l00037"></a>00037 |
| 44 |
|
|
<a name="l00045"></a>00045 <span class="keywordtype">int</span> <a class="code" href="classTrkRigGeoCut.html#d334792be6ca66d01d75bb2f86a57382" title="The rigidity check.">Check</a>(PamLevel2 *event); |
| 45 |
|
|
<a name="l00046"></a>00046 |
| 46 |
|
|
<a name="l00048"></a><a class="code" href="classTrkRigGeoCut.html#5b3e2d3037d140ae852bd02975842eb4">00048</a> <span class="keywordtype">float</span> <a class="code" href="classTrkRigGeoCut.html#5b3e2d3037d140ae852bd02975842eb4" title="Returns the threshold coefficient.">GetThresholdCoeff</a>(){ |
| 47 |
|
|
<a name="l00049"></a>00049 <span class="keywordflow">return</span> <a class="code" href="classTrkRigGeoCut.html#e9361bca574d1dfefd9b3beabc7aa268">_thresholdCoeff</a>; |
| 48 |
|
|
<a name="l00050"></a>00050 } |
| 49 |
|
|
<a name="l00051"></a>00051 |
| 50 |
|
|
<a name="l00052"></a>00052 <span class="keyword">private</span>: |
| 51 |
|
|
<a name="l00053"></a>00053 |
| 52 |
|
|
<a name="l00054"></a><a class="code" href="classTrkRigGeoCut.html#e9361bca574d1dfefd9b3beabc7aa268">00054</a> <span class="keywordtype">float</span> <a class="code" href="classTrkRigGeoCut.html#e9361bca574d1dfefd9b3beabc7aa268">_thresholdCoeff</a>; |
| 53 |
|
|
<a name="l00055"></a>00055 |
| 54 |
|
|
<a name="l00056"></a>00056 }; |
| 55 |
|
|
<a name="l00057"></a>00057 |
| 56 |
|
|
<a name="l00058"></a>00058 <span class="preprocessor">#endif </span><span class="comment">/* TRKRIGGEOCUT_H_ */</span> |
| 57 |
|
|
</pre></div></div> |
| 58 |
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:27 2009 for PamCut by |
| 59 |
|
|
<a href="http://www.doxygen.org/index.html"> |
| 60 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
| 61 |
|
|
</body> |
| 62 |
|
|
</html> |