/[PAMELA software]/PamCut/doc/Doxygen/html/classCaloNHitCut.html
ViewVC logotype

Diff of /PamCut/doc/Doxygen/html/classCaloNHitCut.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-fi, Wed May 27 13:30:05 2009 UTC revision 1.2 by pam-fi, Fri Jun 5 13:16:14 2009 UTC
# Line 22  Line 22 
22    </div>    </div>
23  </div>  </div>
24  <div class="contents">  <div class="contents">
25  <h1>CaloNHitCut Class Reference</h1><!-- doxytag: class="CaloNHitCut" --><!-- doxytag: inherits="PamCut" -->The number of hits cut for the calorimeter. An event survives this selection if the number of hit planes in the calorimeter is greater than some value. To save computing time, the class assumes that the track is externally computed for each event and stored in <a class="el" href="classCaloAxis.html">CaloAxis</a> objects; pointers to these objects are passed as arguments to the constructor. The Check method will then ignore the PamLevel2 *event and assume that the current content of the <a class="el" href="classCaloAxis.html">CaloAxis</a> objects are relative to the current event. It is an user's task to ensure that these assumptions are fulfilled every time Check or ApplyCut are called.    <h1>CaloNHitCut Class Reference</h1><!-- doxytag: class="CaloNHitCut" --><!-- doxytag: inherits="PamCut" -->The number of hits cut for the calorimeter. An event survives this selection if the number of hit planes in the calorimeter is greater than some value. To save computing time, the class assumes that the track is externally computed for each event and stored in CaloAxis objects; pointers to these objects are passed as arguments to the constructor. The Check method will then ignore the PamLevel2 *event and assume that the current content of the CaloAxis objects are relative to the current event. It is an user's task to ensure that these assumptions are fulfilled every time Check or ApplyCut are called.  
26  <a href="#_details">More...</a>  <a href="#_details">More...</a>
27  <p>  <p>
28  <code>#include &lt;<a class="el" href="CaloNHitCut_8h_source.html">CaloNHitCut.h</a>&gt;</code>  <code>#include &lt;<a class="el" href="CaloNHitCut_8h_source.html">CaloNHitCut.h</a>&gt;</code>
# Line 41  Inheritance diagram for CaloNHitCut:</di Line 41  Inheritance diagram for CaloNHitCut:</di
41  <a href="classCaloNHitCut-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">  <a href="classCaloNHitCut-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
42  <tr><td></td></tr>  <tr><td></td></tr>
43  <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>  <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
44  <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloNHitCut.html#220d9db8d015f09a97bb7a222f059cd2">CaloNHitCut</a> (const char *cutName, <a class="el" href="classCaloAxis.html">CaloAxis</a> *xCaloAxis, <a class="el" href="classCaloAxis.html">CaloAxis</a> *yCaloAxis, int nMinHit=10)</td></tr>  <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloNHitCut.html#220d9db8d015f09a97bb7a222f059cd2">CaloNHitCut</a> (const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, int nMinHit=10)</td></tr>
45    
46  <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#220d9db8d015f09a97bb7a222f059cd2"></a><br></td></tr>  <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#220d9db8d015f09a97bb7a222f059cd2"></a><br></td></tr>
47  <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloNHitCut.html#97d9858496d6c3f8a47aa2c60d844065">~CaloNHitCut</a> ()</td></tr>  <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97d9858496d6c3f8a47aa2c60d844065"></a><!-- doxytag: member="CaloNHitCut::~CaloNHitCut" ref="97d9858496d6c3f8a47aa2c60d844065" args="()" -->
48    &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloNHitCut.html#97d9858496d6c3f8a47aa2c60d844065">~CaloNHitCut</a> ()</td></tr>
49    
50  <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#97d9858496d6c3f8a47aa2c60d844065"></a><br></td></tr>  <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <br></td></tr>
51  <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloNHitCut.html#54aae0d5514f7bda15297b9cfdceee68">Check</a> (PamLevel2 *event)</td></tr>  <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloNHitCut.html#54aae0d5514f7bda15297b9cfdceee68">Check</a> (PamLevel2 *event)</td></tr>
52    
53  <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The number of hit planes check.  <a href="#54aae0d5514f7bda15297b9cfdceee68"></a><br></td></tr>  <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The number of hit planes check.  <a href="#54aae0d5514f7bda15297b9cfdceee68"></a><br></td></tr>
 <tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>  
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCaloAxis.html">CaloAxis</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloNHitCut.html#30652791bd9af9d61c5a156fc85f922a">_xCaloAxis</a></td></tr>  
   
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCaloAxis.html">CaloAxis</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloNHitCut.html#a2561d175842814d056ffbd99b50ea6e">_yCaloAxis</a></td></tr>  
   
 <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloNHitCut.html#4a261716ce5e71159d2da6414a819a9a">_nMinHit</a></td></tr>  
   
