1#ifndef Physics_ControlSample_DQASelBhbha_H
2#define Physics_ControlSample_DQASelBhabha_H
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
8#include "GaudiKernel/ITHistSvc.h"
34 ITHistSvc *m_thistsvc;
39 TH1F *m_ee_costheta_ep;
40 TH1F *m_ee_costheta_em;
53 TH1F *m_ee_e_costheta_ep;
54 TH1F *m_ee_e_costheta_em;
64 TH1F *m_ee_b_costheta_ep;
65 TH1F *m_ee_b_costheta_em;
90TH1F * m_ee_pidchidedx_ep;
91TH1F * m_ee_pidchidedx_em;
92TH1F * m_ee_pidchitof1_ep;
93TH1F * m_ee_pidchitof1_em;
94TH1F * m_ee_pidchitof2_ep;
95TH1F * m_ee_pidchitof2_em;
116 double m_energyThreshold;
117 double m_gammaPhiCut;
118 double m_gammaThetaCut;
119 double m_gammaTrkCut;
122 double m_acoll_e_cut;
123 double m_acopl_e_cut;
127 double m_etotal_e_cut;
129 double m_tpoeb_e_cut;
130 double m_tptotal_e_cut;
131 double m_tetotal_e_cut;
135 NTuple::Tuple* m_tuple1;
136 NTuple::Item<long> m_run ;
137 NTuple::Item<long> m_rec;
138 NTuple::Item<long> m_ncharg;
139 NTuple::Item<long> m_nneu ;
140 NTuple::Item<long> m_ngch ;
141 NTuple::Item<long> m_nGam ;
142 NTuple::Item<long> m_bhabhatag ;
144 NTuple::Item<double> m_acoll;
145 NTuple::Item<double> m_acopl;
146 NTuple::Item<double> m_deltatof;
147 NTuple::Item<double> m_eop1;
148 NTuple::Item<double> m_eop2;
149 NTuple::Item<double> m_eoeb1;
150 NTuple::Item<double> m_eoeb2;
151 NTuple::Item<double> m_poeb1;
152 NTuple::Item<double> m_poeb2;
153 NTuple::Item<double> m_etoeb1;
154 NTuple::Item<double> m_etoeb2;
155 NTuple::Item<long> m_mucinfo1;
156 NTuple::Item<long> m_mucinfo2;
159 NTuple::Array<double> m_delang ;
160 NTuple::Array<double> m_delphi ;
161 NTuple::Array<double> m_delthe ;
162 NTuple::Array<long> m_nSeed;
163 NTuple::Array<long> m_npart;
164 NTuple::Array<long> m_module;
165 NTuple::Array<long> m_nemchits;
166 NTuple::Array<double> m_x;
167 NTuple::Array<double> m_y;
168 NTuple::Array<double> m_z;
169 NTuple::Array<double> m_dx;
170 NTuple::Array<double> m_dy;
171 NTuple::Array<double> m_dz;
172 NTuple::Array<double> m_dtheta;
173 NTuple::Array<double> m_dphi;
174 NTuple::Array<double> m_theta;
175 NTuple::Array<double> m_phi;
176 NTuple::Array<double> m_energy;
177 NTuple::Array<double> m_dE;
178 NTuple::Array<double> m_eSeed;
179 NTuple::Array<double> m_e3x3;
180 NTuple::Array<double> m_e5x5;
181 NTuple::Array<double> m_secondMoment;
182 NTuple::Array<double> m_latMoment;
183 NTuple::Array<double> m_a20Moment;
184 NTuple::Array<double> m_a42Moment;
185 NTuple::Array<double> m_getTime;
186 NTuple::Array<double> m_getEAll;
191 NTuple::Array<long> m_charge ;
192 NTuple::Array<double> m_vx0 ;
193 NTuple::Array<double> m_vy0 ;
194 NTuple::Array<double> m_vz0 ;
197 NTuple::Array<double> m_px ;
198 NTuple::Array<double> m_py ;
199 NTuple::Array<double> m_pz ;
200 NTuple::Array<double> m_p ;
203 NTuple::Array<double> m_kal_vx0 ;
204 NTuple::Array<double> m_kal_vy0 ;
205 NTuple::Array<double> m_kal_vz0 ;
208 NTuple::Array<double> m_kal_px ;
209 NTuple::Array<double> m_kal_py ;
210 NTuple::Array<double> m_kal_pz ;
211 NTuple::Array<double> m_kal_p ;
216 NTuple::Array<float> m_probPH;
217 NTuple::Array<float> m_normPH;
218 NTuple::Array<float> m_chie ;
219 NTuple::Array<float> m_chimu ;
220 NTuple::Array<float> m_chipi ;
221 NTuple::Array<float> m_chik ;
222 NTuple::Array<float> m_chip ;
223 NTuple::Array<float> m_ghit ;
224 NTuple::Array<float> m_thit ;
226 NTuple::Array<float> m_e_emc ;
227 NTuple::Array<float> m_theta_emc ;
228 NTuple::Array<float> m_phi_emc ;
230 NTuple::Array<float> m_nhit_muc ;
231 NTuple::Array<float> m_nlay_muc;
233 NTuple::Array<double> m_qual_etof ;
234 NTuple::Array<double> m_tof_etof ;
235 NTuple::Array<double> m_te_etof ;
236 NTuple::Array<double> m_tmu_etof ;
237 NTuple::Array<double> m_tpi_etof ;
238 NTuple::Array<double> m_tk_etof ;
239 NTuple::Array<double> m_tp_etof ;
241 NTuple::Array<double> m_qual_btof1 ;
242 NTuple::Array<double> m_tof_btof1 ;
243 NTuple::Array<double> m_te_btof1 ;
244 NTuple::Array<double> m_tmu_btof1 ;
245 NTuple::Array<double> m_tpi_btof1 ;
246 NTuple::Array<double> m_tk_btof1 ;
247 NTuple::Array<double> m_tp_btof1 ;
248 NTuple::Array<double> m_t_btof ;
249 NTuple::Array<double> m_t_etof ;
250 NTuple::Array<double> m_qual_btof2 ;
251 NTuple::Array<double> m_tof_btof2 ;
252 NTuple::Array<double> m_te_btof2 ;
253 NTuple::Array<double> m_tmu_btof2 ;
254 NTuple::Array<double> m_tpi_btof2 ;
255 NTuple::Array<double> m_tk_btof2 ;
256 NTuple::Array<double> m_tp_btof2 ;
257 NTuple::Array<long> m_pidcode;
258 NTuple::Array<double> m_pidprob;
259 NTuple::Array<double> m_pidchiDedx;
260 NTuple::Array<double> m_pidchiTof1;
261 NTuple::Array<double> m_pidchiTof2;
263 NTuple::Item<double> m_px_cms_ep ;
264 NTuple::Item<double> m_py_cms_ep ;
265 NTuple::Item<double> m_pz_cms_ep ;
266 NTuple::Item<double> m_e_cms_ep ;
267 NTuple::Item<double> m_cos_ep ;
268 NTuple::Item<double> m_px_cms_em ;
269 NTuple::Item<double> m_py_cms_em ;
270 NTuple::Item<double> m_pz_cms_em ;
271 NTuple::Item<double> m_e_cms_em ;
272 NTuple::Item<double> m_cos_em ;
273 NTuple::Item<double> m_mass_ee ;
274 NTuple::Item<double> m_emax ;
275 NTuple::Item<double> m_esum ;
276 NTuple::Item<long> m_npip ;
277 NTuple::Item<long> m_npim ;
278 NTuple::Item<long> m_nkp ;
279 NTuple::Item<long> m_nkm ;
280 NTuple::Item<long> m_np ;
281 NTuple::Item<long> m_npb ;
282 NTuple::Item<long> m_nep ;
283 NTuple::Item<long> m_nem ;
284 NTuple::Item<long> m_nmup ;
285 NTuple::Item<long> m_nmum ;
DQASelBhabha(const std::string &name, ISvcLocator *pSvcLocator)