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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download) (as text)
Fri Jun 5 13:15:58 2009 UTC (15 years, 10 months ago) by pam-fi
Branch: MAIN
Changes since 1.1: +7 -7 lines
File MIME type: text/html
Updated.

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: TofCuts/TofPatternCut/TofPatternCut.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>TofCuts/TofPatternCut/TofPatternCut.h</h1><a href="TofPatternCut_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"> * TofPatternCut.h</span>
24 <a name="l00003"></a>00003 <span class="comment"> *</span>
25 <a name="l00004"></a>00004 <span class="comment"> * Created on: 10-mar-2009</span>
26 <a name="l00005"></a>00005 <span class="comment"> * Author: Elena Vannuccini</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 TOFPATTERNCUT_H_</span>
30 <a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define TOFPATTERNCUT_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="l00025"></a><a class="code" href="classTofPatternCut.html">00025</a> <span class="keyword">class </span><a class="code" href="classTofPatternCut.html" title="The Tof-pattern cut.">TofPatternCut</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="l00026"></a>00026
36 <a name="l00027"></a>00027 <span class="keyword">public</span>:
37 <a name="l00029"></a><a class="code" href="classTofPatternCut.html#5cf2ebf9ca7566342f3d66f54ab94eb6">00029</a> <a class="code" href="classTofPatternCut.html#5cf2ebf9ca7566342f3d66f54ab94eb6" title="Constructor.">TofPatternCut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cutName) :
38 <a name="l00030"></a>00030 <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a>(cutName), _standalone(false), _notrk(0) {
39 <a name="l00031"></a>00031 }
40 <a name="l00033"></a><a class="code" href="classTofPatternCut.html#a94b0405411dd9b6f04c7a83af64c120">00033</a> <a class="code" href="classTofPatternCut.html#a94b0405411dd9b6f04c7a83af64c120" title="Destructor.">~TofPatternCut</a>() {
41 <a name="l00034"></a>00034 }
42 <a name="l00035"></a>00035
43 <a name="l00041"></a>00041 <span class="keywordtype">int</span> <a class="code" href="classTofPatternCut.html#b960628bc87a72be3c8aedab6b036dce" title="The ToF-pattern check.">Check</a>(PamLevel2 *event);
44 <a name="l00042"></a>00042
45 <a name="l00048"></a>00048 <span class="keywordtype">int</span> <a class="code" href="classTofPatternCut.html#2f9755367321e7f86f862506865f260c" title="Counts the number of hit PMTs (with tdc signal) outside track.">GetNHitPMTsOutsideTrack</a>(PamLevel2 *event, <span class="keywordtype">int</span> plane);
46 <a name="l00049"></a>00049
47 <a name="l00051"></a><a class="code" href="classTofPatternCut.html#f80259c2dd81a57a9d7cf2b651d0300e">00051</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classTofPatternCut.html#f80259c2dd81a57a9d7cf2b651d0300e" title="Set standalone ToF track.">SetStandalone</a>(<span class="keywordtype">int</span> yes) {
48 <a name="l00052"></a>00052 <span class="keywordflow">if</span> (yes)
49 <a name="l00053"></a>00053 _standalone = <span class="keyword">true</span>;
50 <a name="l00054"></a>00054 <span class="keywordflow">else</span>
51 <a name="l00055"></a>00055 _standalone = <span class="keyword">false</span>;
52 <a name="l00056"></a>00056 }
53 <a name="l00057"></a>00057
54 <a name="l00059"></a><a class="code" href="classTofPatternCut.html#573d063e2149ad14c831fe28c6df8542">00059</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classTofPatternCut.html#573d063e2149ad14c831fe28c6df8542" title="Set (physical) track number (0,1,...). Default is 0 (the first).">SetTrackNumber</a>(<span class="keywordtype">int</span> n) {
55 <a name="l00060"></a>00060 _notrk = n;
56 <a name="l00061"></a>00061 }
57 <a name="l00062"></a>00062
58 <a name="l00063"></a>00063
59 <a name="l00064"></a>00064 <span class="keyword">private</span>:
60 <a name="l00065"></a>00065
61 <a name="l00066"></a>00066 <span class="keywordtype">bool</span> _standalone;
62 <a name="l00067"></a>00067 <span class="keywordtype">int</span> _notrk;
63 <a name="l00068"></a>00068
64 <a name="l00069"></a>00069 };
65 <a name="l00070"></a>00070 <span class="preprocessor">#endif </span><span class="comment">/* TOFPATTERNCUT_H_ */</span>
66 </pre></div></div>
67 <hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:08:58 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