54  </table>  </table>
55  <hr><a name="_details"></a><h2>Detailed Description</h2>  <hr><a name="_details"></a><h2>Detailed Description</h2>
56  The number of hits cut for the calorimeter. An event survives this selection if the number of hit planes in the calorimeter is greater than some value. To save computing time, the class assumes that the track is externally computed for each event and stored in <a class="el" href="classCaloAxis.html">CaloAxis</a> objects; pointers to these objects are passed as arguments to the constructor. The Check method will then ignore the PamLevel2 *event and assume that the current content of the <a class="el" href="classCaloAxis.html">CaloAxis</a> objects are relative to the current event. It is an user's task to ensure that these assumptions are fulfilled every time Check or ApplyCut are called.  The number of hits cut for the calorimeter. An event survives this selection if the number of hit planes in the calorimeter is greater than some value. To save computing time, the class assumes that the track is externally computed for each event and stored in CaloAxis objects; pointers to these objects are passed as arguments to the constructor. The Check method will then ignore the PamLevel2 *event and assume that the current content of the CaloAxis objects are relative to the current event. It is an user's task to ensure that these assumptions are fulfilled every time Check or ApplyCut are called.
57  <p>  <p>
58  CUT DEPENDENCIES: <a class="el" href="classCaloTrackCut.html" title="The calorimeter track cut. Checks for the existence of a track in the calorimeter...">CaloTrackCut</a> for the existence of the track (it can also provide the <a class="el" href="classCaloAxis.html">CaloAxis</a> objects).  CUT DEPENDENCIES: <a class="el" href="classCaloTrackCut.html" title="The calorimeter track cut. Checks for the existence of a track in the calorimeter...">CaloTrackCut</a> for the existence of the track (it can also provide the CaloAxis objects). <hr><h2>Constructor &amp; Destructor Documentation</h2>
 <p>Definition at line <a class="el" href="CaloNHitCut_8h_source.html#l00029">29</a> of file <a class="el" href="CaloNHitCut_8h_source.html">CaloNHitCut.h</a>.</p>  
 <hr><h2>Constructor &amp; Destructor Documentation</h2>  
