| 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/TrkPhSinCut/TrkPhSinCut.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/TrkPhSinCut/TrkPhSinCut.h</h1><a href="TrkPhSinCut_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"> * TrkPhSinCut.h</span> | 
| 24 | 
  | 
  | 
<a name="l00003"></a>00003 <span class="comment"> *</span> | 
| 25 | 
  | 
  | 
<a name="l00004"></a>00004 <span class="comment"> *  Created on: 13-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"> */</span> | 
| 28 | 
  | 
  | 
<a name="l00007"></a>00007  | 
| 29 | 
  | 
  | 
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef TRKPHSINCUT_H_</span> | 
| 30 | 
  | 
  | 
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define TRKPHSINCUT_H_</span> | 
| 31 | 
  | 
  | 
<a name="l00012"></a>00012 <span class="preprocessor"></span> | 
| 32 | 
  | 
  | 
<a name="l00013"></a>00013 <span class="preprocessor">#include "../../PamCutBase/PamCutBase.h"</span> | 
| 33 | 
  | 
  | 
<a name="l00014"></a>00014  | 
| 34 | 
  | 
  | 
<a name="l00019"></a><a class="code" href="classTrkPhSinCut.html">00019</a> <span class="keyword">class </span><a class="code" href="classTrkPhSinCut.html" title="The single physical track cut. Only events with a single physical track (selected...">TrkPhSinCut</a>: <span class="keyword">public</span> <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a> { | 
| 35 | 
  | 
  | 
<a name="l00020"></a>00020  | 
| 36 | 
  | 
  | 
<a name="l00021"></a>00021 <span class="keyword">public</span>: | 
| 37 | 
  | 
  | 
<a name="l00022"></a>00022  | 
| 38 | 
  | 
  | 
<a name="l00028"></a><a class="code" href="classTrkPhSinCut.html#059ae79141d4e39863874fb92bb1df6d">00028</a>   <a class="code" href="classTrkPhSinCut.html#059ae79141d4e39863874fb92bb1df6d" title="Constructor.">TrkPhSinCut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cutName, <span class="keyword">const</span> <span class="keywordtype">char</span> *sortingMethod) : | 
| 39 | 
pam-fi | 
1.2 | 
<a name="l00029"></a>00029     <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a>(cutName), _sortingMethod(sortingMethod) { | 
| 40 | 
pam-fi | 
1.1 | 
<a name="l00030"></a>00030   } | 
| 41 | 
  | 
  | 
<a name="l00032"></a><a class="code" href="classTrkPhSinCut.html#6dcbcf5f2b133f0493b2140d1d993907">00032</a>   <a class="code" href="classTrkPhSinCut.html#6dcbcf5f2b133f0493b2140d1d993907" title="Destructor.">~TrkPhSinCut</a>() { | 
| 42 | 
  | 
  | 
<a name="l00033"></a>00033   } | 
| 43 | 
  | 
  | 
<a name="l00034"></a>00034  | 
| 44 | 
  | 
  | 
<a name="l00042"></a>00042   <span class="keywordtype">int</span> <a class="code" href="classTrkPhSinCut.html#c9529432c0c9b8667c5c97ea824a7c93" title="The single physical track check.">Check</a>(PamLevel2 *event); | 
| 45 | 
  | 
  | 
<a name="l00043"></a>00043  | 
| 46 | 
  | 
  | 
<a name="l00044"></a><a class="code" href="classTrkPhSinCut.html#542b80112113dc6e915934cfec1bb6a5">00044</a>   <span class="keywordtype">int</span> <a class="code" href="classTrkPhSinCut.html#542b80112113dc6e915934cfec1bb6a5" title="TOF_index for TRK-track for the last good event.">iTrackTof</a>;  | 
| 47 | 
  | 
  | 
<a name="l00045"></a>00045  | 
| 48 | 
  | 
  | 
<a name="l00050"></a><a class="code" href="classTrkPhSinCut.html#8e825d1bb1e530204caba55ebe4f3dda">00050</a>   TrkTrack *<a class="code" href="classTrkPhSinCut.html#8e825d1bb1e530204caba55ebe4f3dda" title="The TrkTrack for the last good event.">trkTrack</a>; | 
| 49 | 
  | 
  | 
<a name="l00051"></a>00051  | 
| 50 | 
  | 
  | 
<a name="l00056"></a><a class="code" href="classTrkPhSinCut.html#f87ab859d5c5958d47ccef09ac7f9f65">00056</a>   PamTrack *<a class="code" href="classTrkPhSinCut.html#f87ab859d5c5958d47ccef09ac7f9f65" title="The PamTrack for the last good event.">pamTrack</a>; | 
| 51 | 
  | 
  | 
<a name="l00057"></a>00057  | 
| 52 | 
  | 
  | 
<a name="l00058"></a>00058 <span class="keyword">private</span>: | 
| 53 | 
  | 
  | 
<a name="l00059"></a>00059  | 
| 54 | 
pam-fi | 
1.2 | 
<a name="l00060"></a>00060   <span class="keyword">const</span> <span class="keywordtype">char</span> *_sortingMethod; | 
| 55 | 
pam-fi | 
1.1 | 
<a name="l00061"></a>00061  | 
| 56 | 
  | 
  | 
<a name="l00062"></a>00062 }; | 
| 57 | 
  | 
  | 
<a name="l00063"></a>00063 <span class="preprocessor">#endif </span><span class="comment">/* TRKPHSINCUT_H_ */</span> | 
| 58 | 
  | 
  | 
</pre></div></div> | 
| 59 | 
pam-fi | 
1.2 | 
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:08:58 2009 for PamCut by  | 
| 60 | 
pam-fi | 
1.1 | 
<a href="http://www.doxygen.org/index.html"> | 
| 61 | 
  | 
  | 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> | 
| 62 | 
  | 
  | 
</body> | 
| 63 | 
  | 
  | 
</html> |