BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
DQADtag.h
Go to the documentation of this file.
1#ifndef DQA_DQADtag_H
2#define DQA_DQADtag_H
3
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
10#include "CLHEP/Vector/ThreeVector.h"
11
16class ITHistSvc;
17
18class DQADtag : public Algorithm {
19
20public:
21 DQADtag(const std::string& name, ISvcLocator* pSvcLocator);
22 StatusCode initialize();
23 StatusCode execute();
24 StatusCode finalize();
25
26private:
27
28 void regTrackHistogram(ITHistSvc*& , string& str);
29 void regPhotonHistogram(ITHistSvc*& , string &str);
30 void regTrackDedxHistogram(ITHistSvc*& , string& str);
31 void regDecayModeHistogram(ITHistSvc*& , string& str);
32 void regKsHistogram(ITHistSvc*& , string& str);
33 void regPi0Histogram(ITHistSvc*& , string& str);
34 void regTrackTofHistogram(ITHistSvc*& , string& str);
35 void fillHistogram(ITHistSvc*& , string str, int NUM, std::string* fillHistName, int tuplenum);
36 void fillHistogram(ITHistSvc*& , string str, int NUM, std::string* fillHistName, NTuple::Tuple*& m_tuple);
37 void fillHistogram(ITHistSvc*& , string str, int NUM, std::string* fillHistName, NTuple::Tuple*& m_tuple,int pi0cut, int kscut);
38 void fillHistogram(ITHistSvc*& , string str, int NUM, std::string* fillHistName, int tuplenum, bool cut);
39 void fillTrackHistogram(ITHistSvc*& , std::string str );
40 void fillTrackDedxHistogram(ITHistSvc*& , std::string str);
41 void fillDecayModeHistogram(ITHistSvc*& , std::string str);
42 void fillKsHistogram(ITHistSvc*& , std::string str);
43 void fillPi0Histogram(ITHistSvc*& , std::string str);
44 void fillTofHistogram(ITHistSvc*& , string str);
45
46 std::string m_trackHistName[10];
47 std::string m_photonHistName[5];
48 std::string m_trackDedxHistName[6];
49 std::string m_trackTofHistName[6];
50 std::string m_decayModeHistName[3];
51 std::string m_KsHistName[4];
52 std::string m_Pi0HistName[5];
53 std::string m_DecayModeItemName[6];
54 std::string m_TrackItemName[11];
55 std::string m_PhotonItemName[6];
56 std::string m_TrackDedxItemName[7];
57 std::string m_TrackTofItemName[8];
58 std::string m_KsItemName[6];
59 std::string m_Pi0ItemName[7];
60// void fillDecayModeItem(DTagToolIterator iter_dtag, string str );
61 void fillDecayModeItem(EvtRecDTag* bestDTag, string str);
62 void fillTrackItem(EvtRecTrack* track, string str, int type, Hep3Vector& xorigin);
63 void fillPhotonItem(EvtRecTrack* shower, string str );
64 int fillTrackDedxItem(EvtRecTrack* track, string str, int type );
65 void fillPi0Item(SmartRefVector<EvtRecTrack> showers, string str, DQAPi0Info* pi0info );
66 void fillKsItem(SmartRefVector<EvtRecTrack> tracks, string str, DQAKsInfo* ksinfo);
67 int fillTrackTofItem(EvtRecTrack* track, string str, int type );
68 // Declare r0, z0 cut for charged tracks
69 double m_vr0cut;
70 double m_vz0cut;
71 double m_cthcut;
72
73 //Declare energy, dang cuts for fake gamma's
74 double m_energyThreshold;
75 double m_energyThreshold_b;
76 double m_energyThreshold_e;
77 double m_gammaAngCut;
78 double m_Barrel_th;
79 double m_Endcap_th_1;
80 double m_Endcap_th_2;
81 double m_mpi0Min;
82 double m_mpi0Max;
83 double m_mpi0MinCut;
84 double m_mpi0MaxCut;
85 double m_mKsMinCut;
86 double m_mKsMaxCut;
87 double m_deltECut;
88 double m_KsDLengthCut;
89
90 double m_beamE;
91 bool m_ReadBeamEFromDB;
92 bool m_readVertex;
93 ReadBeamInfFromDb m_readDb;
94 //
95 VertexFit* m_vtxFit;
96 SecondVertexFit* m_2ndVtxFit;
97 VertexParameter m_vxpar;
98 VertexParameter m_privxpar;
99 int m_checkDedx;
100 int m_checkTof;
101 int m_checkVtx;
102 int m_checkEvt;
103 int m_writeTuple;
104 int m_checkDecayMode;
105 int m_debug;
106 int m_irun;
107 //
108 ITHistSvc* m_thsvc;
109 int m_regHist;
110 IBestDTagSvc* m_bestDSvc;
111
112
113 NTuple::Tuple* m_tuple2;
114 NTuple::Item<long> m_vtxTrkId;
115 NTuple::Item<double> m_vx0;
116 NTuple::Item<double> m_vy0;
117 NTuple::Item<double> m_vz0;
118 NTuple::Item<double> m_vr0;
119 NTuple::Item<double> m_Vct;
120
121 NTuple::Tuple* m_tuple4; // for Dtag
122 NTuple::Item<long> m_run;
123 NTuple::Item<long> m_rec;
124 NTuple::Item<long> m_nch;
125 NTuple::Item<long> m_nneu;
126 NTuple::Item<long> m_numD0Mode;
127 NTuple::Item<double> m_D0_mBC;
128 NTuple::Item<double> m_D0_deltE;
129 NTuple::Item<double> m_D0_mass;
130 NTuple::Item<long> m_numDCMode;
131 NTuple::Item<double> m_DC_mBC;
132 NTuple::Item<double> m_DC_deltE;
133 NTuple::Item<double> m_DC_mass;
134 NTuple::Item<long> m_numAllMode;
135 NTuple::Item<long> m_dtagbeamE;
136 NTuple::Item<long> m_mode;
137 NTuple::Item<long> m_charge;
138 NTuple::Item<long> m_charm;
139 NTuple::Item<double> m_numofchildren;
140 NTuple::Item<double> m_mass;
141 NTuple::Item<double> m_mBC;
142 NTuple::Item<double> m_deltae;
143 NTuple::Item<double> m_e;
144 NTuple::Item<double> m_p;
145 NTuple::Item<double> m_p_CMS;
146 NTuple::Item<long> m_rflag;
147 NTuple::Array<double> m_p4_CMS;
148 NTuple::Item<long> m_nothertrk;
149 NTuple::Item<long> m_ntrk;
150 NTuple::Item<long> m_nothershower;
151 NTuple::Item<long> m_nshower;
152 NTuple::Item<long> m_recNumD02KPi;
153 NTuple::Item<double> m_D02KPi_e;
154 NTuple::Item<double> m_D02KPi_p;
155 NTuple::Item<double> m_D02KPi_deltE;
156 NTuple::Item<double> m_D02KPi_charm;
157 NTuple::Item<double> m_D02KPi_mass;
158 NTuple::Item<double> m_D02KPi_mBC;
159 NTuple::Item<double> m_D02KPi_kaon_pp;
160 NTuple::Item<double> m_D02KPi_pion_pp;
161 NTuple::Item<long> m_D02KPi_kaon_Id;
162 NTuple::Item<long> m_D02KPi_pion_Id;
163 NTuple::Item<double> m_D02KPi_kaon_vx;
164 NTuple::Item<double> m_D02KPi_kaon_vy;
165 NTuple::Item<double> m_D02KPi_kaon_vz;
166 NTuple::Item<double> m_D02KPi_kaon_vr0;
167 NTuple::Item<double> m_D02KPi_kaon_px;
168 NTuple::Item<double> m_D02KPi_kaon_py;
169 NTuple::Item<double> m_D02KPi_kaon_pz;
170 NTuple::Item<double> m_D02KPi_kaon_E;
171 NTuple::Item<double> m_D02KPi_kaon_cos;
172 NTuple::Item<double> m_D02KPi_pion_vx;
173 NTuple::Item<double> m_D02KPi_pion_vy;
174 NTuple::Item<double> m_D02KPi_pion_vz;
175 NTuple::Item<double> m_D02KPi_pion_vr0;
176 NTuple::Item<double> m_D02KPi_pion_px;
177 NTuple::Item<double> m_D02KPi_pion_py;
178 NTuple::Item<double> m_D02KPi_pion_pz;
179 NTuple::Item<double> m_D02KPi_pion_E;
180 NTuple::Item<double> m_D02KPi_pion_cos;
181 NTuple::Item<long> m_recNumD02KPiPi0;
182 NTuple::Item<double> m_D02KPiPi0_e;
183 NTuple::Item<double> m_D02KPiPi0_p;
184 NTuple::Item<double> m_D02KPiPi0_deltE;
185 NTuple::Item<double> m_D02KPiPi0_charm;
186 NTuple::Item<double> m_D02KPiPi0_mass;
187 NTuple::Item<double> m_D02KPiPi0_mBC;
188 NTuple::Item<double> m_D02KPiPi0_kaon_pp;
189 NTuple::Item<double> m_D02KPiPi0_pion_pp;
190 NTuple::Item<double> m_D02KPiPi0_kaon_vx;
191 NTuple::Item<double> m_D02KPiPi0_kaon_vy;
192 NTuple::Item<double> m_D02KPiPi0_kaon_vz;
193 NTuple::Item<double> m_D02KPiPi0_kaon_vr0;
194 NTuple::Item<double> m_D02KPiPi0_kaon_px;
195 NTuple::Item<double> m_D02KPiPi0_kaon_py;
196 NTuple::Item<double> m_D02KPiPi0_kaon_pz;
197 NTuple::Item<double> m_D02KPiPi0_kaon_E;
198 NTuple::Item<double> m_D02KPiPi0_kaon_cos;
199 NTuple::Item<double> m_D02KPiPi0_pion_vx;
200 NTuple::Item<double> m_D02KPiPi0_pion_vy;
201 NTuple::Item<double> m_D02KPiPi0_pion_vz;
202 NTuple::Item<double> m_D02KPiPi0_pion_vr0;
203 NTuple::Item<double> m_D02KPiPi0_pion_px;
204 NTuple::Item<double> m_D02KPiPi0_pion_py;
205 NTuple::Item<double> m_D02KPiPi0_pion_pz;
206 NTuple::Item<double> m_D02KPiPi0_pion_E;
207 NTuple::Item<double> m_D02KPiPi0_pion_cos;
208 NTuple::Item<long> m_D02KPiPi0_kaon_Id;
209 NTuple::Item<long> m_D02KPiPi0_pion_Id;
210 NTuple::Item<double> m_D02KPiPi0_pi0mass;
211 NTuple::Item<long> m_D02KPiPi0_photon1_Id;
212 NTuple::Item<long> m_D02KPiPi0_photon2_Id;
213 NTuple::Item<double> m_D02KPiPi0_photon1_E;
214 NTuple::Item<double> m_D02KPiPi0_photon2_E;
215 NTuple::Item<double> m_D02KPiPi0_photon1_cos;
216 NTuple::Item<double> m_D02KPiPi0_photon2_cos;
217 NTuple::Item<long> m_recNumD02KPiPiPi;
218 NTuple::Item<double> m_D02KPiPiPi_e;
219 NTuple::Item<double> m_D02KPiPiPi_p;
220 NTuple::Item<double> m_D02KPiPiPi_deltE;
221 NTuple::Item<double> m_D02KPiPiPi_charm;
222 NTuple::Item<double> m_D02KPiPiPi_mass;
223 NTuple::Item<double> m_D02KPiPiPi_mBC;
224 NTuple::Item<double> m_D02KPiPiPi_kaon_pp;
225 NTuple::Item<double> m_D02KPiPiPi_pion1_pp;
226 NTuple::Item<double> m_D02KPiPiPi_pion2_pp;
227 NTuple::Item<double> m_D02KPiPiPi_pion3_pp;
228 NTuple::Item<long> m_D02KPiPiPi_kaon_Id;
229 NTuple::Item<long> m_D02KPiPiPi_pion1_Id;
230 NTuple::Item<long> m_D02KPiPiPi_pion2_Id;
231 NTuple::Item<long> m_D02KPiPiPi_pion3_Id;
232 NTuple::Item<long> m_recNumD02KPiPiPiPi0;
233 NTuple::Item<double> m_D02KPiPiPiPi0_e;
234 NTuple::Item<double> m_D02KPiPiPiPi0_p;
235 NTuple::Item<double> m_D02KPiPiPiPi0_deltE;
236 NTuple::Item<double> m_D02KPiPiPiPi0_charm;
237 NTuple::Item<double> m_D02KPiPiPiPi0_mass;
238 NTuple::Item<double> m_D02KPiPiPiPi0_mBC;
239 NTuple::Item<double> m_D02KPiPiPiPi0_kaon_pp;
240 NTuple::Item<double> m_D02KPiPiPiPi0_pion1_pp;
241 NTuple::Item<double> m_D02KPiPiPiPi0_pion2_pp;
242 NTuple::Item<double> m_D02KPiPiPiPi0_pion3_pp;
243 NTuple::Item<long> m_D02KPiPiPiPi0_kaon_Id;
244 NTuple::Item<long> m_D02KPiPiPiPi0_pion1_Id;
245 NTuple::Item<long> m_D02KPiPiPiPi0_pion2_Id;
246 NTuple::Item<long> m_D02KPiPiPiPi0_pion3_Id;
247 NTuple::Item<double> m_D02KPiPiPiPi0_pi0mass;
248 NTuple::Item<long> m_D02KPiPiPiPi0_photon1_Id;
249 NTuple::Item<long> m_D02KPiPiPiPi0_photon2_Id;
250 NTuple::Item<double> m_D02KPiPiPiPi0_photon1_E;
251 NTuple::Item<double> m_D02KPiPiPiPi0_photon2_E;
252 NTuple::Item<double> m_D02KPiPiPiPi0_photon1_cos;
253 NTuple::Item<double> m_D02KPiPiPiPi0_photon2_cos;
254 NTuple::Item<long> m_recNumD02KsPiPi;
255 NTuple::Item<double> m_D02KsPiPi_e;
256 NTuple::Item<double> m_D02KsPiPi_p;
257 NTuple::Item<double> m_D02KsPiPi_deltE;
258 NTuple::Item<double> m_D02KsPiPi_charm;
259 NTuple::Item<double> m_D02KsPiPi_mass;
260 NTuple::Item<double> m_D02KsPiPi_mBC;
261 NTuple::Item<double> m_D02KsPiPi_pion1_pp;
262 NTuple::Item<double> m_D02KsPiPi_pion2_pp;
263 NTuple::Item<double> m_D02KsPiPi_pion3_pp;
264 NTuple::Item<double> m_D02KsPiPi_pion4_pp;
265 NTuple::Item<long> m_D02KsPiPi_pion1_Id;
266 NTuple::Item<long> m_D02KsPiPi_pion2_Id;
267 NTuple::Item<long> m_D02KsPiPi_pion3_Id;
268 NTuple::Item<long> m_D02KsPiPi_pion4_Id;
269 NTuple::Item<double> m_D02KsPiPi_pion1_vx;
270 NTuple::Item<double> m_D02KsPiPi_pion1_vy;
271 NTuple::Item<double> m_D02KsPiPi_pion1_vz;
272 NTuple::Item<double> m_D02KsPiPi_pion1_vr0;
273 NTuple::Item<double> m_D02KsPiPi_pion1_px;
274 NTuple::Item<double> m_D02KsPiPi_pion1_py;
275 NTuple::Item<double> m_D02KsPiPi_pion1_pz;
276 NTuple::Item<double> m_D02KsPiPi_pion1_E;
277 NTuple::Item<double> m_D02KsPiPi_pion1_cos;
278 NTuple::Item<double> m_D02KsPiPi_pion2_vx;
279 NTuple::Item<double> m_D02KsPiPi_pion2_vy;
280 NTuple::Item<double> m_D02KsPiPi_pion2_vz;
281 NTuple::Item<double> m_D02KsPiPi_pion2_vr0;
282 NTuple::Item<double> m_D02KsPiPi_pion2_px;
283 NTuple::Item<double> m_D02KsPiPi_pion2_py;
284 NTuple::Item<double> m_D02KsPiPi_pion2_pz;
285 NTuple::Item<double> m_D02KsPiPi_pion2_E;
286 NTuple::Item<double> m_D02KsPiPi_pion2_cos;
287 NTuple::Item<double> m_D02KsPiPi_pion3_vx;
288 NTuple::Item<double> m_D02KsPiPi_pion3_vy;
289 NTuple::Item<double> m_D02KsPiPi_pion3_vz;
290 NTuple::Item<double> m_D02KsPiPi_pion3_vr0;
291 NTuple::Item<double> m_D02KsPiPi_pion3_px;
292 NTuple::Item<double> m_D02KsPiPi_pion3_py;
293 NTuple::Item<double> m_D02KsPiPi_pion3_pz;
294 NTuple::Item<double> m_D02KsPiPi_pion3_E;
295 NTuple::Item<double> m_D02KsPiPi_pion3_cos;
296 NTuple::Item<double> m_D02KsPiPi_pion4_vx;
297 NTuple::Item<double> m_D02KsPiPi_pion4_vy;
298 NTuple::Item<double> m_D02KsPiPi_pion4_vz;
299 NTuple::Item<double> m_D02KsPiPi_pion4_vr0;
300 NTuple::Item<double> m_D02KsPiPi_pion4_px;
301 NTuple::Item<double> m_D02KsPiPi_pion4_py;
302 NTuple::Item<double> m_D02KsPiPi_pion4_pz;
303 NTuple::Item<double> m_D02KsPiPi_pion4_E;
304 NTuple::Item<double> m_D02KsPiPi_pion4_cos;
305 NTuple::Item<double> m_D02KsPiPi_ks_mass;
306 NTuple::Item<double> m_D02KsPiPi_ks_vfitmass;
307 NTuple::Item<double> m_D02KsPiPi_ks_pvchi2;
308 NTuple::Item<double> m_D02KsPiPi_ks_svchi2;
309 NTuple::Item<double> m_D02KsPiPi_ks_dLength;
310 NTuple::Item<double> m_D02KsPiPi_ks_dLengthErrorRatio;
311 NTuple::Item<long> m_recNumD02KsPiPiPi0;
312 NTuple::Item<double> m_D02KsPiPiPi0_e;
313 NTuple::Item<double> m_D02KsPiPiPi0_p;
314 NTuple::Item<double> m_D02KsPiPiPi0_deltE;
315 NTuple::Item<double> m_D02KsPiPiPi0_charm;
316 NTuple::Item<double> m_D02KsPiPiPi0_mass;
317 NTuple::Item<double> m_D02KsPiPiPi0_mBC;
318 NTuple::Item<double> m_D02KsPiPiPi0_pion1_pp;
319 NTuple::Item<double> m_D02KsPiPiPi0_pion2_pp;
320 NTuple::Item<double> m_D02KsPiPiPi0_pion3_pp;
321 NTuple::Item<double> m_D02KsPiPiPi0_pion4_pp;
322 NTuple::Item<long> m_D02KsPiPiPi0_pion1_Id;
323 NTuple::Item<long> m_D02KsPiPiPi0_pion2_Id;
324 NTuple::Item<long> m_D02KsPiPiPi0_pion3_Id;
325 NTuple::Item<long> m_D02KsPiPiPi0_pion4_Id;
326 NTuple::Item<double> m_D02KsPiPiPi0_pi0mass;
327 NTuple::Item<long> m_D02KsPiPiPi0_photon1_Id;
328 NTuple::Item<long> m_D02KsPiPiPi0_photon2_Id;
329 NTuple::Item<double> m_D02KsPiPiPi0_photon1_E;
330 NTuple::Item<double> m_D02KsPiPiPi0_photon2_E;
331 NTuple::Item<double> m_D02KsPiPiPi0_photon1_cos;
332 NTuple::Item<double> m_D02KsPiPiPi0_photon2_cos;
333 NTuple::Item<double> m_D02KsPiPiPi0_ks_mass;
334 NTuple::Item<double> m_D02KsPiPiPi0_ks_vfitmass;
335 NTuple::Item<double> m_D02KsPiPiPi0_ks_pvchi2;
336 NTuple::Item<double> m_D02KsPiPiPi0_ks_svchi2;
337 NTuple::Item<double> m_D02KsPiPiPi0_ks_dLength;
338 NTuple::Item<double> m_D02KsPiPiPi0_ks_dLengthErrorRatio;
339 NTuple::Item<long> m_recNumDC2KPiPi;
340 NTuple::Item<double> m_DC2KPiPi_e;
341 NTuple::Item<double> m_DC2KPiPi_p;
342 NTuple::Item<double> m_DC2KPiPi_deltE;
343 NTuple::Item<double> m_DC2KPiPi_charge;
344 NTuple::Item<double> m_DC2KPiPi_charm;
345 NTuple::Item<double> m_DC2KPiPi_mass;
346 NTuple::Item<double> m_DC2KPiPi_mBC;
347 NTuple::Item<double> m_DC2KPiPi_kaon_pp;
348 NTuple::Item<double> m_DC2KPiPi_pion1_pp;
349 NTuple::Item<double> m_DC2KPiPi_pion2_pp;
350 NTuple::Item<long> m_DC2KPiPi_kaon_Id;
351 NTuple::Item<long> m_DC2KPiPi_pion1_Id;
352 NTuple::Item<long> m_DC2KPiPi_pion2_Id;
353 NTuple::Item<double> m_DC2KPiPi_kaon_vx;
354 NTuple::Item<double> m_DC2KPiPi_kaon_vy;
355 NTuple::Item<double> m_DC2KPiPi_kaon_vz;
356 NTuple::Item<double> m_DC2KPiPi_kaon_vr0;
357 NTuple::Item<double> m_DC2KPiPi_kaon_px;
358 NTuple::Item<double> m_DC2KPiPi_kaon_py;
359 NTuple::Item<double> m_DC2KPiPi_kaon_pz;
360 NTuple::Item<double> m_DC2KPiPi_kaon_E;
361 NTuple::Item<double> m_DC2KPiPi_kaon_cos;
362 NTuple::Item<double> m_DC2KPiPi_pion1_vx;
363 NTuple::Item<double> m_DC2KPiPi_pion1_vy;
364 NTuple::Item<double> m_DC2KPiPi_pion1_vz;
365 NTuple::Item<double> m_DC2KPiPi_pion1_vr0;
366 NTuple::Item<double> m_DC2KPiPi_pion1_px;
367 NTuple::Item<double> m_DC2KPiPi_pion1_py;
368 NTuple::Item<double> m_DC2KPiPi_pion1_pz;
369 NTuple::Item<double> m_DC2KPiPi_pion1_E;
370 NTuple::Item<double> m_DC2KPiPi_pion1_cos;
371 NTuple::Item<double> m_DC2KPiPi_pion2_vx;
372 NTuple::Item<double> m_DC2KPiPi_pion2_vy;
373 NTuple::Item<double> m_DC2KPiPi_pion2_vz;
374 NTuple::Item<double> m_DC2KPiPi_pion2_vr0;
375 NTuple::Item<double> m_DC2KPiPi_pion2_px;
376 NTuple::Item<double> m_DC2KPiPi_pion2_py;
377 NTuple::Item<double> m_DC2KPiPi_pion2_pz;
378 NTuple::Item<double> m_DC2KPiPi_pion2_E;
379 NTuple::Item<double> m_DC2KPiPi_pion2_cos;
380 NTuple::Item<long> m_recNumDC2KPiPiPi0;
381 NTuple::Item<double> m_DC2KPiPiPi0_e;
382 NTuple::Item<double> m_DC2KPiPiPi0_p;
383 NTuple::Item<double> m_DC2KPiPiPi0_deltE;
384 NTuple::Item<double> m_DC2KPiPiPi0_charge;
385 NTuple::Item<double> m_DC2KPiPiPi0_charm;
386 NTuple::Item<double> m_DC2KPiPiPi0_mass;
387 NTuple::Item<double> m_DC2KPiPiPi0_mBC;
388 NTuple::Item<double> m_DC2KPiPiPi0_kaon_pp;
389 NTuple::Item<double> m_DC2KPiPiPi0_pion1_pp;
390 NTuple::Item<double> m_DC2KPiPiPi0_pion2_pp;
391 NTuple::Item<double> m_DC2KPiPiPi0_kaon_vx;
392 NTuple::Item<double> m_DC2KPiPiPi0_kaon_vy;
393 NTuple::Item<double> m_DC2KPiPiPi0_kaon_vz;
394 NTuple::Item<double> m_DC2KPiPiPi0_kaon_vr0;
395 NTuple::Item<double> m_DC2KPiPiPi0_kaon_px;
396 NTuple::Item<double> m_DC2KPiPiPi0_kaon_py;
397 NTuple::Item<double> m_DC2KPiPiPi0_kaon_pz;
398 NTuple::Item<double> m_DC2KPiPiPi0_kaon_E;
399 NTuple::Item<double> m_DC2KPiPiPi0_kaon_cos;
400 NTuple::Item<double> m_DC2KPiPiPi0_pion1_vx;
401 NTuple::Item<double> m_DC2KPiPiPi0_pion1_vy;
402 NTuple::Item<double> m_DC2KPiPiPi0_pion1_vz;
403 NTuple::Item<double> m_DC2KPiPiPi0_pion1_vr0;
404 NTuple::Item<double> m_DC2KPiPiPi0_pion1_px;
405 NTuple::Item<double> m_DC2KPiPiPi0_pion1_py;
406 NTuple::Item<double> m_DC2KPiPiPi0_pion1_pz;
407 NTuple::Item<double> m_DC2KPiPiPi0_pion1_E;
408 NTuple::Item<double> m_DC2KPiPiPi0_pion1_cos;
409 NTuple::Item<double> m_DC2KPiPiPi0_pion2_vx;
410 NTuple::Item<double> m_DC2KPiPiPi0_pion2_vy;
411 NTuple::Item<double> m_DC2KPiPiPi0_pion2_vz;
412 NTuple::Item<double> m_DC2KPiPiPi0_pion2_vr0;
413 NTuple::Item<double> m_DC2KPiPiPi0_pion2_px;
414 NTuple::Item<double> m_DC2KPiPiPi0_pion2_py;
415 NTuple::Item<double> m_DC2KPiPiPi0_pion2_pz;
416 NTuple::Item<double> m_DC2KPiPiPi0_pion2_E;
417 NTuple::Item<double> m_DC2KPiPiPi0_pion2_cos;
418 NTuple::Item<long> m_DC2KPiPiPi0_kaon_Id;
419 NTuple::Item<long> m_DC2KPiPiPi0_pion1_Id;
420 NTuple::Item<long> m_DC2KPiPiPi0_pion2_Id;
421 NTuple::Item<double> m_DC2KPiPiPi0_pi0mass;
422 NTuple::Item<long> m_DC2KPiPiPi0_photon1_Id;
423 NTuple::Item<long> m_DC2KPiPiPi0_photon2_Id;
424 NTuple::Item<double> m_DC2KPiPiPi0_photon1_E;
425 NTuple::Item<double> m_DC2KPiPiPi0_photon2_E;
426 NTuple::Item<double> m_DC2KPiPiPi0_photon1_cos;
427 NTuple::Item<double> m_DC2KPiPiPi0_photon2_cos;
428 NTuple::Item<long> m_recNumDC2KsPiPi0;
429 NTuple::Item<double> m_DC2KsPiPi0_e;
430 NTuple::Item<double> m_DC2KsPiPi0_p;
431 NTuple::Item<double> m_DC2KsPiPi0_deltE;
432 NTuple::Item<double> m_DC2KsPiPi0_charge;
433 NTuple::Item<double> m_DC2KsPiPi0_charm;
434 NTuple::Item<double> m_DC2KsPiPi0_mass;
435 NTuple::Item<double> m_DC2KsPiPi0_mBC;
436 NTuple::Item<double> m_DC2KsPiPi0_pion1_pp;
437 NTuple::Item<double> m_DC2KsPiPi0_pion2_pp;
438 NTuple::Item<double> m_DC2KsPiPi0_pion3_pp;
439 NTuple::Item<double> m_DC2KsPiPi0_pion1_vx;
440 NTuple::Item<double> m_DC2KsPiPi0_pion1_vy;
441 NTuple::Item<double> m_DC2KsPiPi0_pion1_vz;
442 NTuple::Item<double> m_DC2KsPiPi0_pion1_vr0;
443 NTuple::Item<double> m_DC2KsPiPi0_pion1_px;
444 NTuple::Item<double> m_DC2KsPiPi0_pion1_py;
445 NTuple::Item<double> m_DC2KsPiPi0_pion1_pz;
446 NTuple::Item<double> m_DC2KsPiPi0_pion1_E;
447 NTuple::Item<double> m_DC2KsPiPi0_pion1_cos;
448 NTuple::Item<double> m_DC2KsPiPi0_pion2_vx;
449 NTuple::Item<double> m_DC2KsPiPi0_pion2_vy;
450 NTuple::Item<double> m_DC2KsPiPi0_pion2_vz;
451 NTuple::Item<double> m_DC2KsPiPi0_pion2_vr0;
452 NTuple::Item<double> m_DC2KsPiPi0_pion2_px;
453 NTuple::Item<double> m_DC2KsPiPi0_pion2_py;
454 NTuple::Item<double> m_DC2KsPiPi0_pion2_pz;
455 NTuple::Item<double> m_DC2KsPiPi0_pion2_E;
456 NTuple::Item<double> m_DC2KsPiPi0_pion2_cos;
457 NTuple::Item<double> m_DC2KsPiPi0_pion3_vx;
458 NTuple::Item<double> m_DC2KsPiPi0_pion3_vy;
459 NTuple::Item<double> m_DC2KsPiPi0_pion3_vz;
460 NTuple::Item<double> m_DC2KsPiPi0_pion3_vr0;
461 NTuple::Item<double> m_DC2KsPiPi0_pion3_px;
462 NTuple::Item<double> m_DC2KsPiPi0_pion3_py;
463 NTuple::Item<double> m_DC2KsPiPi0_pion3_pz;
464 NTuple::Item<double> m_DC2KsPiPi0_pion3_E;
465 NTuple::Item<double> m_DC2KsPiPi0_pion3_cos;
466 NTuple::Item<long> m_DC2KsPiPi0_pion1_Id;
467 NTuple::Item<long> m_DC2KsPiPi0_pion2_Id;
468 NTuple::Item<long> m_DC2KsPiPi0_pion3_Id;
469 NTuple::Item<double> m_DC2KsPiPi0_pi0mass;
470 NTuple::Item<long> m_DC2KsPiPi0_photon1_Id;
471 NTuple::Item<long> m_DC2KsPiPi0_photon2_Id;
472 NTuple::Item<double> m_DC2KsPiPi0_photon1_E;
473 NTuple::Item<double> m_DC2KsPiPi0_photon2_E;
474 NTuple::Item<double> m_DC2KsPiPi0_photon1_cos;
475 NTuple::Item<double> m_DC2KsPiPi0_photon2_cos;
476 NTuple::Item<double> m_DC2KsPiPi0_ks_mass;
477 NTuple::Item<double> m_DC2KsPiPi0_ks_vfitmass;
478 NTuple::Item<double> m_DC2KsPiPi0_ks_pvchi2;
479 NTuple::Item<double> m_DC2KsPiPi0_ks_svchi2;
480 NTuple::Item<double> m_DC2KsPiPi0_ks_dLength;
481 NTuple::Item<double> m_DC2KsPiPi0_ks_dLengthErrorRatio;
482 NTuple::Item<long> m_recNumDC2KsPiPiPi;
483 NTuple::Item<double> m_DC2KsPiPiPi_e;
484 NTuple::Item<double> m_DC2KsPiPiPi_p;
485 NTuple::Item<double> m_DC2KsPiPiPi_deltE;
486 NTuple::Item<double> m_DC2KsPiPiPi_charge;
487 NTuple::Item<double> m_DC2KsPiPiPi_charm;
488 NTuple::Item<double> m_DC2KsPiPiPi_mass;
489 NTuple::Item<double> m_DC2KsPiPiPi_mBC;
490 NTuple::Item<double> m_DC2KsPiPiPi_pion1_pp;
491 NTuple::Item<double> m_DC2KsPiPiPi_pion2_pp;
492 NTuple::Item<double> m_DC2KsPiPiPi_pion3_pp;
493 NTuple::Item<double> m_DC2KsPiPiPi_pion4_pp;
494 NTuple::Item<double> m_DC2KsPiPiPi_pion5_pp;
495 NTuple::Item<long> m_DC2KsPiPiPi_pion1_Id;
496 NTuple::Item<long> m_DC2KsPiPiPi_pion2_Id;
497 NTuple::Item<long> m_DC2KsPiPiPi_pion3_Id;
498 NTuple::Item<long> m_DC2KsPiPiPi_pion4_Id;
499 NTuple::Item<long> m_DC2KsPiPiPi_pion5_Id;
500 NTuple::Item<double> m_DC2KsPiPiPi_ks_mass;
501 NTuple::Item<double> m_DC2KsPiPiPi_ks_vfitmass;
502 NTuple::Item<double> m_DC2KsPiPiPi_ks_pvchi2;
503 NTuple::Item<double> m_DC2KsPiPiPi_ks_svchi2;
504 NTuple::Item<double> m_DC2KsPiPiPi_ks_dLength;
505 NTuple::Item<double> m_DC2KsPiPiPi_ks_dLengthErrorRatio;
506 NTuple::Item<long> m_recNumDC2KKPi;
507 NTuple::Item<double> m_DC2KKPi_e;
508 NTuple::Item<double> m_DC2KKPi_p;
509 NTuple::Item<double> m_DC2KKPi_deltE;
510 NTuple::Item<double> m_DC2KKPi_charge;
511 NTuple::Item<double> m_DC2KKPi_charm;
512 NTuple::Item<double> m_DC2KKPi_mass;
513 NTuple::Item<double> m_DC2KKPi_mBC;
514 NTuple::Item<double> m_DC2KKPi_kaon1_pp;
515 NTuple::Item<double> m_DC2KKPi_kaon2_pp;
516 NTuple::Item<double> m_DC2KKPi_pion_pp;
517 NTuple::Item<long> m_DC2KKPi_kaon1_Id;
518 NTuple::Item<long> m_DC2KKPi_kaon2_Id;
519 NTuple::Item<long> m_DC2KKPi_pion_Id;
520 NTuple::Item<long> m_D02KPi_kaon_Id_Dedx;
521 NTuple::Item<long> m_D02KPi_pion_Id_Dedx;
522 NTuple::Item<double> m_D02KPi_kaon_chipi;
523 NTuple::Item<double> m_D02KPi_kaon_chik;
524 NTuple::Item<double> m_D02KPi_kaon_ghit;
525 NTuple::Item<double> m_D02KPi_kaon_thit;
526 NTuple::Item<double> m_D02KPi_kaon_probPH;
527 NTuple::Item<double> m_D02KPi_kaon_normPH;
528 NTuple::Item<double> m_D02KPi_pion_chipi;
529 NTuple::Item<double> m_D02KPi_pion_chik;
530 NTuple::Item<double> m_D02KPi_pion_ghit;
531 NTuple::Item<double> m_D02KPi_pion_thit;
532 NTuple::Item<double> m_D02KPi_pion_probPH;
533 NTuple::Item<double> m_D02KPi_pion_normPH;
534 NTuple::Item<long> m_D02KPiPi0_kaon_Id_Dedx;
535 NTuple::Item<long> m_D02KPiPi0_pion_Id_Dedx;
536 NTuple::Item<double> m_D02KPiPi0_kaon_chipi;
537 NTuple::Item<double> m_D02KPiPi0_kaon_chik;
538 NTuple::Item<double> m_D02KPiPi0_kaon_ghit;
539 NTuple::Item<double> m_D02KPiPi0_kaon_thit;
540 NTuple::Item<double> m_D02KPiPi0_kaon_probPH;
541 NTuple::Item<double> m_D02KPiPi0_kaon_normPH;
542 NTuple::Item<double> m_D02KPiPi0_pion_chipi;
543 NTuple::Item<double> m_D02KPiPi0_pion_chik;
544 NTuple::Item<double> m_D02KPiPi0_pion_ghit;
545 NTuple::Item<double> m_D02KPiPi0_pion_thit;
546 NTuple::Item<double> m_D02KPiPi0_pion_probPH;
547 NTuple::Item<double> m_D02KPiPi0_pion_normPH;
548 NTuple::Item<long> m_D02KPi_kaon_Id_tof;
549 NTuple::Item<long> m_D02KPi_pion_Id_tof;
550 NTuple::Item<double> m_D02KPi_kaon_ec_toff_mu;
551 NTuple::Item<double> m_D02KPi_kaon_ec_toff_pi;
552 NTuple::Item<double> m_D02KPi_kaon_ec_toff_k;
553 NTuple::Item<long> m_D02KPi_kaon_ec_toff_isEast;
554 NTuple::Array<double> m_D02KPi_kaon_br_toff_mu;
555 NTuple::Array<double> m_D02KPi_kaon_br_toff_pi;
556 NTuple::Array<double> m_D02KPi_kaon_br_toff_k;
557 NTuple::Item<double> m_D02KPi_pion_ec_toff_mu;
558 NTuple::Item<double> m_D02KPi_pion_ec_toff_pi;
559 NTuple::Item<double> m_D02KPi_pion_ec_toff_k;
560 NTuple::Item<long> m_D02KPi_pion_ec_toff_isEast;
561 NTuple::Array<double> m_D02KPi_pion_br_toff_mu;
562 NTuple::Array<double> m_D02KPi_pion_br_toff_pi;
563 NTuple::Array<double> m_D02KPi_pion_br_toff_k;
564 NTuple::Item<long> m_D02KPiPi0_kaon_Id_tof;
565 NTuple::Item<long> m_D02KPiPi0_pion_Id_tof;
566 NTuple::Item<double> m_D02KPiPi0_kaon_ec_toff_mu;
567 NTuple::Item<double> m_D02KPiPi0_kaon_ec_toff_pi;
568 NTuple::Item<double> m_D02KPiPi0_kaon_ec_toff_k;
569 NTuple::Item<long> m_D02KPiPi0_kaon_ec_toff_isEast;
570 NTuple::Array<double> m_D02KPiPi0_kaon_br_toff_mu;
571 NTuple::Array<double> m_D02KPiPi0_kaon_br_toff_pi;
572 NTuple::Array<double> m_D02KPiPi0_kaon_br_toff_k;
573 NTuple::Item<double> m_D02KPiPi0_pion_ec_toff_mu;
574 NTuple::Item<double> m_D02KPiPi0_pion_ec_toff_pi;
575 NTuple::Item<double> m_D02KPiPi0_pion_ec_toff_k;
576 NTuple::Item<long> m_D02KPiPi0_pion_ec_toff_isEast;
577 NTuple::Array<double> m_D02KPiPi0_pion_br_toff_mu;
578 NTuple::Array<double> m_D02KPiPi0_pion_br_toff_pi;
579 NTuple::Array<double> m_D02KPiPi0_pion_br_toff_k;
580 NTuple::Item<long> m_D02KPiPi0_photon1_Id_Emc;
581 NTuple::Item<double> m_D02KPiPi0_photon1_numHits;
582 NTuple::Item<double> m_D02KPiPi0_photon1_secondmoment;
583 NTuple::Item<double> m_D02KPiPi0_photon1_x;
584 NTuple::Item<double> m_D02KPiPi0_photon1_y;
585 NTuple::Item<double> m_D02KPiPi0_photon1_z;
586 NTuple::Item<long> m_D02KPiPi0_photon2_Id_Emc;
587 NTuple::Item<double> m_D02KPiPi0_photon2_numHits;
588 NTuple::Item<double> m_D02KPiPi0_photon2_secondmoment;
589 NTuple::Item<double> m_D02KPiPi0_photon2_x;
590 NTuple::Item<double> m_D02KPiPi0_photon2_y;
591 NTuple::Item<double> m_D02KPiPi0_photon2_z;
592 NTuple::Item<long> m_DC2KPiPi_kaon_Id_tof;
593 NTuple::Item<long> m_DC2KPiPi_pion1_Id_tof;
594 NTuple::Item<long> m_DC2KPiPi_pion2_Id_tof;
595 NTuple::Item<double> m_DC2KPiPi_kaon_ec_toff_mu;
596 NTuple::Item<double> m_DC2KPiPi_kaon_ec_toff_pi;
597 NTuple::Item<double> m_DC2KPiPi_kaon_ec_toff_k;
598 NTuple::Item<long> m_DC2KPiPi_kaon_ec_toff_isEast;
599 NTuple::Array<double> m_DC2KPiPi_kaon_br_toff_mu;
600 NTuple::Array<double> m_DC2KPiPi_kaon_br_toff_pi;
601 NTuple::Array<double> m_DC2KPiPi_kaon_br_toff_k;
602 NTuple::Item<double> m_DC2KPiPi_pion1_ec_toff_mu;
603 NTuple::Item<double> m_DC2KPiPi_pion1_ec_toff_pi;
604 NTuple::Item<double> m_DC2KPiPi_pion1_ec_toff_k;
605 NTuple::Item<long> m_DC2KPiPi_pion1_ec_toff_isEast;
606 NTuple::Array<double> m_DC2KPiPi_pion1_br_toff_mu;
607 NTuple::Array<double> m_DC2KPiPi_pion1_br_toff_pi;
608 NTuple::Array<double> m_DC2KPiPi_pion1_br_toff_k;
609 NTuple::Item<double> m_DC2KPiPi_pion2_ec_toff_mu;
610 NTuple::Item<double> m_DC2KPiPi_pion2_ec_toff_pi;
611 NTuple::Item<double> m_DC2KPiPi_pion2_ec_toff_k;
612 NTuple::Item<long> m_DC2KPiPi_pion2_ec_toff_isEast;
613 NTuple::Array<double> m_DC2KPiPi_pion2_br_toff_mu;
614 NTuple::Array<double> m_DC2KPiPi_pion2_br_toff_pi;
615 NTuple::Array<double> m_DC2KPiPi_pion2_br_toff_k;
616 NTuple::Item<double> m_DC2KPiPi_kaon_chipi;
617 NTuple::Item<double> m_DC2KPiPi_kaon_chik;
618 NTuple::Item<double> m_DC2KPiPi_kaon_ghit;
619 NTuple::Item<double> m_DC2KPiPi_kaon_thit;
620 NTuple::Item<double> m_DC2KPiPi_kaon_probPH;
621 NTuple::Item<double> m_DC2KPiPi_kaon_normPH;
622 NTuple::Item<double> m_DC2KPiPi_pion1_chipi;
623 NTuple::Item<double> m_DC2KPiPi_pion1_chik;
624 NTuple::Item<double> m_DC2KPiPi_pion1_ghit;
625 NTuple::Item<double> m_DC2KPiPi_pion1_thit;
626 NTuple::Item<double> m_DC2KPiPi_pion1_probPH;
627 NTuple::Item<double> m_DC2KPiPi_pion1_normPH;
628 NTuple::Item<double> m_DC2KPiPi_pion2_chipi;
629 NTuple::Item<double> m_DC2KPiPi_pion2_chik;
630 NTuple::Item<double> m_DC2KPiPi_pion2_ghit;
631 NTuple::Item<double> m_DC2KPiPi_pion2_thit;
632 NTuple::Item<double> m_DC2KPiPi_pion2_probPH;
633 NTuple::Item<double> m_DC2KPiPi_pion2_normPH;
634 NTuple::Item<long> m_DC2KPiPi_kaon_Id_Dedx;
635 NTuple::Item<long> m_DC2KPiPi_pion1_Id_Dedx;
636 NTuple::Item<long> m_DC2KPiPi_pion2_Id_Dedx;
637
638 NTuple::Tuple* m_tuple5; // for Event
639 NTuple::Item<long> m_evtrun;
640 NTuple::Item<long> m_evtrec;
641 NTuple::Item<long> m_evtnch;
642 NTuple::Item<long> m_evtnneu;
643 NTuple::Item<double> m_evtbeamE;
644
645 NTuple::Tuple* m_tuple11; // for CheckDedx and CheckTof
646 NTuple::Item<long> m_ngch;
647 NTuple::Array<long> m_trkiddedx;
648 NTuple::Array<double> m_ptrk;
649 NTuple::Array<double> m_chie;
650 NTuple::Array<double> m_chimu;
651 NTuple::Array<double> m_chipi;
652 NTuple::Array<double> m_chik;
653 NTuple::Array<double> m_chip;
654 NTuple::Array<double> m_probPH;
655 NTuple::Array<double> m_normPH;
656 NTuple::Array<double> m_ghit;
657 NTuple::Array<double> m_thit;
658
659 NTuple::Tuple* m_tuple12;
660 NTuple::Item<long> m_ngch2;
661 NTuple::Array<long> m_trkidtof;
662 NTuple::Array<double> m_ptot_etof;
663 NTuple::Array<double> m_cntr_etof;
664 NTuple::Array<double> m_te_etof;
665 NTuple::Array<double> m_tmu_etof;
666 NTuple::Array<double> m_tpi_etof;
667 NTuple::Array<double> m_tk_etof;
668 NTuple::Array<double> m_tp_etof;
669 NTuple::Array<double> m_ph_etof;
670 NTuple::Array<double> m_rhit_etof;
671 NTuple::Array<double> m_qual_etof;
672 NTuple::Array<double> m_ec_toff_e;
673 NTuple::Array<double> m_ec_toff_mu;
674 NTuple::Array<double> m_ec_toff_pi;
675 NTuple::Array<double> m_ec_toff_k;
676 NTuple::Array<double> m_ec_toff_p;
677 NTuple::Array<double> m_ec_tsig_e;
678 NTuple::Array<double> m_ec_tsig_mu;
679 NTuple::Array<double> m_ec_tsig_pi;
680 NTuple::Array<double> m_ec_tsig_k;
681 NTuple::Array<double> m_ec_tsig_p;
682 NTuple::Array<double> m_ec_tof;
683
684 NTuple::Array<double> m_ptot_btof1;
685 NTuple::Array<double> m_cntr_btof1;
686 NTuple::Array<double> m_te_btof1;
687 NTuple::Array<double> m_tmu_btof1;
688 NTuple::Array<double> m_tpi_btof1;
689 NTuple::Array<double> m_tk_btof1;
690 NTuple::Array<double> m_tp_btof1;
691 NTuple::Array<double> m_ph_btof1;
692 NTuple::Array<double> m_zhit_btof1;
693 NTuple::Array<double> m_qual_btof1;
694 NTuple::Array<double> m_b1_toff_e;
695 NTuple::Array<double> m_b1_toff_mu;
696 NTuple::Array<double> m_b1_toff_pi;
697 NTuple::Array<double> m_b1_toff_k;
698 NTuple::Array<double> m_b1_toff_p;
699 NTuple::Array<double> m_b1_tsig_e;
700 NTuple::Array<double> m_b1_tsig_mu;
701 NTuple::Array<double> m_b1_tsig_pi;
702 NTuple::Array<double> m_b1_tsig_k;
703 NTuple::Array<double> m_b1_tsig_p;
704 NTuple::Array<double> m_b1_tof;
705
706 NTuple::Array<double> m_dedx_pid;
707 NTuple::Array<double> m_tof1_pid;
708 NTuple::Array<double> m_tof2_pid;
709 NTuple::Array<double> m_prob_pid;
710 NTuple::Array<double> m_ptrk_pid;
711 NTuple::Array<double> m_cost_pid;
712
713 NTuple::Tuple* m_tuple13;
714 NTuple::Item<long> m_nggneu;
715 NTuple::Array<long> m_shwidtof;
716 NTuple::Array<double> m_numHits; // Total number of hits
717 NTuple::Array<double> m_secondmoment;
718 NTuple::Array<double> m_x; // Shower coordinates and errors
719 NTuple::Array<double> m_y;
720 NTuple::Array<double> m_z;
721 NTuple::Array<double> m_cosemc; // Shower Counter angles and errors
722 NTuple::Array<double> m_phiemc;
723 NTuple::Array<double> m_energy; // Total energy observed in Emc
724 NTuple::Array<double> m_eSeed;
725 NTuple::Array<double> m_e3x3;
726 NTuple::Array<double> m_e5x5;
727 NTuple::Array<double> m_lat;
728 NTuple::Array<double> m_a20;
729 NTuple::Array<double> m_a42;
730};
731#endif
StatusCode initialize()
Definition: DQADtagAlg.cxx:177
StatusCode execute()
Definition: DQADtagAlg.cxx:926
StatusCode finalize()
Char_t cut[200]
Definition: eff.cxx:63