59  <a class="anchor" name="220d9db8d015f09a97bb7a222f059cd2"></a><!-- doxytag: member="CaloNHitCut::CaloNHitCut" ref="220d9db8d015f09a97bb7a222f059cd2" args="(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, int nMinHit=10)" -->  <a class="anchor" name="220d9db8d015f09a97bb7a222f059cd2"></a><!-- doxytag: member="CaloNHitCut::CaloNHitCut" ref="220d9db8d015f09a97bb7a222f059cd2" args="(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, int nMinHit=10)" -->
60  <div class="memitem">  <div class="memitem">
61  <div class="memproto">  <div class="memproto">
# Line 77  CUT DEPENDENCIES: <a class="el" href="cl Line 69  CUT DEPENDENCIES: <a class="el" href="cl
69          <tr>          <tr>
70            <td class="paramkey"></td>            <td class="paramkey"></td>
71            <td></td>            <td></td>
72            <td class="paramtype"><a class="el" href="classCaloAxis.html">CaloAxis</a> *&nbsp;</td>            <td class="paramtype">CaloAxis *&nbsp;</td>
73            <td class="paramname"> <em>xCaloAxis</em>, </td>            <td class="paramname"> <em>xCaloAxis</em>, </td>
74          </tr>          </tr>
75          <tr>          <tr>
76            <td class="paramkey"></td>            <td class="paramkey"></td>
77            <td></td>            <td></td>
78            <td class="paramtype"><a class="el" href="classCaloAxis.html">CaloAxis</a> *&nbsp;</td>            <td class="paramtype">CaloAxis *&nbsp;</td>
79            <td class="paramname"> <em>yCaloAxis</em>, </td>            <td class="paramname"> <em>yCaloAxis</em>, </td>
80          </tr>          </tr>
81          <tr>          <tr>
# Line 104  CUT DEPENDENCIES: <a class="el" href="cl Line 96  CUT DEPENDENCIES: <a class="el" href="cl
96  <p>  <p>
97  Constructor.  Constructor.
98  <p>  <p>
99  The <a class="el" href="classCaloAxis.html">CaloAxis</a> arguments are pointers to objects which contain the calorimeter track information for current event.<p>  The CaloAxis arguments are pointers to objects which contain the calorimeter track information for current event.<p>
100  <dl compact><dt><b>Parameters:</b></dt><dd>  <dl compact><dt><b>Parameters:</b></dt><dd>
101    <table border="0" cellspacing="2" cellpadding="0">    <table border="0" cellspacing="2" cellpadding="0">
102      <tr><td valign="top"></td><td valign="top"><em>cutName</em>&nbsp;</td><td>The cut name. </td></tr>      <tr><td valign="top"></td><td valign="top"><em>cutName</em>&nbsp;</td><td>The cut name. </td></tr>
103      <tr><td valign="top"></td><td valign="top"><em>xCaloAxis</em>&nbsp;</td><td>The pointer to the <a class="el" href="classCaloAxis.html">CaloAxis</a> object for X axis. </td></tr>      <tr><td valign="top"></td><td valign="top"><em>xCaloAxis</em>&nbsp;</td><td>The pointer to the CaloAxis object for X axis. </td></tr>
104      <tr><td valign="top"></td><td valign="top"><em>yCaloAxis</em>&nbsp;</td><td>The pointer to the <a class="el" href="classCaloAxis.html">CaloAxis</a> object for Y axis. </td></tr>      <tr><td valign="top"></td><td valign="top"><em>yCaloAxis</em>&nbsp;</td><td>The pointer to the CaloAxis object for Y axis. </td></tr>
105      <tr><td valign="top"></td><td valign="top"><em>nMinHit</em>&nbsp;</td><td>The minimum number of hits. </td></tr>      <tr><td valign="top"></td><td valign="top"><em>nMinHit</em>&nbsp;</td><td>The minimum number of hits. </td></tr>
106    </table>    </table>
107  </dl>  </dl>
108    
 <p>Definition at line <a class="el" href="CaloNHitCut_8h_source.html#l00043">43</a> of file <a class="el" href="CaloNHitCut_8h_source.html">CaloNHitCut.h</a>.</p>  
   
 </div>  
 </div><p>  
 <a class="anchor" name="97d9858496d6c3f8a47aa2c60d844065"></a><!-- doxytag: member="CaloNHitCut::~CaloNHitCut" ref="97d9858496d6c3f8a47aa2c60d844065" args="()" -->  
 <div class="memitem">  
 <div class="memproto">  
       <table class="memname">  
         <tr>  
           <td class="memname">CaloNHitCut::~CaloNHitCut           </td>  
           <td>(</td>  
           <td class="paramname">          </td>  
           <td>&nbsp;)&nbsp;</td>  
           <td><code> [inline]</code></td>  
         </tr>  
       </table>  
 </div>  
 <div class="memdoc">  
   
 <p>  
 Destructor.  
 <p>  
   
 <p>Definition at line <a class="el" href="CaloNHitCut_8h_source.html#l00047">47</a> of file <a class="el" href="CaloNHitCut_8h_source.html">CaloNHitCut.h</a>.</p>  
   
