1#ifndef Physics_ControlSample_DQASelHadron_H
2#define Physics_ControlSample_DQASelHadron_H
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
8#include "GaudiKernel/ITHistSvc.h"
28 DQASelHadron(
const std::string& name, ISvcLocator* pSvcLocator);
34 ITHistSvc *m_thistsvc;
71 double m_energyThreshold;
73 double m_gammaThetaCut;
84 double m_etotal_h_cut;
94 NTuple::Tuple* m_tuple1;
95 NTuple::Item<long> m_run ;
96 NTuple::Item<long> m_rec;
97 NTuple::Item<long> m_ncharg;
98 NTuple::Item<long> m_nneu ;
99 NTuple::Item<long> m_ngch ;
100 NTuple::Item<long> m_nGam ;
101 NTuple::Item<long> m_hadrontag ;
103 NTuple::Item<double> m_evis;
104 NTuple::Item<double> m_thr;
105 NTuple::Item<double> m_br;
106 NTuple::Item<double> m_bz;
108 NTuple::Item<double> m_acoll;
109 NTuple::Item<double> m_acopl;
110 NTuple::Item<double> m_deltatof;
111 NTuple::Item<double> m_eop1;
112 NTuple::Item<double> m_eop2;
113 NTuple::Item<double> m_eoeb1;
114 NTuple::Item<double> m_eoeb2;
115 NTuple::Item<double> m_poeb1;
116 NTuple::Item<double> m_poeb2;
117 NTuple::Item<double> m_etoeb1;
118 NTuple::Item<double> m_etoeb2;
119 NTuple::Item<long> m_mucinfo1;
120 NTuple::Item<long> m_mucinfo2;
123 NTuple::Array<double> m_delang ;
124 NTuple::Array<double> m_delphi ;
125 NTuple::Array<double> m_delthe ;
126 NTuple::Array<long> m_nSeed;
127 NTuple::Array<long> m_npart;
128 NTuple::Array<long> m_module;
129 NTuple::Array<long> m_nemchits;
130 NTuple::Array<double> m_x;
131 NTuple::Array<double> m_y;
132 NTuple::Array<double> m_z;
133 NTuple::Array<double> m_dx;
134 NTuple::Array<double> m_dy;
135 NTuple::Array<double> m_dz;
136 NTuple::Array<double> m_dtheta;
137 NTuple::Array<double> m_dphi;
138 NTuple::Array<double> m_theta;
139 NTuple::Array<double> m_phi;
140 NTuple::Array<double> m_energy;
141 NTuple::Array<double> m_dE;
142 NTuple::Array<double> m_eSeed;
143 NTuple::Array<double> m_e3x3;
144 NTuple::Array<double> m_e5x5;
145 NTuple::Array<double> m_secondMoment;
146 NTuple::Array<double> m_latMoment;
147 NTuple::Array<double> m_a20Moment;
148 NTuple::Array<double> m_a42Moment;
149 NTuple::Array<double> m_getTime;
150 NTuple::Array<double> m_getEAll;
155 NTuple::Array<long> m_charge ;
156 NTuple::Array<double> m_vx0 ;
157 NTuple::Array<double> m_vy0 ;
158 NTuple::Array<double> m_vz0 ;
161 NTuple::Array<double> m_px ;
162 NTuple::Array<double> m_py ;
163 NTuple::Array<double> m_pz ;
164 NTuple::Array<double> m_p ;
167 NTuple::Array<double> m_kal_vx0 ;
168 NTuple::Array<double> m_kal_vy0 ;
169 NTuple::Array<double> m_kal_vz0 ;
172 NTuple::Array<double> m_kal_px ;
173 NTuple::Array<double> m_kal_py ;
174 NTuple::Array<double> m_kal_pz ;
175 NTuple::Array<double> m_kal_p ;
180 NTuple::Array<float> m_probPH;
181 NTuple::Array<float> m_normPH;
182 NTuple::Array<float> m_chie ;
183 NTuple::Array<float> m_chimu ;
184 NTuple::Array<float> m_chipi ;
185 NTuple::Array<float> m_chik ;
186 NTuple::Array<float> m_chip ;
187 NTuple::Array<float> m_ghit ;
188 NTuple::Array<float> m_thit ;
190 NTuple::Array<float> m_e_emc ;
191 NTuple::Array<float> m_theta_emc ;
192 NTuple::Array<float> m_phi_emc ;
194 NTuple::Array<float> m_nhit_muc ;
195 NTuple::Array<float> m_nlay_muc;
197 NTuple::Array<double> m_qual_etof ;
198 NTuple::Array<double> m_tof_etof ;
199 NTuple::Array<double> m_te_etof ;
200 NTuple::Array<double> m_tmu_etof ;
201 NTuple::Array<double> m_tpi_etof ;
202 NTuple::Array<double> m_tk_etof ;
203 NTuple::Array<double> m_tp_etof ;
205 NTuple::Array<double> m_qual_btof1 ;
206 NTuple::Array<double> m_tof_btof1 ;
207 NTuple::Array<double> m_te_btof1 ;
208 NTuple::Array<double> m_tmu_btof1 ;
209 NTuple::Array<double> m_tpi_btof1 ;
210 NTuple::Array<double> m_tk_btof1 ;
211 NTuple::Array<double> m_tp_btof1 ;
212 NTuple::Array<double> m_t_btof ;
213 NTuple::Array<double> m_t_etof ;
214 NTuple::Array<double> m_qual_btof2 ;
215 NTuple::Array<double> m_tof_btof2 ;
216 NTuple::Array<double> m_te_btof2 ;
217 NTuple::Array<double> m_tmu_btof2 ;
218 NTuple::Array<double> m_tpi_btof2 ;
219 NTuple::Array<double> m_tk_btof2 ;
220 NTuple::Array<double> m_tp_btof2 ;
221 NTuple::Array<long> m_pidcode;
222 NTuple::Array<double> m_pidprob;
223 NTuple::Array<double> m_pidchiDedx;
224 NTuple::Array<double> m_pidchiTof1;
225 NTuple::Array<double> m_pidchiTof2;
227 NTuple::Item<double> m_px_cms_ep ;
228 NTuple::Item<double> m_py_cms_ep ;
229 NTuple::Item<double> m_pz_cms_ep ;
230 NTuple::Item<double> m_e_cms_ep ;
231 NTuple::Item<double> m_cos_ep ;
232 NTuple::Item<double> m_px_cms_em ;
233 NTuple::Item<double> m_py_cms_em ;
234 NTuple::Item<double> m_pz_cms_em ;
235 NTuple::Item<double> m_e_cms_em ;
236 NTuple::Item<double> m_cos_em ;
237 NTuple::Item<double> m_mass_ee ;
238 NTuple::Item<double> m_emax ;
239 NTuple::Item<double> m_esum ;
240 NTuple::Item<long> m_npip ;
241 NTuple::Item<long> m_npim ;
242 NTuple::Item<long> m_nkp ;
243 NTuple::Item<long> m_nkm ;
244 NTuple::Item<long> m_np ;
245 NTuple::Item<long> m_npb ;
246 NTuple::Item<long> m_nep ;
247 NTuple::Item<long> m_nem ;
248 NTuple::Item<long> m_nmup ;
249 NTuple::Item<long> m_nmum ;