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: PamCut 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>PamCut Class Reference</h1><!-- doxytag: class="PamCut" -->An abstract class to apply cuts to Pamela data. |
26 |
<a href="#_details">More...</a> |
27 |
<p> |
28 |
<code>#include <<a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>></code> |
29 |
<p> |
30 |
<div class="dynheader"> |
31 |
Inheritance diagram for PamCut:</div> |
32 |
<div class="dynsection"> |
33 |
|
34 |
<p><center><img src="classPamCut.png" usemap="#PamCut_map" border="0" alt=""></center> |
35 |
<map name="PamCut_map"> |
36 |
<area href="classAbsTimeCut.html" alt="AbsTimeCut" shape="rect" coords="125,56,240,80"> |
37 |
<area href="classCaloCrossCut.html" alt="CaloCrossCut" shape="rect" coords="125,112,240,136"> |
38 |
<area href="classCaloGeomCut.html" alt="CaloGeomCut" shape="rect" coords="125,168,240,192"> |
39 |
<area href="classCaloIonCut.html" alt="CaloIonCut" shape="rect" coords="125,224,240,248"> |
40 |
<area href="classCaloNHitCut.html" alt="CaloNHitCut" shape="rect" coords="125,280,240,304"> |
41 |
<area href="classCaloNotIntCut.html" alt="CaloNotIntCut" shape="rect" coords="125,336,240,360"> |
42 |
<area href="classCaloNucleiZCut.html" alt="CaloNucleiZCut" shape="rect" coords="125,392,240,416"> |
43 |
<area href="classCaloTrackChi2Cut.html" alt="CaloTrackChi2Cut" shape="rect" coords="125,448,240,472"> |
44 |
<area href="classCaloTrackCut.html" alt="CaloTrackCut" shape="rect" coords="125,504,240,528"> |
45 |
<area href="classCARDCut.html" alt="CARDCut" shape="rect" coords="125,560,240,584"> |
46 |
<area href="classCATCut.html" alt="CATCut" shape="rect" coords="125,616,240,640"> |
47 |
<area href="classDataQualCut.html" alt="DataQualCut" shape="rect" coords="125,672,240,696"> |
48 |
<area href="classEvRateS11Cut.html" alt="EvRateS11Cut" shape="rect" coords="125,728,240,752"> |
49 |
<area href="classGeoFieldCut.html" alt="GeoFieldCut" shape="rect" coords="125,784,240,808"> |
50 |
<area href="classLTGeoFillCut.html" alt="LTGeoFillCut" shape="rect" coords="125,840,240,864"> |
51 |
<area href="classLTQualCut.html" alt="LTQualCut" shape="rect" coords="125,896,240,920"> |
52 |
<area href="classOBTQualCut.html" alt="OBTQualCut" shape="rect" coords="125,952,240,976"> |
53 |
<area href="classPamCutCollection.html" alt="PamCutCollection" shape="rect" coords="125,1008,240,1032"> |
54 |
<area href="classPktQualCut.html" alt="PktQualCut" shape="rect" coords="125,1064,240,1088"> |
55 |
<area href="classRigFillCut.html" alt="RigFillCut" shape="rect" coords="125,1120,240,1144"> |
56 |
<area href="classTofBetaCut.html" alt="TofBetaCut" shape="rect" coords="125,1176,240,1200"> |
57 |
<area href="classTofBetaRangeCut.html" alt="TofBetaRangeCut" shape="rect" coords="125,1232,240,1256"> |
58 |
<area href="classTofBetaRigCut.html" alt="TofBetaRigCut" shape="rect" coords="125,1288,240,1312"> |
59 |
<area href="classTofDedxS1Cut.html" alt="TofDedxS1Cut" shape="rect" coords="125,1344,240,1368"> |
60 |
<area href="classTofNucleiZCut.html" alt="TofNucleiZCut" shape="rect" coords="125,1400,240,1424"> |
61 |
<area href="classTofPatternCut.html" alt="TofPatternCut" shape="rect" coords="125,1456,240,1480"> |
62 |
<area href="classTofQualCut.html" alt="TofQualCut" shape="rect" coords="125,1512,240,1536"> |
63 |
<area href="classTofTopS1Cut.html" alt="TofTopS1Cut" shape="rect" coords="125,1568,240,1592"> |
64 |
<area href="classTrgConfCut.html" alt="TrgConfCut" shape="rect" coords="125,1624,240,1648"> |
65 |
<area href="classTrkCalQualCut.html" alt="TrkCalQualCut" shape="rect" coords="125,1680,240,1704"> |
66 |
<area href="classTrkChi2DeflCut.html" alt="TrkChi2DeflCut" shape="rect" coords="125,1736,240,1760"> |
67 |
<area href="classTrkChi2QualCut.html" alt="TrkChi2QualCut" shape="rect" coords="125,1792,240,1816"> |
68 |
<area href="classTrkDedxHCut.html" alt="TrkDedxHCut" shape="rect" coords="125,1848,240,1872"> |
69 |
<area href="classTrkGeomCut.html" alt="TrkGeomCut" shape="rect" coords="125,1904,240,1928"> |
70 |
<area href="classTrkHitQualCut.html" alt="TrkHitQualCut" shape="rect" coords="125,1960,240,1984"> |
71 |
<area href="classTrkIdCut.html" alt="TrkIdCut" shape="rect" coords="125,2016,240,2040"> |
72 |
<area href="classTrkIonCut.html" alt="TrkIonCut" shape="rect" coords="125,2072,240,2096"> |
73 |
<area href="classTrkNucleiZCut.html" alt="TrkNucleiZCut" shape="rect" coords="125,2128,240,2152"> |
74 |
<area href="classTrkPhSinCut.html" alt="TrkPhSinCut" shape="rect" coords="125,2184,240,2208"> |
75 |
<area href="classTrkRigCut.html" alt="TrkRigCut" shape="rect" coords="125,2240,240,2264"> |
76 |
<area href="classTrkRigGeoCut.html" alt="TrkRigGeoCut" shape="rect" coords="125,2296,240,2320"> |
77 |
<area href="classTrkRigRangeCut.html" alt="TrkRigRangeCut" shape="rect" coords="125,2352,240,2376"> |
78 |
<area href="classTrkRunValCut.html" alt="TrkRunValCut" shape="rect" coords="125,2408,240,2432"> |
79 |
<area href="classTrkSigmaDeflCut.html" alt="TrkSigmaDeflCut" shape="rect" coords="125,2464,240,2488"> |
80 |
</map> |
81 |
</div> |
82 |
|
83 |
<p> |
84 |
<a href="classPamCut-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
85 |
<tr><td></td></tr> |
86 |
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
87 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#a8192c75b3fe95687f6835100d6ee8b9">PamCut</a> (const char *cutName)</td></tr> |
88 |
|
89 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a8192c75b3fe95687f6835100d6ee8b9"></a><br></td></tr> |
90 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#8a6fb3b6ff60cd514fed53c7a9044790">~PamCut</a> ()</td></tr> |
91 |
|
92 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#8a6fb3b6ff60cd514fed53c7a9044790"></a><br></td></tr> |
93 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">Check</a> (PamLevel2 *event)=0</td></tr> |
94 |
|
95 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The basic event check. <a href="#a874600461950d1f2b75ce3938f91cbe"></a><br></td></tr> |
96 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#132a1a7cf365ff28eca38b7dda1acb7f">ApplyCut</a> (PamLevel2 *event)</td></tr> |
97 |
|
98 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Applies the cut to the current event. <a href="#132a1a7cf365ff28eca38b7dda1acb7f"></a><br></td></tr> |
99 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#047b75499ea4457d60397ee5491adcd4">Process</a> (PamLevel2 *events, ULong_t firstEvent, ULong_t lastEvent)</td></tr> |
100 |
|
101 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Applies the cut to a range of events. <a href="#047b75499ea4457d60397ee5491adcd4"></a><br></td></tr> |
102 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#56021e959232270c12528ddec3062985">OnGood</a> (PamLevel2 *event)</td></tr> |
103 |
|
104 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Post-selection tasks. <a href="#56021e959232270c12528ddec3062985"></a><br></td></tr> |
105 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#cbb3b507d79f20878fac4392ffa57acb">OnBad</a> (PamLevel2 *event, int selectionResult)</td></tr> |
106 |
|
107 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Post-selection tasks. <a href="#cbb3b507d79f20878fac4392ffa57acb"></a><br></td></tr> |
108 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual UInt_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#3ae6ebc9dd777e11e0d8ce18948538be">GetNEv</a> ()</td></tr> |
109 |
|
110 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of checked events. <a href="#3ae6ebc9dd777e11e0d8ce18948538be"></a><br></td></tr> |
111 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual UInt_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#b8a69206312cfcf6df6897aef973ef4a">GetNGood</a> ()</td></tr> |
112 |
|
113 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of good events. <a href="#b8a69206312cfcf6df6897aef973ef4a"></a><br></td></tr> |
114 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#e587828903b809c99f9ab5ba97ae6616">Setup</a> (PamLevel2 *events)</td></tr> |
115 |
|
116 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The pre-analysis task definition. <a href="#e587828903b809c99f9ab5ba97ae6616"></a><br></td></tr> |
117 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#fd74c1565552cabe4aced316df803737">Finalize</a> ()</td></tr> |
118 |
|
119 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The post-analysis task definition. <a href="#fd74c1565552cabe4aced316df803737"></a><br></td></tr> |
120 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#9f14d875c176c2af470838a1b6dc069b">GetName</a> () const </td></tr> |
121 |
|
122 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the cut name. <a href="#9f14d875c176c2af470838a1b6dc069b"></a><br></td></tr> |
123 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#276bd306ea0a62cc0effa5dea4118e21">SetName</a> (const char *newName)</td></tr> |
124 |
|
125 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Changes the cut's name. <a href="#276bd306ea0a62cc0effa5dea4118e21"></a><br></td></tr> |
126 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPamCut.html">PamCut</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#cff560f2c6a663345c81f95df905956e">operator=</a> (const <a class="el" href="classPamCut.html">PamCut</a> &rightValue)</td></tr> |
127 |
|
128 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The assignment operator. This operator defines how to copy a <a class="el" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a> object into another. In current implementation, it only copies the cut's name of the RHS on the LHS. <a href="#cff560f2c6a663345c81f95df905956e"></a><br></td></tr> |
129 |
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
130 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UInt_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#0525bd3c71dbd445f817c163d56562d5">_nEv</a></td></tr> |
131 |
|
132 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of analyzed events. <a href="#0525bd3c71dbd445f817c163d56562d5"></a><br></td></tr> |
133 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UInt_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#eacb32030a52b4353861159e3ca098d0">_nGood</a></td></tr> |
134 |
|
135 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of good events. <a href="#eacb32030a52b4353861159e3ca098d0"></a><br></td></tr> |
136 |
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> |
137 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCut.html#1eb606f9dab9c7f2fd5d84f834dcf146">_cutName</a></td></tr> |
138 |
|
139 |
</table> |
140 |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
141 |
An abstract class to apply cuts to Pamela data. |
142 |
<p> |
143 |
This class provides a basic interface for a cut object to apply to PamLevel2 data. |
144 |
<p>Definition at line <a class="el" href="PamCutBase_8h_source.html#l00022">22</a> of file <a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>.</p> |
145 |
<hr><h2>Constructor & Destructor Documentation</h2> |
146 |
<a class="anchor" name="a8192c75b3fe95687f6835100d6ee8b9"></a><!-- doxytag: member="PamCut::PamCut" ref="a8192c75b3fe95687f6835100d6ee8b9" args="(const char *cutName)" --> |
147 |
<div class="memitem"> |
148 |
<div class="memproto"> |
149 |
<table class="memname"> |
150 |
<tr> |
151 |
<td class="memname">PamCut::PamCut </td> |
152 |
<td>(</td> |
153 |
<td class="paramtype">const char * </td> |
154 |
<td class="paramname"> <em>cutName</em> </td> |
155 |
<td> ) </td> |
156 |
<td><code> [inline]</code></td> |
157 |
</tr> |
158 |
</table> |
159 |
</div> |
160 |
<div class="memdoc"> |
161 |
|
162 |
<p> |
163 |
Constructor. |
164 |
<p> |
165 |
|
166 |
<p>Definition at line <a class="el" href="PamCutBase_8h_source.html#l00026">26</a> of file <a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>.</p> |
167 |
|
168 |
</div> |
169 |
</div><p> |
170 |
<a class="anchor" name="8a6fb3b6ff60cd514fed53c7a9044790"></a><!-- doxytag: member="PamCut::~PamCut" ref="8a6fb3b6ff60cd514fed53c7a9044790" args="()" --> |
171 |
<div class="memitem"> |
172 |
<div class="memproto"> |
173 |
<table class="memname"> |
174 |
<tr> |
175 |
<td class="memname">virtual PamCut::~PamCut </td> |
176 |
<td>(</td> |
177 |
<td class="paramname"> </td> |
178 |
<td> ) </td> |
179 |
<td><code> [inline, virtual]</code></td> |
180 |
</tr> |
181 |
</table> |
182 |
</div> |
183 |
<div class="memdoc"> |
184 |
|
185 |
<p> |
186 |
Destructor. |
187 |
<p> |
188 |
|
189 |
<p>Definition at line <a class="el" href="PamCutBase_8h_source.html#l00031">31</a> of file <a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>.</p> |
190 |
|
191 |
</div> |
192 |
</div><p> |
193 |
<hr><h2>Member Function Documentation</h2> |
194 |
<a class="anchor" name="132a1a7cf365ff28eca38b7dda1acb7f"></a><!-- doxytag: member="PamCut::ApplyCut" ref="132a1a7cf365ff28eca38b7dda1acb7f" args="(PamLevel2 *event)" --> |
195 |
<div class="memitem"> |
196 |
<div class="memproto"> |
197 |
<table class="memname"> |
198 |
<tr> |
199 |
<td class="memname">int PamCut::ApplyCut </td> |
200 |
<td>(</td> |
201 |
<td class="paramtype">PamLevel2 * </td> |
202 |
<td class="paramname"> <em>event</em> </td> |
203 |
<td> ) </td> |
204 |
<td><code> [virtual]</code></td> |
205 |
</tr> |
206 |
</table> |
207 |
</div> |
208 |
<div class="memdoc"> |
209 |
|
210 |
<p> |
211 |
Applies the cut to the current event. |
212 |
<p> |
213 |
This routine applies the cut to the currently selected event, eg., it calls <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe" title="The basic event check.">Check()</a> and if the event satisfy the selection it consequently call <a class="el" href="classPamCut.html#56021e959232270c12528ddec3062985" title="Post-selection tasks.">OnGood()</a>, otherwise it calls <a class="el" href="classPamCut.html#cbb3b507d79f20878fac4392ffa57acb" title="Post-selection tasks.">OnBad()</a>(this is the only difference with <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe" title="The basic event check.">Check()</a>).<p> |
214 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
215 |
<table border="0" cellspacing="2" cellpadding="0"> |
216 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
217 |
</table> |
218 |
</dl> |
219 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>same return values as <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe" title="The basic event check.">Check()</a> </dd></dl> |
220 |
|
221 |
<p>Reimplemented in <a class="el" href="classBlindCutCollection.html#8d387de8cbc54ff0eab8cff220b49c20">BlindCutCollection</a>, and <a class="el" href="classPamCutCollection.html#e7af429a3afef3685cbd5aa076ef96e5">PamCutCollection</a>.</p> |
222 |
|
223 |
<p>Definition at line <a class="el" href="PamCutBase_8cpp_source.html#l00015">15</a> of file <a class="el" href="PamCutBase_8cpp_source.html">PamCutBase.cpp</a>.</p> |
224 |
|
225 |
<p>References <a class="el" href="PamCutBase_8h_source.html#l00158">_nEv</a>, <a class="el" href="PamCutBase_8h_source.html#l00159">_nGood</a>, <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">Check()</a>, <a class="el" href="CommonDefs_8h_source.html#l00015">CUTOK</a>, <a class="el" href="PamCutBase_8h_source.html#l00087">OnBad()</a>, and <a class="el" href="PamCutBase_8h_source.html#l00076">OnGood()</a>.</p> |
226 |
|
227 |
<p>Referenced by <a class="el" href="PamCutBase_8cpp_source.html#l00030">Process()</a>.</p> |
228 |
|
229 |
</div> |
230 |
</div><p> |
231 |
<a class="anchor" name="a874600461950d1f2b75ce3938f91cbe"></a><!-- doxytag: member="PamCut::Check" ref="a874600461950d1f2b75ce3938f91cbe" args="(PamLevel2 *event)=0" --> |
232 |
<div class="memitem"> |
233 |
<div class="memproto"> |
234 |
<table class="memname"> |
235 |
<tr> |
236 |
<td class="memname">virtual int PamCut::Check </td> |
237 |
<td>(</td> |
238 |
<td class="paramtype">PamLevel2 * </td> |
239 |
<td class="paramname"> <em>event</em> </td> |
240 |
<td> ) </td> |
241 |
<td><code> [pure virtual]</code></td> |
242 |
</tr> |
243 |
</table> |
244 |
</div> |
245 |
<div class="memdoc"> |
246 |
|
247 |
<p> |
248 |
The basic event check. |
249 |
<p> |
250 |
This routine applies the cut to the currently selected event, eg., to the event selected by the last PamLevel2::GetEntry() call performed by the object pointed by event. Note that <a class="el" href="classPamCut.html#56021e959232270c12528ddec3062985" title="Post-selection tasks.">OnGood()</a> is not called by this method.<p> |
251 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
252 |
<table border="0" cellspacing="2" cellpadding="0"> |
253 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
254 |
</table> |
255 |
</dl> |
256 |
<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 event satisfy the cut, other return values are implementation-specific. </dd></dl> |
257 |
|
258 |
<p>Implemented in <a class="el" href="classCARDCut.html#4862d16f307b0108b2f053b9e8d037d3">CARDCut</a>, <a class="el" href="classCATCut.html#3f0de5d967c8cfe8bc9244720bfaf885">CATCut</a>, <a class="el" href="classCaloCrossCut.html#c79de9378fe4816ef37291da64d5a4f0">CaloCrossCut</a>, <a class="el" href="classCaloGeomCut.html#ef28e99e442a7ab58fb8250107ac82e9">CaloGeomCut</a>, <a class="el" href="classCaloIonCut.html#20a353b53560701ba1ba72db42f48083">CaloIonCut</a>, <a class="el" href="classCaloNHitCut.html#54aae0d5514f7bda15297b9cfdceee68">CaloNHitCut</a>, <a class="el" href="classCaloNotIntCut.html#b2b6fd2f100cc967156633edf18a346a">CaloNotIntCut</a>, <a class="el" href="classCaloNucleiZCut.html#af2ac497ae8c5b356eec8d0cfe8a2c7a">CaloNucleiZCut</a>, <a class="el" href="classCaloTrackChi2Cut.html#63fe6418b40b1908a4a9df6ee2920909">CaloTrackChi2Cut</a>, <a class="el" href="classCaloTrackCut.html#c4b3a9ed9d0436a1cbedb49286ff62f0">CaloTrackCut</a>, <a class="el" href="classBlindCutCollection.html#016ee86612e57a50f03c8469d3ed9d1f">BlindCutCollection</a>, <a class="el" href="classAbsTimeCut.html#f7c55e8b9e801a59ea93f9b5b9212c8c">AbsTimeCut</a>, <a class="el" href="classDataQualCut.html#38d0e630a49d113ba6f7d7cc44a663e6">DataQualCut</a>, <a class="el" href="classEvRateS11Cut.html#196fc98a75f1acc3ddef7dc86b5150a1">EvRateS11Cut</a>, <a class="el" href="classGeoFieldCut.html#edb5a8ed5c91d3f2436fe45e979cc778">GeoFieldCut</a>, <a class="el" href="classLTGeoFillCut.html#aee811750d195e71f676db5e240e7f18">LTGeoFillCut</a>, <a class="el" href="classLTQualCut.html#b38dc0bd6b25f899753b4598c278e6a2">LTQualCut</a>, <a class="el" href="classOBTQualCut.html#7731b6f7e6e08ff629550da311952c6a">OBTQualCut</a>, <a class="el" href="classPktQualCut.html#80b1473a595cd2536ae434212bbe00fc">PktQualCut</a>, <a class="el" href="classTrgConfCut.html#5570ce7035bf8638ad3a59b0cadbec4f">TrgConfCut</a>, <a class="el" href="classPamCutCollection.html#85f04cef7b560a37061391dd397813a7">PamCutCollection</a>, <a class="el" href="classTofBetaCut.html#8be0aa44a411b218f7dcf502b53864ff">TofBetaCut</a>, <a class="el" href="classTofBetaRangeCut.html#e9ee404fb4b3435746113d72c9471ec9">TofBetaRangeCut</a>, <a class="el" href="classTofBetaRigCut.html#661c3a16f981d43c28ccea04242a2a17">TofBetaRigCut</a>, <a class="el" href="classTofDedxS1Cut.html#28eb66874012caa199a3d78bf99c59ae">TofDedxS1Cut</a>, <a class="el" href="classTofNucleiZCut.html#86aa8211e4afee39ff38080347bf651d">TofNucleiZCut</a>, <a class="el" href="classTofPatternCut.html#b960628bc87a72be3c8aedab6b036dce">TofPatternCut</a>, <a class="el" href="classTofQualCut.html#b4b8322f9d91ffc647d4279536c446dc">TofQualCut</a>, <a class="el" href="classTofTopS1Cut.html#cd65ae025a3b089d8ea8c1809c023aba">TofTopS1Cut</a>, <a class="el" href="classRigFillCut.html#5441206a7a24f1f5d19dc1a64685fcd4">RigFillCut</a>, <a class="el" href="classTrkCalQualCut.html#1678dc1c169379f1faf1bb2407b1d99a">TrkCalQualCut</a>, <a class="el" href="classTrkChi2DeflCut.html#9a83aea89ca0147ca956c57fed60c2f4">TrkChi2DeflCut</a>, <a class="el" href="classTrkChi2QualCut.html#b3f014b4575ab61bee63ccf991e91e18">TrkChi2QualCut</a>, <a class="el" href="classTrkDedxHCut.html#2d8cd4ed98f290cb803c9720a42ff376">TrkDedxHCut</a>, <a class="el" href="classTrkGeomCut.html#4fef0bbfb92036676974671133e1ce5a">TrkGeomCut</a>, <a class="el" href="classTrkHitQualCut.html#e4327bc3c511827d3d2bcf0b3ed95f86">TrkHitQualCut</a>, <a class="el" href="classTrkIdCut.html#8c5dd8c6e34bd6234ae9bd3178090508">TrkIdCut</a>, <a class="el" href="classTrkIonCut.html#e96a9561ce59c156b6a913545b0960b9">TrkIonCut</a>, <a class="el" href="classTrkNucleiZCut.html#de47cb3c368d7ab12a8a5236de8915a4">TrkNucleiZCut</a>, <a class="el" href="classTrkPhSinCut.html#c9529432c0c9b8667c5c97ea824a7c93">TrkPhSinCut</a>, <a class="el" href="classTrkRigCut.html#00ddc4658bff1f28065ccb91d3eb43e6">TrkRigCut</a>, <a class="el" href="classTrkRigGeoCut.html#d334792be6ca66d01d75bb2f86a57382">TrkRigGeoCut</a>, <a class="el" href="classTrkRigRangeCut.html#ebebf52705ab17ef48ab12ec6d599c37">TrkRigRangeCut</a>, <a class="el" href="classTrkRunValCut.html#2c76ef62866b009e30b208749cf563f5">TrkRunValCut</a>, and <a class="el" href="classTrkSigmaDeflCut.html#8af1e1457f8c5d33b70aa75816188e72">TrkSigmaDeflCut</a>.</p> |
259 |
|
260 |
<p>Referenced by <a class="el" href="PamCutBase_8cpp_source.html#l00015">ApplyCut()</a>.</p> |
261 |
|
262 |
</div> |
263 |
</div><p> |
264 |
<a class="anchor" name="fd74c1565552cabe4aced316df803737"></a><!-- doxytag: member="PamCut::Finalize" ref="fd74c1565552cabe4aced316df803737" args="()" --> |
265 |
<div class="memitem"> |
266 |
<div class="memproto"> |
267 |
<table class="memname"> |
268 |
<tr> |
269 |
<td class="memname">virtual void PamCut::Finalize </td> |
270 |
<td>(</td> |
271 |
<td class="paramname"> </td> |
272 |
<td> ) </td> |
273 |
<td><code> [inline, virtual]</code></td> |
274 |
</tr> |
275 |
</table> |
276 |
</div> |
277 |
<div class="memdoc"> |
278 |
|
279 |
<p> |
280 |
The post-analysis task definition. |
281 |
<p> |
282 |
This method is automatically called by <a class="el" href="classPamCut.html#047b75499ea4457d60397ee5491adcd4" title="Applies the cut to a range of events.">Process()</a> after the event selection has been performed; override this in derived classes to perform post-analysis tasks like writing histograms, closing files and so on. |
283 |
<p>Reimplemented in <a class="el" href="classSmartBlindCollection.html#a78ee7b18b0913554e64b4e560453167">SmartBlindCollection</a>, <a class="el" href="classSmartCollection.html#8105730615ad127a482a7fb399695977">SmartCollection</a>, <a class="el" href="classVerboseBlindCollection.html#43d6ea7b5ea35c5dbb342e23584b79ee">VerboseBlindCollection</a>, <a class="el" href="classVerboseCollection.html#3fcdf28d50507d772647d4306a78f3cc">VerboseCollection</a>, and <a class="el" href="classPamCutCollection.html#15785c75fb13b998422739e741bb5c01">PamCutCollection</a>.</p> |
284 |
|
285 |
<p>Definition at line <a class="el" href="PamCutBase_8h_source.html#l00128">128</a> of file <a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>.</p> |
286 |
|
287 |
<p>Referenced by <a class="el" href="PamCutBase_8cpp_source.html#l00030">Process()</a>.</p> |
288 |
|
289 |
</div> |
290 |
</div><p> |
291 |
<a class="anchor" name="9f14d875c176c2af470838a1b6dc069b"></a><!-- doxytag: member="PamCut::GetName" ref="9f14d875c176c2af470838a1b6dc069b" args="() const " --> |
292 |
<div class="memitem"> |
293 |
<div class="memproto"> |
294 |
<table class="memname"> |
295 |
<tr> |
296 |
<td class="memname">const char * PamCut::GetName </td> |
297 |
<td>(</td> |
298 |
<td class="paramname"> </td> |
299 |
<td> ) </td> |
300 |
<td> const</td> |
301 |
</tr> |
302 |
</table> |
303 |
</div> |
304 |
<div class="memdoc"> |
305 |
|
306 |
<p> |
307 |
Returns the cut name. |
308 |
<p> |
309 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The cut name. </dd></dl> |
310 |
|
311 |
<p>Definition at line <a class="el" href="PamCutBase_8cpp_source.html#l00057">57</a> of file <a class="el" href="PamCutBase_8cpp_source.html">PamCutBase.cpp</a>.</p> |
312 |
|
313 |
<p>References <a class="el" href="PamCutBase_8h_source.html#l00154">_cutName</a>.</p> |
314 |
|
315 |
<p>Referenced by <a class="el" href="VerboseCollection_8cpp_source.html#l00013">VerboseCollection::Finalize()</a>, and <a class="el" href="VerboseBlindCollection_8cpp_source.html#l00013">VerboseBlindCollection::Finalize()</a>.</p> |
316 |
|
317 |
</div> |
318 |
</div><p> |
319 |
<a class="anchor" name="3ae6ebc9dd777e11e0d8ce18948538be"></a><!-- doxytag: member="PamCut::GetNEv" ref="3ae6ebc9dd777e11e0d8ce18948538be" args="()" --> |
320 |
<div class="memitem"> |
321 |
<div class="memproto"> |
322 |
<table class="memname"> |
323 |
<tr> |
324 |
<td class="memname">virtual UInt_t PamCut::GetNEv </td> |
325 |
<td>(</td> |
326 |
<td class="paramname"> </td> |
327 |
<td> ) </td> |
328 |
<td><code> [inline, virtual]</code></td> |
329 |
</tr> |
330 |
</table> |
331 |
</div> |
332 |
<div class="memdoc"> |
333 |
|
334 |
<p> |
335 |
Returns the number of checked events. |
336 |
<p> |
337 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of checked events. </dd></dl> |
338 |
|
339 |
<p>Definition at line <a class="el" href="PamCutBase_8h_source.html#l00094">94</a> of file <a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>.</p> |
340 |
|
341 |
<p>References <a class="el" href="PamCutBase_8h_source.html#l00158">_nEv</a>.</p> |
342 |
|
343 |
<p>Referenced by <a class="el" href="VerboseCollection_8cpp_source.html#l00013">VerboseCollection::Finalize()</a>, and <a class="el" href="VerboseBlindCollection_8cpp_source.html#l00013">VerboseBlindCollection::Finalize()</a>.</p> |
344 |
|
345 |
</div> |
346 |
</div><p> |
347 |
<a class="anchor" name="b8a69206312cfcf6df6897aef973ef4a"></a><!-- doxytag: member="PamCut::GetNGood" ref="b8a69206312cfcf6df6897aef973ef4a" args="()" --> |
348 |
<div class="memitem"> |
349 |
<div class="memproto"> |
350 |
<table class="memname"> |
351 |
<tr> |
352 |
<td class="memname">virtual UInt_t PamCut::GetNGood </td> |
353 |
<td>(</td> |
354 |
<td class="paramname"> </td> |
355 |
<td> ) </td> |
356 |
<td><code> [inline, virtual]</code></td> |
357 |
</tr> |
358 |
</table> |
359 |
</div> |
360 |
<div class="memdoc"> |
361 |
|
362 |
<p> |
363 |
Returns the number of good events. |
364 |
<p> |
365 |
This counter keeps track of how many events have fulfilled the conditions specified in Check.<p> |
366 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of good events. </dd></dl> |
367 |
|
368 |
<p>Definition at line <a class="el" href="PamCutBase_8h_source.html#l00104">104</a> of file <a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>.</p> |
369 |
|
370 |
<p>References <a class="el" href="PamCutBase_8h_source.html#l00159">_nGood</a>.</p> |
371 |
|
372 |
<p>Referenced by <a class="el" href="VerboseCollection_8cpp_source.html#l00013">VerboseCollection::Finalize()</a>, and <a class="el" href="VerboseBlindCollection_8cpp_source.html#l00013">VerboseBlindCollection::Finalize()</a>.</p> |
373 |
|
374 |
</div> |
375 |
</div><p> |
376 |
<a class="anchor" name="cbb3b507d79f20878fac4392ffa57acb"></a><!-- doxytag: member="PamCut::OnBad" ref="cbb3b507d79f20878fac4392ffa57acb" args="(PamLevel2 *event, int selectionResult)" --> |
377 |
<div class="memitem"> |
378 |
<div class="memproto"> |
379 |
<table class="memname"> |
380 |
<tr> |
381 |
<td class="memname">virtual void PamCut::OnBad </td> |
382 |
<td>(</td> |
383 |
<td class="paramtype">PamLevel2 * </td> |
384 |
<td class="paramname"> <em>event</em>, </td> |
385 |
</tr> |
386 |
<tr> |
387 |
<td class="paramkey"></td> |
388 |
<td></td> |
389 |
<td class="paramtype">int </td> |
390 |
<td class="paramname"> <em>selectionResult</em></td><td> </td> |
391 |
</tr> |
392 |
<tr> |
393 |
<td></td> |
394 |
<td>)</td> |
395 |
<td></td><td></td><td><code> [inline, virtual]</code></td> |
396 |
</tr> |
397 |
</table> |
398 |
</div> |
399 |
<div class="memdoc"> |
400 |
|
401 |
<p> |
402 |
Post-selection tasks. |
403 |
<p> |
404 |
The post-selection tasks for bad events (ie., not satisfying the cut) can be defined here.<p> |
405 |
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPamCut.html#56021e959232270c12528ddec3062985" title="Post-selection tasks.">OnGood</a> </dd></dl> |
406 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
407 |
<table border="0" cellspacing="2" cellpadding="0"> |
408 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event which don't satisfy the cut. </td></tr> |
409 |
<tr><td valign="top"></td><td valign="top"><em>selectionResult</em> </td><td>The return value of the <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe" title="The basic event check.">Check()</a> routine. </td></tr> |
410 |
</table> |
411 |
</dl> |
412 |
|
413 |
<p>Reimplemented in <a class="el" href="classSmartBlindCollection.html#f91282918f2ac3966b8ca491ef0ef634">SmartBlindCollection</a>, and <a class="el" href="classSmartCollection.html#99ac049c98461fbe04167f386ca7ed76">SmartCollection</a>.</p> |
414 |
|
415 |
<p>Definition at line <a class="el" href="PamCutBase_8h_source.html#l00087">87</a> of file <a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>.</p> |
416 |
|
417 |
<p>Referenced by <a class="el" href="PamCutBase_8cpp_source.html#l00094">PamCutCollection::ApplyCut()</a>, <a class="el" href="PamCutBase_8cpp_source.html#l00015">ApplyCut()</a>, and <a class="el" href="BlindCutCollection_8cpp_source.html#l00029">BlindCutCollection::ApplyCut()</a>.</p> |
418 |
|
419 |
</div> |
420 |
</div><p> |
421 |
<a class="anchor" name="56021e959232270c12528ddec3062985"></a><!-- doxytag: member="PamCut::OnGood" ref="56021e959232270c12528ddec3062985" args="(PamLevel2 *event)" --> |
422 |
<div class="memitem"> |
423 |
<div class="memproto"> |
424 |
<table class="memname"> |
425 |
<tr> |
426 |
<td class="memname">virtual void PamCut::OnGood </td> |
427 |
<td>(</td> |
428 |
<td class="paramtype">PamLevel2 * </td> |
429 |
<td class="paramname"> <em>event</em> </td> |
430 |
<td> ) </td> |
431 |
<td><code> [inline, virtual]</code></td> |
432 |
</tr> |
433 |
</table> |
434 |
</div> |
435 |
<div class="memdoc"> |
436 |
|
437 |
<p> |
438 |
Post-selection tasks. |
439 |
<p> |
440 |
Here the post-selection actions (histogram filling, parameter calculation etc.) can be defined. This routine is automatically called after a good event has been selected by <a class="el" href="classPamCut.html#132a1a7cf365ff28eca38b7dda1acb7f" title="Applies the cut to the current event.">ApplyCut()</a>. <dl compact><dt><b>Parameters:</b></dt><dd> |
441 |
<table border="0" cellspacing="2" cellpadding="0"> |
442 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event which satisfy the cut. </td></tr> |
443 |
</table> |
444 |
</dl> |
445 |
|
446 |
<p>Reimplemented in <a class="el" href="classSmartBlindCollection.html#d56853747b6484dec74fef529388ea28">SmartBlindCollection</a>, <a class="el" href="classSmartCollection.html#13ce6deb47b60d10225598dd1201cd80">SmartCollection</a>, <a class="el" href="classLTGeoFillCut.html#17593f86005dd51a09a637232797c925">LTGeoFillCut</a>, and <a class="el" href="classRigFillCut.html#537f1b31f208ebe8f190f254be1fdc6c">RigFillCut</a>.</p> |
447 |
|
448 |
<p>Definition at line <a class="el" href="PamCutBase_8h_source.html#l00076">76</a> of file <a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>.</p> |
449 |
|
450 |
<p>Referenced by <a class="el" href="PamCutBase_8cpp_source.html#l00094">PamCutCollection::ApplyCut()</a>, <a class="el" href="PamCutBase_8cpp_source.html#l00015">ApplyCut()</a>, and <a class="el" href="BlindCutCollection_8cpp_source.html#l00029">BlindCutCollection::ApplyCut()</a>.</p> |
451 |
|
452 |
</div> |
453 |
</div><p> |
454 |
<a class="anchor" name="cff560f2c6a663345c81f95df905956e"></a><!-- doxytag: member="PamCut::operator=" ref="cff560f2c6a663345c81f95df905956e" args="(const PamCut &rightValue)" --> |
455 |
<div class="memitem"> |
456 |
<div class="memproto"> |
457 |
<table class="memname"> |
458 |
<tr> |
459 |
<td class="memname"><a class="el" href="classPamCut.html">PamCut</a> & PamCut::operator= </td> |
460 |
<td>(</td> |
461 |
<td class="paramtype">const <a class="el" href="classPamCut.html">PamCut</a> & </td> |
462 |
<td class="paramname"> <em>rightValue</em> </td> |
463 |
<td> ) </td> |
464 |
<td></td> |
465 |
</tr> |
466 |
</table> |
467 |
</div> |
468 |
<div class="memdoc"> |
469 |
|
470 |
<p> |
471 |
The assignment operator. This operator defines how to copy a <a class="el" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a> object into another. In current implementation, it only copies the cut's name of the RHS on the LHS. |
472 |
<p> |
473 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
474 |
<table border="0" cellspacing="2" cellpadding="0"> |
475 |
<tr><td valign="top"></td><td valign="top"><em>rightValue</em> </td><td>The RHS. </td></tr> |
476 |
</table> |
477 |
</dl> |
478 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The new value for LHS. </dd></dl> |
479 |
|
480 |
<p>Definition at line <a class="el" href="PamCutBase_8cpp_source.html#l00065">65</a> of file <a class="el" href="PamCutBase_8cpp_source.html">PamCutBase.cpp</a>.</p> |
481 |
|
482 |
<p>References <a class="el" href="PamCutBase_8h_source.html#l00154">_cutName</a>.</p> |
483 |
|
484 |
</div> |
485 |
</div><p> |
486 |
<a class="anchor" name="047b75499ea4457d60397ee5491adcd4"></a><!-- doxytag: member="PamCut::Process" ref="047b75499ea4457d60397ee5491adcd4" args="(PamLevel2 *events, ULong_t firstEvent, ULong_t lastEvent)" --> |
487 |
<div class="memitem"> |
488 |
<div class="memproto"> |
489 |
<table class="memname"> |
490 |
<tr> |
491 |
<td class="memname">void PamCut::Process </td> |
492 |
<td>(</td> |
493 |
<td class="paramtype">PamLevel2 * </td> |
494 |
<td class="paramname"> <em>events</em>, </td> |
495 |
</tr> |
496 |
<tr> |
497 |
<td class="paramkey"></td> |
498 |
<td></td> |
499 |
<td class="paramtype">ULong_t </td> |
500 |
<td class="paramname"> <em>firstEvent</em>, </td> |
501 |
</tr> |
502 |
<tr> |
503 |
<td class="paramkey"></td> |
504 |
<td></td> |
505 |
<td class="paramtype">ULong_t </td> |
506 |
<td class="paramname"> <em>lastEvent</em></td><td> </td> |
507 |
</tr> |
508 |
<tr> |
509 |
<td></td> |
510 |
<td>)</td> |
511 |
<td></td><td></td><td><code> [virtual]</code></td> |
512 |
</tr> |
513 |
</table> |
514 |
</div> |
515 |
<div class="memdoc"> |
516 |
|
517 |
<p> |
518 |
Applies the cut to a range of events. |
519 |
<p> |
520 |
This method resets the counters calling Reset() and then calls <a class="el" href="classPamCut.html#132a1a7cf365ff28eca38b7dda1acb7f" title="Applies the cut to the current event.">ApplyCut(PamLevel2 *event)</a> for all the events in PamLevel2 argument inside the specified range. After checking all the events, it calls the private method _Finalize(), on which the tasks to be performed after the selection can be defined.<p> |
521 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
522 |
<table border="0" cellspacing="2" cellpadding="0"> |
523 |
<tr><td valign="top"></td><td valign="top"><em>events</em> </td><td>Pointer to PamLevel2 object which contains the events. </td></tr> |
524 |
<tr><td valign="top"></td><td valign="top"><em>firstEvent</em> </td><td>The first event to analyze. Possible values range from 0 to #events - 1. </td></tr> |
525 |
<tr><td valign="top"></td><td valign="top"><em>lastEvent</em> </td><td>The last event to analyze. </td></tr> |
526 |
</table> |
527 |
</dl> |
528 |
|
529 |
<p>Definition at line <a class="el" href="PamCutBase_8cpp_source.html#l00030">30</a> of file <a class="el" href="PamCutBase_8cpp_source.html">PamCutBase.cpp</a>.</p> |
530 |
|
531 |
<p>References <a class="el" href="PamCutBase_8cpp_source.html#l00015">ApplyCut()</a>, <a class="el" href="PamCutBase_8h_source.html#l00128">Finalize()</a>, and <a class="el" href="PamCutBase_8cpp_source.html#l00053">Setup()</a>.</p> |
532 |
|
533 |
</div> |
534 |
</div><p> |
535 |
<a class="anchor" name="276bd306ea0a62cc0effa5dea4118e21"></a><!-- doxytag: member="PamCut::SetName" ref="276bd306ea0a62cc0effa5dea4118e21" args="(const char *newName)" --> |
536 |
<div class="memitem"> |
537 |
<div class="memproto"> |
538 |
<table class="memname"> |
539 |
<tr> |
540 |
<td class="memname">void PamCut::SetName </td> |
541 |
<td>(</td> |
542 |
<td class="paramtype">const char * </td> |
543 |
<td class="paramname"> <em>newName</em> </td> |
544 |
<td> ) </td> |
545 |
<td></td> |
546 |
</tr> |
547 |
</table> |
548 |
</div> |
549 |
<div class="memdoc"> |
550 |
|
551 |
<p> |
552 |
Changes the cut's name. |
553 |
<p> |
554 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
555 |
<table border="0" cellspacing="2" cellpadding="0"> |
556 |
<tr><td valign="top"></td><td valign="top"><em>newName</em> </td><td>The new name. </td></tr> |
557 |
</table> |
558 |
</dl> |
559 |
|
560 |
<p>Definition at line <a class="el" href="PamCutBase_8cpp_source.html#l00061">61</a> of file <a class="el" href="PamCutBase_8cpp_source.html">PamCutBase.cpp</a>.</p> |
561 |
|
562 |
<p>References <a class="el" href="PamCutBase_8h_source.html#l00154">_cutName</a>.</p> |
563 |
|
564 |
</div> |
565 |
</div><p> |
566 |
<a class="anchor" name="e587828903b809c99f9ab5ba97ae6616"></a><!-- doxytag: member="PamCut::Setup" ref="e587828903b809c99f9ab5ba97ae6616" args="(PamLevel2 *events)" --> |
567 |
<div class="memitem"> |
568 |
<div class="memproto"> |
569 |
<table class="memname"> |
570 |
<tr> |
571 |
<td class="memname">void PamCut::Setup </td> |
572 |
<td>(</td> |
573 |
<td class="paramtype">PamLevel2 * </td> |
574 |
<td class="paramname"> <em>events</em> </td> |
575 |
<td> ) </td> |
576 |
<td><code> [virtual]</code></td> |
577 |
</tr> |
578 |
</table> |
579 |
</div> |
580 |
<div class="memdoc"> |
581 |
|
582 |
<p> |
583 |
The pre-analysis task definition. |
584 |
<p> |
585 |
This method is automatically called by <a class="el" href="classPamCut.html#047b75499ea4457d60397ee5491adcd4" title="Applies the cut to a range of events.">Process()</a> before the event selection; override this in derived classes to perform pre-analysis tasks like opening files and so on. In this base class implementation it only resets the counters for examined and good events. The parameter PamLevel2 *events may serve to initialize the analysis (even if in this base class implementation it is unused), so the interface includes it.<p> |
586 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
587 |
<table border="0" cellspacing="2" cellpadding="0"> |
588 |
<tr><td valign="top"></td><td valign="top"><em>events</em> </td><td>The PamLevel2 pointer to the events that will be analyzed.</td></tr> |
589 |
</table> |
590 |
</dl> |
591 |
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPamCut.html#3ae6ebc9dd777e11e0d8ce18948538be" title="Returns the number of checked events.">GetNEv()</a>, <a class="el" href="classPamCut.html#b8a69206312cfcf6df6897aef973ef4a" title="Returns the number of good events.">GetNGood()</a>. </dd></dl> |
592 |
|
593 |
<p>Reimplemented in <a class="el" href="classSmartBlindCollection.html#e59d373921df00a54a8a8401a1ae2baf">SmartBlindCollection</a>, <a class="el" href="classSmartCollection.html#9b5b11a854b9e174218ea516ceffb34c">SmartCollection</a>, and <a class="el" href="classPamCutCollection.html#982821389af5e585688611d733b3a7b0">PamCutCollection</a>.</p> |
594 |
|
595 |
<p>Definition at line <a class="el" href="PamCutBase_8cpp_source.html#l00053">53</a> of file <a class="el" href="PamCutBase_8cpp_source.html">PamCutBase.cpp</a>.</p> |
596 |
|
597 |
<p>References <a class="el" href="PamCutBase_8h_source.html#l00158">_nEv</a>, and <a class="el" href="PamCutBase_8h_source.html#l00159">_nGood</a>.</p> |
598 |
|
599 |
<p>Referenced by <a class="el" href="PamCutBase_8cpp_source.html#l00030">Process()</a>.</p> |
600 |
|
601 |
</div> |
602 |
</div><p> |
603 |
<hr><h2>Member Data Documentation</h2> |
604 |
<a class="anchor" name="1eb606f9dab9c7f2fd5d84f834dcf146"></a><!-- doxytag: member="PamCut::_cutName" ref="1eb606f9dab9c7f2fd5d84f834dcf146" args="" --> |
605 |
<div class="memitem"> |
606 |
<div class="memproto"> |
607 |
<table class="memname"> |
608 |
<tr> |
609 |
<td class="memname">const char* <a class="el" href="classPamCut.html#1eb606f9dab9c7f2fd5d84f834dcf146">PamCut::_cutName</a><code> [private]</code> </td> |
610 |
</tr> |
611 |
</table> |
612 |
</div> |
613 |
<div class="memdoc"> |
614 |
|
615 |
<p> |
616 |
|
617 |
<p>Definition at line <a class="el" href="PamCutBase_8h_source.html#l00154">154</a> of file <a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>.</p> |
618 |
|
619 |
<p>Referenced by <a class="el" href="PamCutBase_8cpp_source.html#l00057">GetName()</a>, <a class="el" href="PamCutBase_8cpp_source.html#l00065">operator=()</a>, and <a class="el" href="PamCutBase_8cpp_source.html#l00061">SetName()</a>.</p> |
620 |
|
621 |
</div> |
622 |
</div><p> |
623 |
<a class="anchor" name="0525bd3c71dbd445f817c163d56562d5"></a><!-- doxytag: member="PamCut::_nEv" ref="0525bd3c71dbd445f817c163d56562d5" args="" --> |
624 |
<div class="memitem"> |
625 |
<div class="memproto"> |
626 |
<table class="memname"> |
627 |
<tr> |
628 |
<td class="memname">UInt_t <a class="el" href="classPamCut.html#0525bd3c71dbd445f817c163d56562d5">PamCut::_nEv</a><code> [protected]</code> </td> |
629 |
</tr> |
630 |
</table> |
631 |
</div> |
632 |
<div class="memdoc"> |
633 |
|
634 |
<p> |
635 |
The number of analyzed events. |
636 |
<p> |
637 |
|
638 |
<p>Definition at line <a class="el" href="PamCutBase_8h_source.html#l00158">158</a> of file <a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>.</p> |
639 |
|
640 |
<p>Referenced by <a class="el" href="PamCutBase_8cpp_source.html#l00094">PamCutCollection::ApplyCut()</a>, <a class="el" href="PamCutBase_8cpp_source.html#l00015">ApplyCut()</a>, <a class="el" href="BlindCutCollection_8cpp_source.html#l00029">BlindCutCollection::ApplyCut()</a>, <a class="el" href="PamCutBase_8h_source.html#l00094">GetNEv()</a>, and <a class="el" href="PamCutBase_8cpp_source.html#l00053">Setup()</a>.</p> |
641 |
|
642 |
</div> |
643 |
</div><p> |
644 |
<a class="anchor" name="eacb32030a52b4353861159e3ca098d0"></a><!-- doxytag: member="PamCut::_nGood" ref="eacb32030a52b4353861159e3ca098d0" args="" --> |
645 |
<div class="memitem"> |
646 |
<div class="memproto"> |
647 |
<table class="memname"> |
648 |
<tr> |
649 |
<td class="memname">UInt_t <a class="el" href="classPamCut.html#eacb32030a52b4353861159e3ca098d0">PamCut::_nGood</a><code> [protected]</code> </td> |
650 |
</tr> |
651 |
</table> |
652 |
</div> |
653 |
<div class="memdoc"> |
654 |
|
655 |
<p> |
656 |
The number of good events. |
657 |
<p> |
658 |
|
659 |
<p>Definition at line <a class="el" href="PamCutBase_8h_source.html#l00159">159</a> of file <a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>.</p> |
660 |
|
661 |
<p>Referenced by <a class="el" href="PamCutBase_8cpp_source.html#l00094">PamCutCollection::ApplyCut()</a>, <a class="el" href="PamCutBase_8cpp_source.html#l00015">ApplyCut()</a>, <a class="el" href="BlindCutCollection_8cpp_source.html#l00029">BlindCutCollection::ApplyCut()</a>, <a class="el" href="PamCutBase_8h_source.html#l00104">GetNGood()</a>, and <a class="el" href="PamCutBase_8cpp_source.html#l00053">Setup()</a>.</p> |
662 |
|
663 |
</div> |
664 |
</div><p> |
665 |
<hr>The documentation for this class was generated from the following files:<ul> |
666 |
<li>PamCutBase/<a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a><li>PamCutBase/<a class="el" href="PamCutBase_8cpp_source.html">PamCutBase.cpp</a></ul> |
667 |
</div> |
668 |
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:40 2009 for PamCut by |
669 |
<a href="http://www.doxygen.org/index.html"> |
670 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
671 |
</body> |
672 |
</html> |