109  </div>  </div>
110  </div><p>  </div><p>
111  <hr><h2>Member Function Documentation</h2>  <hr><h2>Member Function Documentation</h2>
# Line 161  Destructor. Line 128  Destructor.
128  <p>  <p>
129  The number of hit planes check.  The number of hit planes check.
130  <p>  <p>
131  The check is done by looking if there is a charge release near the track, using the <a class="el" href="classCaloAxis.html">CaloAxis</a> class. If a charge greater than 0 is found by invoking <a class="el" href="classCaloAxis.html#fa2726b36147a39e2c64d4808aa435e3">CaloAxis::GetQ</a> for at least nMinHit planes (both for X and Y) the condition is fulfilled.<p>  The check is done by looking if there is a charge release near the track, using the CaloAxis class. If a charge greater than 0 is found by invoking CaloAxis::GetQ for at least nMinHit planes (both for X and Y) the condition is fulfilled.<p>
132  <dl compact><dt><b>Parameters:</b></dt><dd>  <dl compact><dt><b>Parameters:</b></dt><dd>
133    <table border="0" cellspacing="2" cellpadding="0">    <table border="0" cellspacing="2" cellpadding="0">
134      <tr><td valign="top"></td><td valign="top"><em>event</em>&nbsp;</td><td>The event to analyze. </td></tr>      <tr><td valign="top"></td><td valign="top"><em>event</em>&nbsp;</td><td>The event to analyze. </td></tr>
# Line 173  The check is done by looking if there is Line 140  The check is done by looking if there is
140    
141  <p>Implements <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">PamCut</a>.</p>  <p>Implements <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">PamCut</a>.</p>
142    
 <p>Definition at line <a class="el" href="CaloNHitCut_8cpp_source.html#l00012">12</a> of file <a class="el" href="CaloNHitCut_8cpp_source.html">CaloNHitCut.cpp</a>.</p>  
   
 <p>References <a class="el" href="CaloNHitCut_8h_source.html#l00065">_nMinHit</a>, <a class="el" href="CaloNHitCut_8h_source.html#l00064">_xCaloAxis</a>, <a class="el" href="CaloNHitCut_8h_source.html#l00064">_yCaloAxis</a>, <a class="el" href="CommonDefs_8h_source.html#l00015">CUTOK</a>, and <a class="el" href="CaloAxis2_8h_source.html#l00274">CaloAxis::GetQ()</a>.</p>  
   
 </div>  
 </div><p>  
 <hr><h2>Member Data Documentation</h2>  
 <a class="anchor" name="4a261716ce5e71159d2da6414a819a9a"></a><!-- doxytag: member="CaloNHitCut::_nMinHit" ref="4a261716ce5e71159d2da6414a819a9a" args="" -->  
 <div class="memitem">  
 <div class="memproto">  
       <table class="memname">  
         <tr>  
           <td class="memname">int <a class="el" href="classCaloNHitCut.html#4a261716ce5e71159d2da6414a819a9a">CaloNHitCut::_nMinHit</a><code> [private]</code>          </td>  
         </tr>  
       </table>  
 </div>  
 <div class="memdoc">  
   
 <p>  
   
 <p>Definition at line <a class="el" href="CaloNHitCut_8h_source.html#l00065">65</a> of file <a class="el" href="CaloNHitCut_8h_source.html">CaloNHitCut.h</a>.</p>  
   
 <p>Referenced by <a class="el" href="CaloNHitCut_8cpp_source.html#l00012">Check()</a>.</p>  
   
 </div>  
 </div><p>  
 <a class="anchor" name="30652791bd9af9d61c5a156fc85f922a"></a><!-- doxytag: member="CaloNHitCut::_xCaloAxis" ref="30652791bd9af9d61c5a156fc85f922a" args="" -->  
 <div class="memitem">  
 <div class="memproto">  
       <table class="memname">  
         <tr>  
           <td class="memname"><a class="el" href="classCaloAxis.html">CaloAxis</a>* <a class="el" href="classCaloNHitCut.html#30652791bd9af9d61c5a156fc85f922a">CaloNHitCut::_xCaloAxis</a><code> [private]</code>          </td>  
         </tr>  
       </table>  
 </div>  
 <div class="memdoc">  
   
 <p>  
   
 <p>Definition at line <a class="el" href="CaloNHitCut_8h_source.html#l00064">64</a> of file <a class="el" href="CaloNHitCut_8h_source.html">CaloNHitCut.h</a>.</p>  
   
 <p>Referenced by <a class="el" href="CaloNHitCut_8cpp_source.html#l00012">Check()</a>.</p>  
   
 </div>  
 </div><p>  
 <a class="anchor" name="a2561d175842814d056ffbd99b50ea6e"></a><!-- doxytag: member="CaloNHitCut::_yCaloAxis" ref="a2561d175842814d056ffbd99b50ea6e" args="" -->  
 <div class="memitem">  
 <div class="memproto">  
       <table class="memname">  
         <tr>  
           <td class="memname"><a class="el" href="classCaloAxis.html">CaloAxis</a> * <a class="el" href="classCaloNHitCut.html#a2561d175842814d056ffbd99b50ea6e">CaloNHitCut::_yCaloAxis</a><code> [private]</code>          </td>  
         </tr>  
       </table>  
 </div>  
 <div class="memdoc">  
   
 <p>  
   
 <p>Definition at line <a class="el" href="CaloNHitCut_8h_source.html#l00064">64</a> of file <a class="el" href="CaloNHitCut_8h_source.html">CaloNHitCut.h</a>.</p>  
   
 <p>Referenced by <a class="el" href="CaloNHitCut_8cpp_source.html#l00012">Check()</a>.</p>  
   
143  </div>  </div>
144  </div><p>  </div><p>
145  <hr>The documentation for this class was generated from the following files:<ul>  <hr>The documentation for this class was generated from the following files:<ul>
146  <li>CaloCuts/CaloNHitCut/<a class="el" href="CaloNHitCut_8h_source.html">CaloNHitCut.h</a><li>CaloCuts/CaloNHitCut/<a class="el" href="CaloNHitCut_8cpp_source.html">CaloNHitCut.cpp</a></ul>  <li>CaloCuts/CaloNHitCut/<a class="el" href="CaloNHitCut_8h_source.html">CaloNHitCut.h</a><li>CaloCuts/CaloNHitCut/<a class="el" href="CaloNHitCut_8cpp.html">CaloNHitCut.cpp</a></ul>
147  </div>  </div>
148  <hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:32 2009 for PamCut by&nbsp;  <hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:09:00 2009 for PamCut by&nbsp;
149  <a href="http://www.doxygen.org/index.html">  <a href="http://www.doxygen.org/index.html">
150  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
151  </body>  </body>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23