| 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/TrkRunValCut/TrkRunValCut.cpp 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/TrkRunValCut/TrkRunValCut.cpp</h1><a href="TrkRunValCut_8cpp.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"> * TrkRunValCut.cpp</span> |
| 24 |
<a name="l00003"></a>00003 <span class="comment"> *</span> |
| 25 |
<a name="l00004"></a>00004 <span class="comment"> * Created on: 24-mar-2009</span> |
| 26 |
<a name="l00005"></a>00005 <span class="comment"> * Author: Sergio Ricciarini, N. 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">#include "<a class="code" href="TrkRunValCut_8h.html">TrkRunValCut.h</a>"</span> |
| 30 |
<a name="l00011"></a>00011 |
| 31 |
<a name="l00012"></a><a class="code" href="classTrkRunValCut.html#2c76ef62866b009e30b208749cf563f5">00012</a> <span class="keywordtype">int</span> <a class="code" href="classTrkRunValCut.html#2c76ef62866b009e30b208749cf563f5" title="The tracker run validation check.">TrkRunValCut::Check</a>(PamLevel2 *event) { |
| 32 |
<a name="l00013"></a>00013 |
| 33 |
<a name="l00014"></a>00014 <span class="keywordflow">if</span> ( ! (event->GetRunInfo()->VALIDATION == 1 || <span class="keyword">event</span>->GetRunInfo()->VALIDATION == 2) ){ |
| 34 |
<a name="l00015"></a>00015 <span class="keywordflow">return</span> 0; |
| 35 |
<a name="l00016"></a>00016 } |
| 36 |
<a name="l00017"></a>00017 |
| 37 |
<a name="l00018"></a>00018 <span class="keywordflow">return</span> <a class="code" href="CommonDefs_8h.html#c857f4b76ae431837cbf61fd74863b6c" title="The implementations of PamCut::Check() must return this value if the event satisfy...">CUTOK</a>; |
| 38 |
<a name="l00019"></a>00019 |
| 39 |
<a name="l00020"></a>00020 } |
| 40 |
</pre></div></div> |
| 41 |
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:27 2009 for PamCut by |
| 42 |
<a href="http://www.doxygen.org/index.html"> |
| 43 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
| 44 |
</body> |
| 45 |
</html> |