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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (as text) (vendor branch)
Wed May 27 13:30:04 2009 UTC (15 years, 11 months ago) by pam-fi
Branch: DEV
CVS Tags: v0r00
Changes since 1.1: +0 -0 lines
File MIME type: text/html
First import

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/AbsTimeCut/AbsTimeCut.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/AbsTimeCut/AbsTimeCut.h</h1><a href="AbsTimeCut_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"> * AbsTimeCut.h</span>
24     <a name="l00003"></a>00003 <span class="comment"> *</span>
25     <a name="l00004"></a>00004 <span class="comment"> * Created on: 22-mag-2009</span>
26     <a name="l00005"></a>00005 <span class="comment"> * Author: Nicola Mori</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 ABSTIMECUT_H_</span>
30     <a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define ABSTIMECUT_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 <span class="preprocessor">#include &lt;TTimeStamp.h&gt;</span>
34     <a name="l00015"></a>00015
35     <a name="l00017"></a><a class="code" href="AbsTimeCut_8h.html#838416b232e35f3a8e213039a37617a2">00017</a> <span class="keyword">enum</span> <a class="code" href="AbsTimeCut_8h.html#838416b232e35f3a8e213039a37617a2">AbsTimeCut_Return</a> {
36     <a name="l00018"></a><a class="code" href="AbsTimeCut_8h.html#838416b232e35f3a8e213039a37617a2c254e386daee724374f521ee95e31678">00018</a> <a class="code" href="AbsTimeCut_8h.html#838416b232e35f3a8e213039a37617a2c254e386daee724374f521ee95e31678">ABSTIMECUT_TOOEARLY</a>,
37     <a name="l00019"></a><a class="code" href="AbsTimeCut_8h.html#838416b232e35f3a8e213039a37617a2822616ea1321765802ee3e367b0f8be1">00019</a> <a class="code" href="AbsTimeCut_8h.html#838416b232e35f3a8e213039a37617a2822616ea1321765802ee3e367b0f8be1" title="&amp;lt; The event happened before the time interval.">ABSTIMECUT_TOOLATE</a>
38     <a name="l00021"></a>00021 };
39     <a name="l00022"></a>00022
40     <a name="l00027"></a><a class="code" href="classAbsTimeCut.html">00027</a> <span class="keyword">class </span><a class="code" href="classAbsTimeCut.html" title="A cut on absolute time.">AbsTimeCut</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="l00028"></a>00028
42     <a name="l00029"></a>00029 <span class="keyword">public</span>:
43     <a name="l00030"></a>00030
44     <a name="l00042"></a><a class="code" href="classAbsTimeCut.html#3a10b984df8c49274bbad0e794c26aa0">00042</a> <a class="code" href="classAbsTimeCut.html#3a10b984df8c49274bbad0e794c26aa0" title="Constructor.">AbsTimeCut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cutName, <span class="keyword">const</span> <span class="keywordtype">char</span> *initDate, <span class="keyword">const</span> <span class="keywordtype">char</span> * initTime, <span class="keyword">const</span> <span class="keywordtype">char</span> * endDate,
45     <a name="l00043"></a>00043 <span class="keyword">const</span> <span class="keywordtype">char</span> * endTime) :
46     <a name="l00044"></a>00044 <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a>(cutName), <a class="code" href="classAbsTimeCut.html#2637d0d2979325a03ac34ee3d594e443">_initDate</a>(atoi(initDate)), <a class="code" href="classAbsTimeCut.html#7c329ea08fb7381a62a967275433fc0d">_initTime</a>(atoi(initTime)), <a class="code" href="classAbsTimeCut.html#5b7824fb8b1bd398939a0abe497dcd81">_endDate</a>(atoi(endDate)), <a class="code" href="classAbsTimeCut.html#9395725348a6e6805c8b224f6efdf039">_endTime</a>(atoi(
47     <a name="l00045"></a>00045 endTime)), <a class="code" href="classAbsTimeCut.html#1568851623e9d725a527e2a4276ca34a">_time</a>() {
48     <a name="l00046"></a>00046 }
49     <a name="l00047"></a>00047
50     <a name="l00049"></a><a class="code" href="classAbsTimeCut.html#06347d939b41bc6bb87cf6d705bef817">00049</a> <a class="code" href="classAbsTimeCut.html#06347d939b41bc6bb87cf6d705bef817" title="Destructor.">~AbsTimeCut</a>() {
51     <a name="l00050"></a>00050 }
52     <a name="l00051"></a>00051
53     <a name="l00059"></a>00059 <span class="keywordtype">int</span> <a class="code" href="classAbsTimeCut.html#f7c55e8b9e801a59ea93f9b5b9212c8c" title="The absolute time check.">Check</a>(PamLevel2 *event);
54     <a name="l00060"></a>00060
55     <a name="l00061"></a>00061 <span class="keyword">private</span>:
56     <a name="l00062"></a>00062
57     <a name="l00063"></a><a class="code" href="classAbsTimeCut.html#7c329ea08fb7381a62a967275433fc0d">00063</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classAbsTimeCut.html#2637d0d2979325a03ac34ee3d594e443">_initDate</a>, <a class="code" href="classAbsTimeCut.html#7c329ea08fb7381a62a967275433fc0d">_initTime</a>, <a class="code" href="classAbsTimeCut.html#5b7824fb8b1bd398939a0abe497dcd81">_endDate</a>, <a class="code" href="classAbsTimeCut.html#9395725348a6e6805c8b224f6efdf039">_endTime</a>;
58     <a name="l00064"></a><a class="code" href="classAbsTimeCut.html#1568851623e9d725a527e2a4276ca34a">00064</a> TTimeStamp <a class="code" href="classAbsTimeCut.html#1568851623e9d725a527e2a4276ca34a">_time</a>;
59     <a name="l00065"></a>00065 };
60     <a name="l00066"></a>00066 <span class="preprocessor">#endif </span><span class="comment">/* ABSTIMECUT_H_ */</span>
61     </pre></div></div>
62     <hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:27 2009 for PamCut by&nbsp;
63     <a href="http://www.doxygen.org/index.html">
64     <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
65     </body>
66     </html>

  ViewVC Help
Powered by ViewVC 1.1.23