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: BlindCutCollection 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>BlindCutCollection Class Reference</h1><!-- doxytag: class="BlindCutCollection" --><!-- doxytag: inherits="PamCutCollection" -->A cut collection which applies all the cuts. |
26 |
<a href="#_details">More...</a> |
27 |
<p> |
28 |
<code>#include <<a class="el" href="BlindCutCollection_8h_source.html">BlindCutCollection.h</a>></code> |
29 |
<p> |
30 |
<div class="dynheader"> |
31 |
Inheritance diagram for BlindCutCollection:</div> |
32 |
<div class="dynsection"> |
33 |
|
34 |
<p><center><img src="classBlindCutCollection.png" usemap="#BlindCutCollection_map" border="0" alt=""></center> |
35 |
<map name="BlindCutCollection_map"> |
36 |
<area href="classPamCutCollection.html" alt="PamCutCollection" shape="rect" coords="0,56,115,80"> |
37 |
<area href="classPamCut.html" alt="PamCut" shape="rect" coords="0,0,115,24"> |
38 |
</map> |
39 |
</div> |
40 |
|
41 |
<p> |
42 |
<a href="classBlindCutCollection-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
43 |
<tr><td></td></tr> |
44 |
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
45 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBlindCutCollection.html#65456bdc6e25ee98acc53ff8c0f9c3a5">BlindCutCollection</a> (const char *collectionName)</td></tr> |
46 |
|
47 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#65456bdc6e25ee98acc53ff8c0f9c3a5"></a><br></td></tr> |
48 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d7801972fd6d7f5b7da7790d5593259"></a><!-- doxytag: member="BlindCutCollection::~BlindCutCollection" ref="3d7801972fd6d7f5b7da7790d5593259" args="()" --> |
49 |
</td><td class="memItemRight" valign="bottom"><a class="el" href="classBlindCutCollection.html#3d7801972fd6d7f5b7da7790d5593259">~BlindCutCollection</a> ()</td></tr> |
50 |
|
51 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr> |
52 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classBlindCutCollection.html#016ee86612e57a50f03c8469d3ed9d1f">Check</a> (PamLevel2 *event)</td></tr> |
53 |
|
54 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Checks all the cuts. <a href="#016ee86612e57a50f03c8469d3ed9d1f"></a><br></td></tr> |
55 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classBlindCutCollection.html#8d387de8cbc54ff0eab8cff220b49c20">ApplyCut</a> (PamLevel2 *event)</td></tr> |
56 |
|
57 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Applies all the cuts to the current event. <a href="#8d387de8cbc54ff0eab8cff220b49c20"></a><br></td></tr> |
58 |
</table> |
59 |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
60 |
A cut collection which applies all the cuts. |
61 |
<p> |
62 |
This cut collection will apply all the cuts it contains to the events, even if some of them are not satisfied. <hr><h2>Constructor & Destructor Documentation</h2> |
63 |
<a class="anchor" name="65456bdc6e25ee98acc53ff8c0f9c3a5"></a><!-- doxytag: member="BlindCutCollection::BlindCutCollection" ref="65456bdc6e25ee98acc53ff8c0f9c3a5" args="(const char *collectionName)" --> |
64 |
<div class="memitem"> |
65 |
<div class="memproto"> |
66 |
<table class="memname"> |
67 |
<tr> |
68 |
<td class="memname">BlindCutCollection::BlindCutCollection </td> |
69 |
<td>(</td> |
70 |
<td class="paramtype">const char * </td> |
71 |
<td class="paramname"> <em>collectionName</em> </td> |
72 |
<td> ) </td> |
73 |
<td><code> [inline]</code></td> |
74 |
</tr> |
75 |
</table> |
76 |
</div> |
77 |
<div class="memdoc"> |
78 |
|
79 |
<p> |
80 |
Constructor. |
81 |
<p> |
82 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
83 |
<table border="0" cellspacing="2" cellpadding="0"> |
84 |
<tr><td valign="top"></td><td valign="top"><em>collectionName</em> </td><td>The collection's name. </td></tr> |
85 |
</table> |
86 |
</dl> |
87 |
|
88 |
</div> |
89 |
</div><p> |
90 |
<hr><h2>Member Function Documentation</h2> |
91 |
<a class="anchor" name="8d387de8cbc54ff0eab8cff220b49c20"></a><!-- doxytag: member="BlindCutCollection::ApplyCut" ref="8d387de8cbc54ff0eab8cff220b49c20" args="(PamLevel2 *event)" --> |
92 |
<div class="memitem"> |
93 |
<div class="memproto"> |
94 |
<table class="memname"> |
95 |
<tr> |
96 |
<td class="memname">int BlindCutCollection::ApplyCut </td> |
97 |
<td>(</td> |
98 |
<td class="paramtype">PamLevel2 * </td> |
99 |
<td class="paramname"> <em>event</em> </td> |
100 |
<td> ) </td> |
101 |
<td><code> [virtual]</code></td> |
102 |
</tr> |
103 |
</table> |
104 |
</div> |
105 |
<div class="memdoc"> |
106 |
|
107 |
<p> |
108 |
Applies all the cuts to the current event. |
109 |
<p> |
110 |
This routine works pretty much like the redefinition of <a class="el" href="classBlindCutCollection.html#016ee86612e57a50f03c8469d3ed9d1f" title="Checks all the cuts.">Check()</a>, calling <a class="el" href="classBlindCutCollection.html#8d387de8cbc54ff0eab8cff220b49c20" title="Applies all the cuts to the current event.">ApplyCut()</a> (instead of <a class="el" href="classBlindCutCollection.html#016ee86612e57a50f03c8469d3ed9d1f" title="Checks all the cuts.">Check()</a> )for each cut. However, if a cut fails, it does not stops but continues until all the cuts are evaluated. If all the cuts are successful, on exit it calls <a class="el" href="classPamCut.html#56021e959232270c12528ddec3062985" title="Post-selection tasks.">OnGood()</a>; if a single cut failed, it calls <a class="el" href="classPamCut.html#cbb3b507d79f20878fac4392ffa57acb" title="Post-selection tasks.">OnBad()</a>, passing the index of the first failed cut as selectionResult.<p> |
111 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
112 |
<table border="0" cellspacing="2" cellpadding="0"> |
113 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
114 |
</table> |
115 |
</dl> |
116 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>same return values as <a class="el" href="classBlindCutCollection.html#016ee86612e57a50f03c8469d3ed9d1f" title="Checks all the cuts.">Check()</a>. </dd></dl> |
117 |
|
118 |
<p>Reimplemented from <a class="el" href="classPamCutCollection.html#e7af429a3afef3685cbd5aa076ef96e5">PamCutCollection</a>.</p> |
119 |
|
120 |
</div> |
121 |
</div><p> |
122 |
<a class="anchor" name="016ee86612e57a50f03c8469d3ed9d1f"></a><!-- doxytag: member="BlindCutCollection::Check" ref="016ee86612e57a50f03c8469d3ed9d1f" args="(PamLevel2 *event)" --> |
123 |
<div class="memitem"> |
124 |
<div class="memproto"> |
125 |
<table class="memname"> |
126 |
<tr> |
127 |
<td class="memname">int BlindCutCollection::Check </td> |
128 |
<td>(</td> |
129 |
<td class="paramtype">PamLevel2 * </td> |
130 |
<td class="paramname"> <em>event</em> </td> |
131 |
<td> ) </td> |
132 |
<td><code> [virtual]</code></td> |
133 |
</tr> |
134 |
</table> |
135 |
</div> |
136 |
<div class="memdoc"> |
137 |
|
138 |
<p> |
139 |
Checks all the cuts. |
140 |
<p> |
141 |
This method checks all the cuts for the current event. It exits only after all the cuts have been evaluated. Note that it doesn't call <a class="el" href="classPamCut.html#56021e959232270c12528ddec3062985" title="Post-selection tasks.">OnGood()</a> nor <a class="el" href="classPamCut.html#cbb3b507d79f20878fac4392ffa57acb" title="Post-selection tasks.">OnBad()</a>, not even for the <a class="el" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a> objects in the collection.<p> |
142 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
143 |
<table border="0" cellspacing="2" cellpadding="0"> |
144 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
145 |
</table> |
146 |
</dl> |
147 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the index of the first failed cut (range: [0, #cuts-1], see <a class="el" href="classPamCutCollection.html#6dc6a92a7ee9243f567a2a244e1e5685" title="Adds a cut to the cut collection This routine adds a cut to the collection. These...">AddCut()</a>); \ <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 event satisfies all the cuts. </dd></dl> |
148 |
|
149 |
<p>Reimplemented from <a class="el" href="classPamCutCollection.html#85f04cef7b560a37061391dd397813a7">PamCutCollection</a>.</p> |
150 |
|
151 |
</div> |
152 |
</div><p> |
153 |
<hr>The documentation for this class was generated from the following files:<ul> |
154 |
<li>Collections/BlindCutCollection/<a class="el" href="BlindCutCollection_8h_source.html">BlindCutCollection.h</a><li>Collections/BlindCutCollection/<a class="el" href="BlindCutCollection_8cpp.html">BlindCutCollection.cpp</a></ul> |
155 |
</div> |
156 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:08:59 2009 for PamCut by |
157 |
<a href="http://www.doxygen.org/index.html"> |
158 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
159 |
</body> |
160 |
</html> |