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: CaloCuts/CaloNHitCut/CaloNHitCut.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>CaloCuts/CaloNHitCut/CaloNHitCut.h</h1><a href="CaloNHitCut_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"> * CaloNHitCut.h</span> |
24 |
<a name="l00003"></a>00003 <span class="comment"> *</span> |
25 |
<a name="l00004"></a>00004 <span class="comment"> * Created on: 18-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 CALONHITCUT_H_</span> |
30 |
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define CALONHITCUT_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 "../../CaloAxis2.h"</span> |
34 |
<a name="l00015"></a>00015 |
35 |
<a name="l00029"></a><a class="code" href="classCaloNHitCut.html">00029</a> <span class="keyword">class </span><a class="code" href="classCaloNHitCut.html" title="The number of hits cut for the calorimeter. An event survives this selection if the...">CaloNHitCut</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="l00030"></a>00030 |
37 |
<a name="l00031"></a>00031 <span class="keyword">public</span>: |
38 |
<a name="l00032"></a>00032 |
39 |
<a name="l00043"></a><a class="code" href="classCaloNHitCut.html#220d9db8d015f09a97bb7a222f059cd2">00043</a> <a class="code" href="classCaloNHitCut.html#220d9db8d015f09a97bb7a222f059cd2" title="Constructor.">CaloNHitCut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, <span class="keywordtype">int</span> nMinHit=10) : |
40 |
<a name="l00044"></a>00044 <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a>(cutName), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _nMinHit(nMinHit) { |
41 |
<a name="l00045"></a>00045 } |
42 |
<a name="l00047"></a><a class="code" href="classCaloNHitCut.html#97d9858496d6c3f8a47aa2c60d844065">00047</a> <a class="code" href="classCaloNHitCut.html#97d9858496d6c3f8a47aa2c60d844065" title="Destructor.">~CaloNHitCut</a>() { |
43 |
<a name="l00048"></a>00048 } |
44 |
<a name="l00049"></a>00049 |
45 |
<a name="l00061"></a>00061 <span class="keywordtype">int</span> <a class="code" href="classCaloNHitCut.html#54aae0d5514f7bda15297b9cfdceee68" title="The number of hit planes check.">Check</a>(PamLevel2 *event); |
46 |
<a name="l00062"></a>00062 |
47 |
<a name="l00063"></a>00063 <span class="keyword">private</span>: |
48 |
<a name="l00064"></a>00064 CaloAxis *_xCaloAxis, *_yCaloAxis; |
49 |
<a name="l00065"></a>00065 <span class="keywordtype">int</span> _nMinHit; |
50 |
<a name="l00066"></a>00066 |
51 |
<a name="l00067"></a>00067 }; |
52 |
<a name="l00068"></a>00068 <span class="preprocessor">#endif </span><span class="comment">/* CALONHITCUT_H_ */</span> |
53 |
<a name="l00069"></a>00069 |
54 |
</pre></div></div> |
55 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:08:58 2009 for PamCut by |
56 |
<a href="http://www.doxygen.org/index.html"> |
57 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
58 |
</body> |
59 |
</html> |