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/CaloNucleiZCut/CaloNucleiZCut.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/CaloNucleiZCut/CaloNucleiZCut.h</h1><a href="CaloNucleiZCut_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"> * CaloNucleiZCut.h</span> |
24 |
<a name="l00003"></a>00003 <span class="comment"> *</span> |
25 |
<a name="l00004"></a>00004 <span class="comment"> * Created on: 30-apr-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 NO_CALONUCLEI</span> |
30 |
<a name="l00011"></a>00011 <span class="preprocessor"></span> |
31 |
<a name="l00012"></a>00012 <span class="preprocessor">#ifndef CALONUCLEIZCUT_H_</span> |
32 |
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define CALONUCLEIZCUT_H_</span> |
33 |
<a name="l00014"></a>00014 <span class="preprocessor"></span> |
34 |
<a name="l00015"></a>00015 <span class="preprocessor">#include "../../PamCutBase/PamCutBase.h"</span> |
35 |
<a name="l00016"></a>00016 <span class="preprocessor">#include <CaloNuclei.h></span> |
36 |
<a name="l00017"></a>00017 |
37 |
<a name="l00018"></a>00018 <span class="preprocessor">#include <TH2F.h></span> |
38 |
<a name="l00019"></a>00019 |
39 |
<a name="l00021"></a><a class="code" href="CaloNucleiZCut_8h.html#e29bedb897bf34de936ffb98722fe636">00021</a> <span class="keyword">enum</span> <a class="code" href="CaloNucleiZCut_8h.html#e29bedb897bf34de936ffb98722fe636">CaloNucleiZ_Return</a> { |
40 |
<a name="l00022"></a><a class="code" href="CaloNucleiZCut_8h.html#e29bedb897bf34de936ffb98722fe636964c914035545841c3b5f2d348f87941">00022</a> <a class="code" href="CaloNucleiZCut_8h.html#e29bedb897bf34de936ffb98722fe636964c914035545841c3b5f2d348f87941" title="Discarded because charge is out of bounds.">CALONUCLEIZ_OUTOFBOUNDS</a>, |
41 |
<a name="l00023"></a><a class="code" href="CaloNucleiZCut_8h.html#e29bedb897bf34de936ffb98722fe6361a55dad6ccf6a45dd1bddf0a4ed739f1">00023</a> <a class="code" href="CaloNucleiZCut_8h.html#e29bedb897bf34de936ffb98722fe6361a55dad6ccf6a45dd1bddf0a4ed739f1" title="Discarded because charge is not between 1 and 8.">CALONUCLEIZ_ILLEGALZ</a> |
42 |
<a name="l00025"></a>00025 }; |
43 |
<a name="l00026"></a>00026 |
44 |
<a name="l00028"></a><a class="code" href="CaloNucleiZCut_8h.html#f52d4ca6dd7142aaf693bf81cca09fd3">00028</a> <span class="keyword">enum</span> <a class="code" href="CaloNucleiZCut_8h.html#f52d4ca6dd7142aaf693bf81cca09fd3">CaloNucleiZ_method</a> { |
45 |
<a name="l00029"></a><a class="code" href="CaloNucleiZCut_8h.html#f52d4ca6dd7142aaf693bf81cca09fd3ee30a18a35c710fb18c934bc9657f0e8">00029</a> <a class="code" href="CaloNucleiZCut_8h.html#f52d4ca6dd7142aaf693bf81cca09fd3ee30a18a35c710fb18c934bc9657f0e8" title="Siegen method: stdedx vs. beta from ToF.">CALONUCLEIZ_SIEGEN</a>, |
46 |
<a name="l00030"></a><a class="code" href="CaloNucleiZCut_8h.html#f52d4ca6dd7142aaf693bf81cca09fd36b41546a199dede78835209ae68515c1">00030</a> <a class="code" href="CaloNucleiZCut_8h.html#f52d4ca6dd7142aaf693bf81cca09fd36b41546a199dede78835209ae68515c1" title="dE/dx in the first calorimeter plane vs. beta from ToF">CALONUCLEIZ_DEDXBETA</a>, |
47 |
<a name="l00031"></a><a class="code" href="CaloNucleiZCut_8h.html#f52d4ca6dd7142aaf693bf81cca09fd3d43aa7aa27454b2aad11c7dddbe88f27">00031</a> <a class="code" href="CaloNucleiZCut_8h.html#f52d4ca6dd7142aaf693bf81cca09fd3d43aa7aa27454b2aad11c7dddbe88f27" title="dE/dx in the first calorimeter plane vs. deflection from Tracker">CALONUCLEIZ_DEDXDEFL</a>, |
48 |
<a name="l00033"></a>00033 }; |
49 |
<a name="l00034"></a>00034 |
50 |
<a name="l00041"></a><a class="code" href="classCaloNucleiZCut.html">00041</a> <span class="keyword">class </span><a class="code" href="classCaloNucleiZCut.html" title="The CaloNuclei charge cut.">CaloNucleiZCut</a>: <span class="keyword">public</span> <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a> { |
51 |
<a name="l00042"></a>00042 |
52 |
<a name="l00043"></a>00043 <span class="keyword">public</span>: |
53 |
<a name="l00056"></a><a class="code" href="classCaloNucleiZCut.html#8aae9fd480ce2127ff33d67d7a3c9502">00056</a> <a class="code" href="classCaloNucleiZCut.html#8aae9fd480ce2127ff33d67d7a3c9502" title="Constructor.">CaloNucleiZCut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cutName, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> Z, <span class="keywordtype">float</span> lowerLimit, <span class="keywordtype">float</span> upperLimit, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> method = |
54 |
<a name="l00057"></a>00057 <a class="code" href="CaloNucleiZCut_8h.html#f52d4ca6dd7142aaf693bf81cca09fd3ee30a18a35c710fb18c934bc9657f0e8" title="Siegen method: stdedx vs. beta from ToF.">CALONUCLEIZ_SIEGEN</a>) : |
55 |
<a name="l00058"></a>00058 <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a>(cutName), _Z(Z), _lowerLimit(lowerLimit), _upperLimit(upperLimit), _caloNuclei(NULL), _method(method) { |
56 |
<a name="l00059"></a>00059 |
57 |
<a name="l00060"></a>00060 } |
58 |
<a name="l00062"></a><a class="code" href="classCaloNucleiZCut.html#ff3fe5e884c841fa2d138663ca138b37">00062</a> <a class="code" href="classCaloNucleiZCut.html#ff3fe5e884c841fa2d138663ca138b37" title="Destructor.">~CaloNucleiZCut</a>() { |
59 |
<a name="l00063"></a>00063 <span class="keyword">delete</span> _caloNuclei; |
60 |
<a name="l00064"></a>00064 |
61 |
<a name="l00065"></a>00065 } |
62 |
<a name="l00066"></a>00066 |
63 |
<a name="l00089"></a>00089 <span class="keywordtype">int</span> <a class="code" href="classCaloNucleiZCut.html#af2ac497ae8c5b356eec8d0cfe8a2c7a" title="The CaloNucleiZ check.">Check</a>(PamLevel2 *event); |
64 |
<a name="l00090"></a>00090 |
65 |
<a name="l00091"></a>00091 <span class="keyword">private</span>: |
66 |
<a name="l00092"></a>00092 |
67 |
<a name="l00093"></a>00093 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _Z; |
68 |
<a name="l00094"></a>00094 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> _sigmaZ[]; |
69 |
<a name="l00095"></a>00095 |
70 |
<a name="l00096"></a>00096 <span class="keywordtype">float</span> _lowerLimit; |
71 |
<a name="l00097"></a>00097 <span class="keywordtype">float</span> _upperLimit; |
72 |
<a name="l00098"></a>00098 CaloNuclei *_caloNuclei; |
73 |
<a name="l00099"></a>00099 |
74 |
<a name="l00100"></a>00100 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _method; |
75 |
<a name="l00101"></a>00101 }; |
76 |
<a name="l00102"></a>00102 <span class="preprocessor">#endif </span><span class="comment">/* CALONUCLEIZCUT_H_ */</span> |
77 |
<a name="l00103"></a>00103 |
78 |
<a name="l00104"></a>00104 <span class="preprocessor">#endif </span><span class="comment">/* NO_CALONUCLEI */</span> |
79 |
</pre></div></div> |
80 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:08:58 2009 for PamCut by |
81 |
<a href="http://www.doxygen.org/index.html"> |
82 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
83 |
</body> |
84 |
</html> |