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: TrkRigCut Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li> |
13 |
|
|
<li><a href="files.html"><span>Files</span></a></li> |
14 |
|
|
</ul> |
15 |
|
|
</div> |
16 |
|
|
<div class="tabs"> |
17 |
|
|
<ul> |
18 |
|
|
<li><a href="annotated.html"><span>Class List</span></a></li> |
19 |
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
20 |
|
|
<li><a href="functions.html"><span>Class Members</span></a></li> |
21 |
|
|
</ul> |
22 |
|
|
</div> |
23 |
|
|
</div> |
24 |
|
|
<div class="contents"> |
25 |
|
|
<h1>TrkRigCut Class Reference</h1><!-- doxytag: class="TrkRigCut" --><!-- doxytag: inherits="PamCut" -->The rigidity cut. This cut discards all the events whose rigidity is less than the threshold. Here rigidity is defined as p/Z (GV) where Z is the particle charge (WITH SIGN) and p the momentum modulus: therefore rigidity can be positive or negative. |
26 |
|
|
<a href="#_details">More...</a> |
27 |
|
|
<p> |
28 |
|
|
<code>#include <<a class="el" href="TrkRigCut_8h_source.html">TrkRigCut.h</a>></code> |
29 |
|
|
<p> |
30 |
|
|
<div class="dynheader"> |
31 |
|
|
Inheritance diagram for TrkRigCut:</div> |
32 |
|
|
<div class="dynsection"> |
33 |
|
|
|
34 |
|
|
<p><center><img src="classTrkRigCut.png" usemap="#TrkRigCut_map" border="0" alt=""></center> |
35 |
|
|
<map name="TrkRigCut_map"> |
36 |
|
|
<area href="classPamCut.html" alt="PamCut" shape="rect" coords="0,0,67,24"> |
37 |
|
|
</map> |
38 |
|
|
</div> |
39 |
|
|
|
40 |
|
|
<p> |
41 |
|
|
<a href="classTrkRigCut-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
42 |
|
|
<tr><td></td></tr> |
43 |
|
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
44 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTrkRigCut.html#c783ce6df5436f19bce5c5dcb2338841">TrkRigCut</a> (const char *cutName, float minRigidity)</td></tr> |
45 |
|
|
|
46 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#c783ce6df5436f19bce5c5dcb2338841"></a><br></td></tr> |
47 |
pam-fi |
1.2 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="deb60f04e638a15bdfafd4e3d41125b2"></a><!-- doxytag: member="TrkRigCut::~TrkRigCut" ref="deb60f04e638a15bdfafd4e3d41125b2" args="()" --> |
48 |
|
|
</td><td class="memItemRight" valign="bottom"><a class="el" href="classTrkRigCut.html#deb60f04e638a15bdfafd4e3d41125b2">~TrkRigCut</a> ()</td></tr> |
49 |
pam-fi |
1.1 |
|
50 |
pam-fi |
1.2 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr> |
51 |
pam-fi |
1.1 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTrkRigCut.html#00ddc4658bff1f28065ccb91d3eb43e6">Check</a> (PamLevel2 *event)</td></tr> |
52 |
|
|
|
53 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The rigidity check. <a href="#00ddc4658bff1f28065ccb91d3eb43e6"></a><br></td></tr> |
54 |
|
|
</table> |
55 |
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2> |
56 |
pam-fi |
1.2 |
The rigidity cut. This cut discards all the events whose rigidity is less than the threshold. Here rigidity is defined as p/Z (GV) where Z is the particle charge (WITH SIGN) and p the momentum modulus: therefore rigidity can be positive or negative. <hr><h2>Constructor & Destructor Documentation</h2> |
57 |
pam-fi |
1.1 |
<a class="anchor" name="c783ce6df5436f19bce5c5dcb2338841"></a><!-- doxytag: member="TrkRigCut::TrkRigCut" ref="c783ce6df5436f19bce5c5dcb2338841" args="(const char *cutName, float minRigidity)" --> |
58 |
|
|
<div class="memitem"> |
59 |
|
|
<div class="memproto"> |
60 |
|
|
<table class="memname"> |
61 |
|
|
<tr> |
62 |
|
|
<td class="memname">TrkRigCut::TrkRigCut </td> |
63 |
|
|
<td>(</td> |
64 |
|
|
<td class="paramtype">const char * </td> |
65 |
|
|
<td class="paramname"> <em>cutName</em>, </td> |
66 |
|
|
</tr> |
67 |
|
|
<tr> |
68 |
|
|
<td class="paramkey"></td> |
69 |
|
|
<td></td> |
70 |
|
|
<td class="paramtype">float </td> |
71 |
|
|
<td class="paramname"> <em>minRigidity</em></td><td> </td> |
72 |
|
|
</tr> |
73 |
|
|
<tr> |
74 |
|
|
<td></td> |
75 |
|
|
<td>)</td> |
76 |
|
|
<td></td><td></td><td><code> [inline]</code></td> |
77 |
|
|
</tr> |
78 |
|
|
</table> |
79 |
|
|
</div> |
80 |
|
|
<div class="memdoc"> |
81 |
|
|
|
82 |
|
|
<p> |
83 |
|
|
Constructor. |
84 |
|
|
<p> |
85 |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
86 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
87 |
|
|
<tr><td valign="top"></td><td valign="top"><em>cutName</em> </td><td>The cut's name. </td></tr> |
88 |
|
|
<tr><td valign="top"></td><td valign="top"><em>minRigidity</em> </td><td>The minimum rigidity p/Z (in GV) below which an event will be discarded. Can be positive or negative. </td></tr> |
89 |
|
|
</table> |
90 |
|
|
</dl> |
91 |
|
|
|
92 |
|
|
</div> |
93 |
|
|
</div><p> |
94 |
|
|
<hr><h2>Member Function Documentation</h2> |
95 |
|
|
<a class="anchor" name="00ddc4658bff1f28065ccb91d3eb43e6"></a><!-- doxytag: member="TrkRigCut::Check" ref="00ddc4658bff1f28065ccb91d3eb43e6" args="(PamLevel2 *event)" --> |
96 |
|
|
<div class="memitem"> |
97 |
|
|
<div class="memproto"> |
98 |
|
|
<table class="memname"> |
99 |
|
|
<tr> |
100 |
|
|
<td class="memname">int TrkRigCut::Check </td> |
101 |
|
|
<td>(</td> |
102 |
|
|
<td class="paramtype">PamLevel2 * </td> |
103 |
|
|
<td class="paramname"> <em>event</em> </td> |
104 |
|
|
<td> ) </td> |
105 |
|
|
<td><code> [virtual]</code></td> |
106 |
|
|
</tr> |
107 |
|
|
</table> |
108 |
|
|
</div> |
109 |
|
|
<div class="memdoc"> |
110 |
|
|
|
111 |
|
|
<p> |
112 |
|
|
The rigidity check. |
113 |
|
|
<p> |
114 |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
115 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
116 |
|
|
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
117 |
|
|
</table> |
118 |
|
|
</dl> |
119 |
|
|
<dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="CommonDefs_8h.html#c857f4b76ae431837cbf61fd74863b6c" title="The implementations of PamCut::Check() must return this value if the event satisfy...">CUTOK</a> if the rigidity is greater than the threshold <p> |
120 |
|
|
0 otherwise. </dd></dl> |
121 |
|
|
|
122 |
|
|
<p>Implements <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">PamCut</a>.</p> |
123 |
|
|
|
124 |
|
|
</div> |
125 |
|
|
</div><p> |
126 |
|
|
<hr>The documentation for this class was generated from the following files:<ul> |
127 |
pam-fi |
1.2 |
<li>TrkCuts/TrkRigCut/<a class="el" href="TrkRigCut_8h_source.html">TrkRigCut.h</a><li>TrkCuts/TrkRigCut/<a class="el" href="TrkRigCut_8cpp.html">TrkRigCut.cpp</a></ul> |
128 |
pam-fi |
1.1 |
</div> |
129 |
pam-fi |
1.2 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:09:08 2009 for PamCut by |
130 |
pam-fi |
1.1 |
<a href="http://www.doxygen.org/index.html"> |
131 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
132 |
|
|
</body> |
133 |
|
|
</html> |