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: ChargeHistosAction 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>ChargeHistosAction Class Reference</h1><!-- doxytag: class="ChargeHistosAction" --><!-- doxytag: inherits="CollectionAction" -->An action that fills some charge histograms. |
26 |
|
|
<a href="#_details">More...</a> |
27 |
|
|
<p> |
28 |
|
|
<code>#include <<a class="el" href="ChargeHistosAction_8h_source.html">ChargeHistosAction.h</a>></code> |
29 |
|
|
<p> |
30 |
|
|
<div class="dynheader"> |
31 |
|
|
Inheritance diagram for ChargeHistosAction:</div> |
32 |
|
|
<div class="dynsection"> |
33 |
|
|
|
34 |
|
|
<p><center><img src="classChargeHistosAction.png" usemap="#ChargeHistosAction_map" border="0" alt=""></center> |
35 |
|
|
<map name="ChargeHistosAction_map"> |
36 |
|
|
<area href="classCollectionAction.html" alt="CollectionAction" shape="rect" coords="0,0,124,24"> |
37 |
|
|
</map> |
38 |
|
|
</div> |
39 |
|
|
|
40 |
|
|
<p> |
41 |
|
|
<a href="classChargeHistosAction-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="classChargeHistosAction.html#0d446a2a28970c231b84a85d321db00d">ChargeHistosAction</a> (const char *actionName, TString outFileName)</td></tr> |
45 |
|
|
|
46 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#0d446a2a28970c231b84a85d321db00d"></a><br></td></tr> |
47 |
pam-fi |
1.2 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="990afb1de268c2e0e50f2d176b3abf6d"></a><!-- doxytag: member="ChargeHistosAction::~ChargeHistosAction" ref="990afb1de268c2e0e50f2d176b3abf6d" args="()" --> |
48 |
|
|
</td><td class="memItemRight" valign="bottom"><a class="el" href="classChargeHistosAction.html#990afb1de268c2e0e50f2d176b3abf6d">~ChargeHistosAction</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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classChargeHistosAction.html#315d81cbff24a228c85b648393d67107">OnGood</a> (PamLevel2 *event)</td></tr> |
52 |
|
|
|
53 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The histogram filling method. <a href="#315d81cbff24a228c85b648393d67107"></a><br></td></tr> |
54 |
pam-fi |
1.2 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b0aa2e207eea6e8f80c89197f9705dbe"></a><!-- doxytag: member="ChargeHistosAction::Finalize" ref="b0aa2e207eea6e8f80c89197f9705dbe" args="()" --> |
55 |
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classChargeHistosAction.html#b0aa2e207eea6e8f80c89197f9705dbe">Finalize</a> ()</td></tr> |
56 |
pam-fi |
1.1 |
|
57 |
pam-fi |
1.2 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Saves the histograms and closes the file. <br></td></tr> |
58 |
pam-fi |
1.1 |
</table> |
59 |
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2> |
60 |
|
|
An action that fills some charge histograms. |
61 |
|
|
<p> |
62 |
|
|
This class uses ToFNuclei, TrkNuclei and CaloNuclei to compute the charge of the particle and fills various histograms. Note that if the Nuclei routines are not available in the environment it is possible to exclude the corresponding code by passing the appropriate flags to the compiler (see the EXCLUDEFLAGS variable in the PamCut's makefile). Currently, filled histograms are:<ul> |
63 |
|
|
<li>charge from TrkNuclei (Siegen method);</li><li>charge from CaloNuclei (first plane dE/dx Vs. beta);</li><li>charge from each ToF layer (dE/dx Vs. beta);</li><li>charge correlation for each pair of ToF layers. </li></ul> |
64 |
|
|
<hr><h2>Constructor & Destructor Documentation</h2> |
65 |
|
|
<a class="anchor" name="0d446a2a28970c231b84a85d321db00d"></a><!-- doxytag: member="ChargeHistosAction::ChargeHistosAction" ref="0d446a2a28970c231b84a85d321db00d" args="(const char *actionName, TString outFileName)" --> |
66 |
|
|
<div class="memitem"> |
67 |
|
|
<div class="memproto"> |
68 |
|
|
<table class="memname"> |
69 |
|
|
<tr> |
70 |
|
|
<td class="memname">ChargeHistosAction::ChargeHistosAction </td> |
71 |
|
|
<td>(</td> |
72 |
|
|
<td class="paramtype">const char * </td> |
73 |
|
|
<td class="paramname"> <em>actionName</em>, </td> |
74 |
|
|
</tr> |
75 |
|
|
<tr> |
76 |
|
|
<td class="paramkey"></td> |
77 |
|
|
<td></td> |
78 |
|
|
<td class="paramtype">TString </td> |
79 |
|
|
<td class="paramname"> <em>outFileName</em></td><td> </td> |
80 |
|
|
</tr> |
81 |
|
|
<tr> |
82 |
|
|
<td></td> |
83 |
|
|
<td>)</td> |
84 |
|
|
<td></td><td></td><td></td> |
85 |
|
|
</tr> |
86 |
|
|
</table> |
87 |
|
|
</div> |
88 |
|
|
<div class="memdoc"> |
89 |
|
|
|
90 |
|
|
<p> |
91 |
|
|
Constructor. |
92 |
|
|
<p> |
93 |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
94 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
95 |
|
|
<tr><td valign="top"></td><td valign="top"><em>actionName</em> </td><td>The action's name. </td></tr> |
96 |
|
|
<tr><td valign="top"></td><td valign="top"><em>outFileName</em> </td><td>The output ROOT file name. </td></tr> |
97 |
|
|
</table> |
98 |
|
|
</dl> |
99 |
|
|
|
100 |
|
|
</div> |
101 |
|
|
</div><p> |
102 |
|
|
<hr><h2>Member Function Documentation</h2> |
103 |
|
|
<a class="anchor" name="315d81cbff24a228c85b648393d67107"></a><!-- doxytag: member="ChargeHistosAction::OnGood" ref="315d81cbff24a228c85b648393d67107" args="(PamLevel2 *event)" --> |
104 |
|
|
<div class="memitem"> |
105 |
|
|
<div class="memproto"> |
106 |
|
|
<table class="memname"> |
107 |
|
|
<tr> |
108 |
|
|
<td class="memname">void ChargeHistosAction::OnGood </td> |
109 |
|
|
<td>(</td> |
110 |
|
|
<td class="paramtype">PamLevel2 * </td> |
111 |
|
|
<td class="paramname"> <em>event</em> </td> |
112 |
|
|
<td> ) </td> |
113 |
|
|
<td><code> [virtual]</code></td> |
114 |
|
|
</tr> |
115 |
|
|
</table> |
116 |
|
|
</div> |
117 |
|
|
<div class="memdoc"> |
118 |
|
|
|
119 |
|
|
<p> |
120 |
|
|
The histogram filling method. |
121 |
|
|
<p> |
122 |
|
|
This routine fills the charge histograms for the selected event. <dl compact><dt><b>Parameters:</b></dt><dd> |
123 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
124 |
|
|
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The selected event. </td></tr> |
125 |
|
|
</table> |
126 |
|
|
</dl> |
127 |
|
|
|
128 |
pam-fi |
1.2 |
<p>Reimplemented from <a class="el" href="classCollectionAction.html#077319900b1cde36b6baca9e6699ec5a">CollectionAction</a>.</p> |
129 |
pam-fi |
1.1 |
|
130 |
|
|
</div> |
131 |
|
|
</div><p> |
132 |
|
|
<hr>The documentation for this class was generated from the following files:<ul> |
133 |
pam-fi |
1.2 |
<li>CollectionActions/ChargeHistosAction/<a class="el" href="ChargeHistosAction_8h_source.html">ChargeHistosAction.h</a><li>CollectionActions/ChargeHistosAction/<a class="el" href="ChargeHistosAction_8cpp.html">ChargeHistosAction.cpp</a></ul> |
134 |
pam-fi |
1.1 |
</div> |
135 |
pam-fi |
1.2 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:09:01 2009 for PamCut by |
136 |
pam-fi |
1.1 |
<a href="http://www.doxygen.org/index.html"> |
137 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
138 |
|
|
</body> |
139 |
|
|
</html> |