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: CollectionActions/ChargeHistosAction/ChargeHistosAction.h Source File</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><a href="annotated.html"><span>Classes</span></a></li> |
13 |
<li class="current"><a href="files.html"><span>Files</span></a></li> |
14 |
</ul> |
15 |
</div> |
16 |
<div class="tabs"> |
17 |
<ul> |
18 |
<li><a href="files.html"><span>File List</span></a></li> |
19 |
<li><a href="globals.html"><span>File Members</span></a></li> |
20 |
</ul> |
21 |
</div> |
22 |
<h1>CollectionActions/ChargeHistosAction/ChargeHistosAction.h</h1><a href="ChargeHistosAction_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> |
23 |
<a name="l00002"></a>00002 <span class="comment"> * ChargeHistosAction.h</span> |
24 |
<a name="l00003"></a>00003 <span class="comment"> *</span> |
25 |
<a name="l00004"></a>00004 <span class="comment"> * Created on: 17-mag-2009</span> |
26 |
<a name="l00005"></a>00005 <span class="comment"> * Author: Nicola Mori</span> |
27 |
<a name="l00006"></a>00006 <span class="comment"> */</span> |
28 |
<a name="l00007"></a>00007 |
29 |
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef CHARGEHISTOSACTION_H_</span> |
30 |
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define CHARGEHISTOSACTION_H_</span> |
31 |
<a name="l00012"></a>00012 <span class="preprocessor"></span> |
32 |
<a name="l00013"></a>00013 <span class="preprocessor">#include "TH1.h"</span> |
33 |
<a name="l00014"></a>00014 <span class="preprocessor">#include "TH2.h"</span> |
34 |
<a name="l00015"></a>00015 |
35 |
<a name="l00016"></a>00016 <span class="preprocessor">#ifndef NO_TOFNUCLEI</span> |
36 |
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#include <ToFNuclei.h></span> |
37 |
<a name="l00018"></a>00018 <span class="preprocessor">#endif</span> |
38 |
<a name="l00019"></a>00019 <span class="preprocessor"></span> |
39 |
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef NO_CALONUCLEI</span> |
40 |
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#include <CaloNuclei.h></span> |
41 |
<a name="l00022"></a>00022 <span class="preprocessor">#endif</span> |
42 |
<a name="l00023"></a>00023 <span class="preprocessor"></span> |
43 |
<a name="l00024"></a>00024 <span class="preprocessor">#ifndef NO_TRKNUCLEI</span> |
44 |
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#include <TrkNuclei.h></span> |
45 |
<a name="l00026"></a>00026 <span class="preprocessor">#endif</span> |
46 |
<a name="l00027"></a>00027 <span class="preprocessor"></span> |
47 |
<a name="l00028"></a>00028 <span class="preprocessor">#include "../CollectionAction/CollectionAction.h"</span> |
48 |
<a name="l00029"></a>00029 |
49 |
<a name="l00043"></a><a class="code" href="classChargeHistosAction.html">00043</a> <span class="keyword">class </span><a class="code" href="classChargeHistosAction.html" title="An action that fills some charge histograms.">ChargeHistosAction</a>: <span class="keyword">public</span> <a class="code" href="classCollectionAction.html" title="An abstract class that defines the interface of a generic collection action.">CollectionAction</a> { |
50 |
<a name="l00044"></a>00044 |
51 |
<a name="l00045"></a>00045 <span class="keyword">public</span>: |
52 |
<a name="l00051"></a>00051 <a class="code" href="classChargeHistosAction.html#0d446a2a28970c231b84a85d321db00d" title="Constructor.">ChargeHistosAction</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *actionName, TString outFileName); |
53 |
<a name="l00052"></a>00052 |
54 |
<a name="l00054"></a>00054 <a class="code" href="classChargeHistosAction.html#990afb1de268c2e0e50f2d176b3abf6d" title="Destructor.">~ChargeHistosAction</a>(); |
55 |
<a name="l00055"></a>00055 |
56 |
<a name="l00061"></a>00061 <span class="keywordtype">void</span> <a class="code" href="classChargeHistosAction.html#315d81cbff24a228c85b648393d67107" title="The histogram filling method.">OnGood</a>(PamLevel2 *event); |
57 |
<a name="l00062"></a>00062 |
58 |
<a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="classChargeHistosAction.html#b0aa2e207eea6e8f80c89197f9705dbe" title="Saves the histograms and closes the file.">Finalize</a>(); |
59 |
<a name="l00065"></a>00065 |
60 |
<a name="l00066"></a>00066 <span class="keyword">private</span>: |
61 |
<a name="l00067"></a>00067 |
62 |
<a name="l00068"></a>00068 <span class="preprocessor">#ifndef NO_TOFNUCLEI</span> |
63 |
<a name="l00069"></a>00069 <span class="preprocessor"></span> ToFNuclei *_tofNuclei; |
64 |
<a name="l00070"></a>00070 |
65 |
<a name="l00071"></a>00071 TH1F _chargeS11; |
66 |
<a name="l00072"></a>00072 TH1F _chargeS12; |
67 |
<a name="l00073"></a>00073 TH1F _chargeS21; |
68 |
<a name="l00074"></a>00074 TH1F _chargeS22; |
69 |
<a name="l00075"></a>00075 TH1F _chargeS31; |
70 |
<a name="l00076"></a>00076 TH1F _chargeS32; |
71 |
<a name="l00077"></a>00077 |
72 |
<a name="l00078"></a>00078 TH2F _chCorrS11S12; |
73 |
<a name="l00079"></a>00079 TH2F _chCorrS11S21; |
74 |
<a name="l00080"></a>00080 TH2F _chCorrS11S22; |
75 |
<a name="l00081"></a>00081 TH2F _chCorrS11S31; |
76 |
<a name="l00082"></a>00082 TH2F _chCorrS11S32; |
77 |
<a name="l00083"></a>00083 TH2F _chCorrS12S21; |
78 |
<a name="l00084"></a>00084 TH2F _chCorrS12S22; |
79 |
<a name="l00085"></a>00085 TH2F _chCorrS12S31; |
80 |
<a name="l00086"></a>00086 TH2F _chCorrS12S32; |
81 |
<a name="l00087"></a>00087 TH2F _chCorrS21S22; |
82 |
<a name="l00088"></a>00088 TH2F _chCorrS21S31; |
83 |
<a name="l00089"></a>00089 TH2F _chCorrS21S32; |
84 |
<a name="l00090"></a>00090 TH2F _chCorrS22S31; |
85 |
<a name="l00091"></a>00091 TH2F _chCorrS22S32; |
86 |
<a name="l00092"></a>00092 TH2F _chCorrS31S32; |
87 |
<a name="l00093"></a>00093 <span class="preprocessor">#endif</span> |
88 |
<a name="l00094"></a>00094 <span class="preprocessor"></span> |
89 |
<a name="l00095"></a>00095 <span class="preprocessor">#ifndef NO_CALONUCLEI</span> |
90 |
<a name="l00096"></a>00096 <span class="preprocessor"></span> CaloNuclei *_caloNuclei; |
91 |
<a name="l00097"></a>00097 TH1F _chargeCalo; |
92 |
<a name="l00098"></a>00098 <span class="preprocessor">#endif</span> |
93 |
<a name="l00099"></a>00099 <span class="preprocessor"></span> |
94 |
<a name="l00100"></a>00100 <span class="preprocessor">#ifndef NO_TRKNUCLEI</span> |
95 |
<a name="l00101"></a>00101 <span class="preprocessor"></span> TrkNuclei *_trkNuclei; |
96 |
<a name="l00102"></a>00102 TH1F _chargeTrk; |
97 |
<a name="l00103"></a>00103 <span class="preprocessor">#endif</span> |
98 |
<a name="l00104"></a>00104 <span class="preprocessor"></span> |
99 |
<a name="l00105"></a>00105 TString _outFileName; |
100 |
<a name="l00106"></a>00106 |
101 |
<a name="l00107"></a>00107 }; |
102 |
<a name="l00108"></a>00108 |
103 |
<a name="l00109"></a>00109 <span class="preprocessor">#endif </span><span class="comment">/* CHARGEHISTOSACTION_H_ */</span> |
104 |
</pre></div></div> |
105 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:08:58 2009 for PamCut by |
106 |
<a href="http://www.doxygen.org/index.html"> |
107 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
108 |
</body> |
109 |
</html> |