CbmRoot
Loading...
Searching...
No Matches
CbmKresConversionManual.cxx
Go to the documentation of this file.
1/* Copyright (C) 2017-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Ievgenii Kres, Florian Uhlig [committer] */
4
21
22#include "CbmGlobalTrack.h"
24#include "CbmKresConversionBG.h"
25#include "CbmKresFunctions.h"
26#include "CbmL1PFFitter.h"
27#include "CbmMCTrack.h"
28#include "CbmMvdHit.h"
29#include "CbmRichHit.h"
30#include "CbmRichRing.h"
32#include "CbmRichRingLight.h"
33#include "CbmRichUtil.h"
34#include "CbmStsHit.h"
35#include "CbmStsTrack.h"
36#include "CbmTrackMatchNew.h"
37
38#include "FairRootManager.h"
39
40#include <iostream>
41
42#include "KFParticle.h"
43
44using namespace std;
45
47 : fTrain(nullptr)
48 , AnnTrain(0)
49 , fAnnSelection(nullptr)
50 , UseAnn()
51 , fMcTracks(nullptr)
52 , fGlobalTracks(nullptr)
53 , fStsTracks(nullptr)
54 , fStsTrackMatches(nullptr)
55 , fRichProjections(nullptr)
56 , fRichRings(nullptr)
57 , fRichRingMatches(nullptr)
58 , fRichHits(nullptr)
59 , fArrayMvdHit(nullptr)
60 , fArrayStsHit(nullptr)
61 , fPrimVertex(nullptr)
62 , fKFVertex()
63 , fTauFit(nullptr)
64 , fAnaBG(nullptr)
65 , VStsTrack_minus_Outside()
66 , VMCtracks_minus_Outside()
67 , VRings_minus_Outside()
68 , VStsIndex_minus_Outside()
69 , VRichRing_minus_Outside()
70 , VMCIndex_minus_Outside()
71 , VStsTrack_plus_Outside()
72 , VMCtracks_plus_Outside()
73 , VRings_plus_Outside()
74 , VStsIndex_plus_Outside()
75 , VRichRing_plus_Outside()
76 , VMCIndex_plus_Outside()
77 , VMCtracks_minus_Target()
78 , VStsTrack_minus_Target()
79 , VMomenta_minus_Target()
80 , VRings_minus_Target()
81 , VStsIndex_minus_Target()
82 , VRichRing_minus_Target()
83 , VMCIndex_minus_Target()
84 , VMCtracks_plus_Target()
85 , VStsTrack_plus_Target()
86 , VMomenta_plus_Target()
87 , VRings_plus_Target()
88 , VStsIndex_plus_Target()
89 , VRichRing_plus_Target()
90 , VMCIndex_plus_Target()
91 , frefmomenta()
92 , frefId()
93 , fMCId()
94 , fMCtracks()
95 , EMT_man_Event_Target()
96 , EMT_man_pair_momenta_Target()
97 , EMT_man_NofRings_Target()
98 , EMT_man_Event_Outside()
99 , EMT_man_pair_momenta_Outside()
100 , EMT_man_NofRings_Outside()
101 , EMT_man_Event_Both()
102 , EMT_man_pair_momenta_Both()
103 , EMT_man_NofRings_Both()
104 , Gammas_all_Target()
105 , Gammas_zero_Target()
106 , Gammas_one_Target()
107 , Gammas_two_Target()
108 , Gammas_onetwo_Target()
109 , Gammas_stsIndex_all_Target()
110 , Gammas_stsIndex_zero_Target()
111 , Gammas_stsIndex_one_Target()
112 , Gammas_stsIndex_two_Target()
113 , Gammas_stsIndex_onetwo_Target()
114 , Gammas_MCIndex_all_Target()
115 , Gammas_MCIndex_zero_Target()
116 , Gammas_MCIndex_one_Target()
117 , Gammas_MCIndex_two_Target()
118 , Gammas_MCIndex_onetwo_Target()
119 , Gammas_MC_all_Target()
120 , Gammas_MC_zero_Target()
121 , Gammas_MC_one_Target()
122 , Gammas_MC_two_Target()
123 , Gammas_MC_onetwo_Target()
124 , Gammas_all_Outside()
125 , Gammas_zero_Outside()
126 , Gammas_one_Outside()
127 , Gammas_two_Outside()
128 , Gammas_onetwo_Outside()
129 , Gammas_stsIndex_all_Outside()
130 , Gammas_stsIndex_zero_Outside()
131 , Gammas_stsIndex_one_Outside()
132 , Gammas_stsIndex_two_Outside()
133 , Gammas_stsIndex_onetwo_Outside()
134 , Gammas_MCIndex_all_Outside()
135 , Gammas_MCIndex_zero_Outside()
136 , Gammas_MCIndex_one_Outside()
137 , Gammas_MCIndex_two_Outside()
138 , Gammas_MCIndex_onetwo_Outside()
139 , Gammas_MC_all_Outside()
140 , Gammas_MC_zero_Outside()
141 , Gammas_MC_one_Outside()
142 , Gammas_MC_two_Outside()
143 , Gammas_MC_onetwo_Outside()
144 , Gammas_all_Both()
145 , Gammas_zero_Both()
146 , Gammas_one_Both()
147 , Gammas_two_Both()
148 , Gammas_onetwo_Both()
149 , Gammas_stsIndex_all_Both()
150 , Gammas_stsIndex_zero_Both()
151 , Gammas_stsIndex_one_Both()
152 , Gammas_stsIndex_two_Both()
153 , Gammas_stsIndex_onetwo_Both()
154 , Gammas_MCIndex_all_Both()
155 , Gammas_MCIndex_zero_Both()
156 , Gammas_MCIndex_one_Both()
157 , Gammas_MCIndex_two_Both()
158 , Gammas_MCIndex_onetwo_Both()
159 , Gammas_MC_all_Both()
160 , Gammas_MC_zero_Both()
161 , Gammas_MC_one_Both()
162 , Gammas_MC_two_Both()
163 , Gammas_MC_onetwo_Both()
164 , Gamma_WAC()
165 , Gammas_stsIndex_WAC()
166 , Gammas_MCIndex_WAC()
167 , Gammas_MC_WAC()
168 , EMT_man_Event_WAC()
169 , EMT_man_pair_momenta_WAC()
170 , EMT_man_NofRings_WAC()
171 , fHistoList_man_cuts_Both()
172 , InvMass_vs_OA_candidates_Both(nullptr)
173 , InvMass_vs_OA_fromPi0_Both(nullptr)
174 , GammasInvMass_candidates_Both(nullptr)
175 , GammasOA_candidates_Both(nullptr)
176 , GammasInvMass_fromPi0_Both(nullptr)
177 , GammasOA_fromPi0_Both(nullptr)
178 , PlaneAngles_last_candidates_Both(nullptr)
179 , PlaneAngles_last_fromPi0_Both(nullptr)
180 , PlaneAngles_first_candidates_Both(nullptr)
181 , PlaneAngles_first_fromPi0_Both(nullptr)
182 , fHistoList_man_cuts_Target()
183 , InvMass_vs_OA_candidates_Target(nullptr)
184 , InvMass_vs_OA_fromPi0_Target(nullptr)
185 , GammasInvMass_candidates_Target(nullptr)
186 , GammasOA_candidates_Target(nullptr)
187 , GammasInvMass_fromPi0_Target(nullptr)
188 , GammasOA_fromPi0_Target(nullptr)
189 , PlaneAngles_last_candidates_Target(nullptr)
190 , PlaneAngles_last_fromPi0_Target(nullptr)
191 , PlaneAngles_first_candidates_Target(nullptr)
192 , PlaneAngles_first_fromPi0_Target(nullptr)
193 , fHistoList_man_cuts_Outside()
194 , InvMass_vs_OA_candidates_Outside(nullptr)
195 , InvMass_vs_OA_fromPi0_Outside(nullptr)
196 , GammasInvMass_candidates_Outside(nullptr)
197 , GammasOA_candidates_Outside(nullptr)
198 , GammasInvMass_fromPi0_Outside(nullptr)
199 , GammasOA_fromPi0_Outside(nullptr)
200 , PlaneAngles_last_candidates_Outside(nullptr)
201 , PlaneAngles_last_fromPi0_Outside(nullptr)
202 , PlaneAngles_first_candidates_Outside(nullptr)
203 , PlaneAngles_first_fromPi0_Outside(nullptr)
204 , fHistoList_man_all_Target()
205 , GammaInvMassReco_all_Target(nullptr)
206 , GammaOpeningAngleReco_all_Target(nullptr)
207 , Pdg_all_Target(nullptr)
208 , P_reco_all_Target(nullptr)
209 , Pt_reco_all_Target(nullptr)
210 , Pi0InvMassReco_all_Target(nullptr)
211 , EMT_InvMass_all_Target(nullptr)
212 , Pi0_pt_vs_rap_all_Target(nullptr)
213 , Pi0_pt_vs_rap_est_all_Target(nullptr)
214 , DalitzPi0_all_Target(nullptr)
215 , PhotonsPi0_all_Target(nullptr)
216 , fHistoList_man_zero_Target()
217 , GammaInvMassReco_zero_Target(nullptr)
218 , GammaOpeningAngleReco_zero_Target(nullptr)
219 , Pdg_zero_Target(nullptr)
220 , P_reco_zero_Target(nullptr)
221 , Pt_reco_zero_Target(nullptr)
222 , Pi0InvMassReco_zero_Target(nullptr)
223 , EMT_InvMass_zero_Target(nullptr)
224 , Pi0_pt_vs_rap_zero_Target(nullptr)
225 , Pi0_pt_vs_rap_est_zero_Target(nullptr)
226 , DalitzPi0_zero_Target(nullptr)
227 , PhotonsPi0_zero_Target(nullptr)
228 , fHistoList_man_one_Target()
229 , GammaInvMassReco_one_Target(nullptr)
230 , GammaOpeningAngleReco_one_Target(nullptr)
231 , Pdg_one_Target(nullptr)
232 , P_reco_one_Target(nullptr)
233 , Pt_reco_one_Target(nullptr)
234 , Pi0InvMassReco_one_Target(nullptr)
235 , EMT_InvMass_one_Target(nullptr)
236 , Pi0_pt_vs_rap_one_Target(nullptr)
237 , Pi0_pt_vs_rap_est_one_Target(nullptr)
238 , DalitzPi0_one_Target(nullptr)
239 , PhotonsPi0_one_Target(nullptr)
240 , fHistoList_man_two_Target()
241 , GammaInvMassReco_two_Target(nullptr)
242 , GammaOpeningAngleReco_two_Target(nullptr)
243 , Pdg_two_Target(nullptr)
244 , P_reco_two_Target(nullptr)
245 , Pt_reco_two_Target(nullptr)
246 , Pi0InvMassReco_two_Target(nullptr)
247 , EMT_InvMass_two_Target(nullptr)
248 , Pi0_pt_vs_rap_two_Target(nullptr)
249 , Pi0_pt_vs_rap_est_two_Target(nullptr)
250 , DalitzPi0_two_Target(nullptr)
251 , PhotonsPi0_two_Target(nullptr)
252 , fHistoList_man_onetwo_Target()
253 , GammaInvMassReco_onetwo_Target(nullptr)
254 , GammaOpeningAngleReco_onetwo_Target(nullptr)
255 , Pdg_onetwo_Target(nullptr)
256 , P_reco_onetwo_Target(nullptr)
257 , Pt_reco_onetwo_Target(nullptr)
258 , Pi0InvMassReco_onetwo_Target(nullptr)
259 , EMT_InvMass_onetwo_Target(nullptr)
260 , Pi0_pt_vs_rap_onetwo_Target(nullptr)
261 , Pi0_pt_vs_rap_est_onetwo_Target(nullptr)
262 , DalitzPi0_onetwo_Target(nullptr)
263 , PhotonsPi0_onetwo_Target(nullptr)
264 , fHistoList_man_all_Outside()
265 , GammaInvMassReco_all_Outside(nullptr)
266 , GammaOpeningAngleReco_all_Outside(nullptr)
267 , Pdg_all_Outside(nullptr)
268 , P_reco_all_Outside(nullptr)
269 , Pt_reco_all_Outside(nullptr)
270 , Pi0InvMassReco_all_Outside(nullptr)
271 , EMT_InvMass_all_Outside(nullptr)
272 , Pi0_pt_vs_rap_all_Outside(nullptr)
273 , Pi0_pt_vs_rap_est_all_Outside(nullptr)
274 , DalitzPi0_all_Outside(nullptr)
275 , PhotonsPi0_all_Outside(nullptr)
276 , fHistoList_man_zero_Outside()
277 , GammaInvMassReco_zero_Outside(nullptr)
278 , GammaOpeningAngleReco_zero_Outside(nullptr)
279 , Pdg_zero_Outside(nullptr)
280 , P_reco_zero_Outside(nullptr)
281 , Pt_reco_zero_Outside(nullptr)
282 , Pi0InvMassReco_zero_Outside(nullptr)
283 , EMT_InvMass_zero_Outside(nullptr)
284 , Pi0_pt_vs_rap_zero_Outside(nullptr)
285 , Pi0_pt_vs_rap_est_zero_Outside(nullptr)
286 , DalitzPi0_zero_Outside(nullptr)
287 , PhotonsPi0_zero_Outside(nullptr)
288 , fHistoList_man_one_Outside()
289 , GammaInvMassReco_one_Outside(nullptr)
290 , GammaOpeningAngleReco_one_Outside(nullptr)
291 , Pdg_one_Outside(nullptr)
292 , P_reco_one_Outside(nullptr)
293 , Pt_reco_one_Outside(nullptr)
294 , Pi0InvMassReco_one_Outside(nullptr)
295 , EMT_InvMass_one_Outside(nullptr)
296 , Pi0_pt_vs_rap_one_Outside(nullptr)
297 , Pi0_pt_vs_rap_est_one_Outside(nullptr)
298 , DalitzPi0_one_Outside(nullptr)
299 , PhotonsPi0_one_Outside(nullptr)
300 , fHistoList_man_two_Outside()
301 , GammaInvMassReco_two_Outside(nullptr)
302 , GammaOpeningAngleReco_two_Outside(nullptr)
303 , Pdg_two_Outside(nullptr)
304 , P_reco_two_Outside(nullptr)
305 , Pt_reco_two_Outside(nullptr)
306 , Pi0InvMassReco_two_Outside(nullptr)
307 , EMT_InvMass_two_Outside(nullptr)
308 , Pi0_pt_vs_rap_two_Outside(nullptr)
309 , Pi0_pt_vs_rap_est_two_Outside(nullptr)
310 , DalitzPi0_two_Outside(nullptr)
311 , PhotonsPi0_two_Outside(nullptr)
312 , fHistoList_man_onetwo_Outside()
313 , GammaInvMassReco_onetwo_Outside(nullptr)
314 , GammaOpeningAngleReco_onetwo_Outside(nullptr)
315 , Pdg_onetwo_Outside(nullptr)
316 , P_reco_onetwo_Outside(nullptr)
317 , Pt_reco_onetwo_Outside(nullptr)
318 , Pi0InvMassReco_onetwo_Outside(nullptr)
319 , EMT_InvMass_onetwo_Outside(nullptr)
320 , Pi0_pt_vs_rap_onetwo_Outside(nullptr)
321 , Pi0_pt_vs_rap_est_onetwo_Outside(nullptr)
322 , DalitzPi0_onetwo_Outside(nullptr)
323 , PhotonsPi0_onetwo_Outside(nullptr)
324 , fHistoList_man_all_Both()
325 , GammaInvMassReco_all_Both(nullptr)
326 , GammaOpeningAngleReco_all_Both(nullptr)
327 , Pdg_all_Both(nullptr)
328 , P_reco_all_Both(nullptr)
329 , Pt_reco_all_Both(nullptr)
330 , Pi0InvMassReco_all_Both(nullptr)
331 , EMT_InvMass_all_Both(nullptr)
332 , Pi0_pt_vs_rap_all_Both(nullptr)
333 , Pi0_pt_vs_rap_est_all_Both(nullptr)
334 , DalitzPi0_all_Both(nullptr)
335 , PhotonsPi0_all_Both(nullptr)
336 , fHistoList_man_zero_Both()
337 , GammaInvMassReco_zero_Both(nullptr)
338 , GammaOpeningAngleReco_zero_Both(nullptr)
339 , Pdg_zero_Both(nullptr)
340 , P_reco_zero_Both(nullptr)
341 , Pt_reco_zero_Both(nullptr)
342 , Pi0InvMassReco_zero_Both(nullptr)
343 , EMT_InvMass_zero_Both(nullptr)
344 , Pi0_pt_vs_rap_zero_Both(nullptr)
345 , Pi0_pt_vs_rap_est_zero_Both(nullptr)
346 , DalitzPi0_zero_Both(nullptr)
347 , PhotonsPi0_zero_Both(nullptr)
348 , fHistoList_man_one_Both()
349 , GammaInvMassReco_one_Both(nullptr)
350 , GammaOpeningAngleReco_one_Both(nullptr)
351 , Pdg_one_Both(nullptr)
352 , P_reco_one_Both(nullptr)
353 , Pt_reco_one_Both(nullptr)
354 , Pi0InvMassReco_one_Both(nullptr)
355 , EMT_InvMass_one_Both(nullptr)
356 , Pi0_pt_vs_rap_one_Both(nullptr)
357 , Pi0_pt_vs_rap_est_one_Both(nullptr)
358 , DalitzPi0_one_Both(nullptr)
359 , PhotonsPi0_one_Both(nullptr)
360 , fHistoList_man_two_Both()
361 , GammaInvMassReco_two_Both(nullptr)
362 , GammaOpeningAngleReco_two_Both(nullptr)
363 , Pdg_two_Both(nullptr)
364 , P_reco_two_Both(nullptr)
365 , Pt_reco_two_Both(nullptr)
366 , Pi0InvMassReco_two_Both(nullptr)
367 , EMT_InvMass_two_Both(nullptr)
368 , Pi0_pt_vs_rap_two_Both(nullptr)
369 , Pi0_pt_vs_rap_est_two_Both(nullptr)
370 , DalitzPi0_two_Both(nullptr)
371 , PhotonsPi0_two_Both(nullptr)
372 , fHistoList_man_onetwo_Both()
373 , GammaInvMassReco_onetwo_Both(nullptr)
374 , GammaOpeningAngleReco_onetwo_Both(nullptr)
375 , Pdg_onetwo_Both(nullptr)
376 , P_reco_onetwo_Both(nullptr)
377 , Pt_reco_onetwo_Both(nullptr)
378 , Pi0InvMassReco_onetwo_Both(nullptr)
379 , EMT_InvMass_onetwo_Both(nullptr)
380 , Pi0_pt_vs_rap_onetwo_Both(nullptr)
381 , Pi0_pt_vs_rap_est_onetwo_Both(nullptr)
382 , DalitzPi0_onetwo_Both(nullptr)
383 , PhotonsPi0_onetwo_Both(nullptr)
384 , fHistoList_man_Both()
385 , Pdg_vs_Distance(nullptr)
386 , P_vs_Distance(nullptr)
387 , fHistoList_multiplicity_man_Target()
388 , MultiplicityGamma_all_Target(nullptr)
389 , MultiplicityGamma_zero_Target(nullptr)
390 , MultiplicityGamma_one_Target(nullptr)
391 , MultiplicityGamma_two_Target(nullptr)
392 , MultiplicityGamma_onetwo_Target(nullptr)
393 , MultiplicityChargedParticles_all_Target(nullptr)
394 , MultiplicityChargedParticles_zero_Target(nullptr)
395 , MultiplicityChargedParticles_one_Target(nullptr)
396 , MultiplicityChargedParticles_two_Target(nullptr)
397 , MultiplicityChargedParticles_onetwo_Target(nullptr)
398 , fHistoList_multiplicity_man_Outside()
399 , MultiplicityGamma_all_Outside(nullptr)
400 , MultiplicityGamma_zero_Outside(nullptr)
401 , MultiplicityGamma_one_Outside(nullptr)
402 , MultiplicityGamma_two_Outside(nullptr)
403 , MultiplicityGamma_onetwo_Outside(nullptr)
404 , MultiplicityChargedParticles_all_Outside(nullptr)
405 , MultiplicityChargedParticles_zero_Outside(nullptr)
406 , MultiplicityChargedParticles_one_Outside(nullptr)
407 , MultiplicityChargedParticles_two_Outside(nullptr)
408 , MultiplicityChargedParticles_onetwo_Outside(nullptr)
409 , fHistoList_multiplicity_man_Both()
410 , MultiplicityGamma_all_Both(nullptr)
411 , MultiplicityGamma_zero_Both(nullptr)
412 , MultiplicityGamma_one_Both(nullptr)
413 , MultiplicityGamma_two_Both(nullptr)
414 , MultiplicityGamma_onetwo_Both(nullptr)
415 , MultiplicityChargedParticles_all_Both(nullptr)
416 , MultiplicityChargedParticles_zero_Both(nullptr)
417 , MultiplicityChargedParticles_one_Both(nullptr)
418 , MultiplicityChargedParticles_two_Both(nullptr)
419 , MultiplicityChargedParticles_onetwo_Both(nullptr)
420 , fHistoList_rap_vs_pt_InM()
421 , rap_vs_Pt_InM_1(nullptr)
422 , rap_vs_Pt_InM_2(nullptr)
423 , rap_vs_Pt_InM_3(nullptr)
424 , rap_vs_Pt_InM_4(nullptr)
425 , rap_vs_Pt_InM_5(nullptr)
426 , rap_vs_Pt_InM_6(nullptr)
427 , rap_vs_Pt_InM_7(nullptr)
428 , rap_vs_Pt_InM_8(nullptr)
429 , rap_vs_Pt_InM_9(nullptr)
430 , rap_vs_Pt_InM_10(nullptr)
431 , rap_vs_Pt_InM_11(nullptr)
432 , rap_vs_Pt_InM_12(nullptr)
433 , rap_vs_Pt_InM_13(nullptr)
434 , rap_vs_Pt_InM_14(nullptr)
435 , rap_vs_Pt_InM_15(nullptr)
436 , rap_vs_Pt_InM_16(nullptr)
437 , rap_vs_Pt_InM_17(nullptr)
438 , rap_vs_Pt_InM_18(nullptr)
439 , rap_vs_Pt_InM_19(nullptr)
440 , rap_vs_Pt_InM_20(nullptr)
441 , rap_vs_Pt_InM_21(nullptr)
442 , rap_vs_Pt_InM_22(nullptr)
443 , rap_vs_Pt_InM_23(nullptr)
444 , rap_vs_Pt_InM_24(nullptr)
445 , rap_vs_Pt_InM_25(nullptr)
446 , rap_vs_Pt_InM_26(nullptr)
447 , rap_vs_Pt_InM_27(nullptr)
448 , rap_vs_Pt_InM_28(nullptr)
449 , rap_vs_Pt_InM_29(nullptr)
450 , rap_vs_Pt_InM_30(nullptr)
451 , rap_vs_Pt_InM_31(nullptr)
452 , rap_vs_Pt_InM_32(nullptr)
453 , rap_vs_Pt_InM_33(nullptr)
454 , rap_vs_Pt_InM_34(nullptr)
455 , rap_vs_Pt_InM_35(nullptr)
456 , rap_vs_Pt_InM_36(nullptr)
457 , rap_vs_Pt_InM_37(nullptr)
458 , rap_vs_Pt_InM_38(nullptr)
459 , rap_vs_Pt_InM_39(nullptr)
460 , rap_vs_Pt_InM_40(nullptr)
461 , rap_vs_Pt_InM_41(nullptr)
462 , rap_vs_Pt_InM_42(nullptr)
463 , rap_vs_Pt_InM_43(nullptr)
464 , rap_vs_Pt_InM_44(nullptr)
465 , rap_vs_Pt_InM_45(nullptr)
466 , rap_vs_Pt_InM_46(nullptr)
467 , rap_vs_Pt_InM_47(nullptr)
468 , rap_vs_Pt_InM_48(nullptr)
469 , rap_vs_Pt_InM_49(nullptr)
470 , rap_vs_Pt_InM_50(nullptr)
471 , rap_vs_Pt_InM_51(nullptr)
472 , rap_vs_Pt_InM_52(nullptr)
473 , rap_vs_Pt_InM_53(nullptr)
474 , rap_vs_Pt_InM_54(nullptr)
475 , rap_vs_Pt_InM_55(nullptr)
476 , rap_vs_Pt_InM_56(nullptr)
477 , rap_vs_Pt_InM_57(nullptr)
478 , rap_vs_Pt_InM_58(nullptr)
479 , rap_vs_Pt_InM_59(nullptr)
480 , rap_vs_Pt_InM_60(nullptr)
481 , rap_vs_Pt_InM_61(nullptr)
482 , rap_vs_Pt_InM_62(nullptr)
483 , rap_vs_Pt_InM_63(nullptr)
484 , rap_vs_Pt_InM_64(nullptr)
485 , rap_vs_Pt_InM_65(nullptr)
486 , rap_vs_Pt_InM_66(nullptr)
487 , rap_vs_Pt_InM_67(nullptr)
488 , rap_vs_Pt_InM_68(nullptr)
489 , rap_vs_Pt_InM_69(nullptr)
490 , rap_vs_Pt_InM_70(nullptr)
491 , rap_vs_Pt_InM_71(nullptr)
492 , rap_vs_Pt_InM_72(nullptr)
493 , rap_vs_Pt_InM_73(nullptr)
494 , rap_vs_Pt_InM_74(nullptr)
495 , rap_vs_Pt_InM_75(nullptr)
496 , rap_vs_Pt_InM_76(nullptr)
497 , rap_vs_Pt_InM_81(nullptr)
498 , rap_vs_Pt_InM_82(nullptr)
499 , rap_vs_Pt_InM_83(nullptr)
500 , rap_vs_Pt_InM_84(nullptr)
501 , rap_vs_Pt_InM_85(nullptr)
502 , rap_vs_Pt_InM_86(nullptr)
503 , rap_vs_Pt_InM_87(nullptr)
504 , rap_vs_Pt_InM_88(nullptr)
505 , rap_vs_Pt_InM_89(nullptr)
506 , rap_vs_Pt_InM_90(nullptr)
507 , rap_vs_Pt_InM_91(nullptr)
508 , rap_vs_Pt_InM_92(nullptr)
509 , rap_vs_Pt_InM_101(nullptr)
510 , rap_vs_Pt_InM_102(nullptr)
511 , rap_vs_Pt_InM_103(nullptr)
512 , rap_vs_Pt_InM_104(nullptr)
513 , rap_vs_Pt_InM_105(nullptr)
514 , rap_vs_Pt_InM_106(nullptr)
515 , rap_vs_Pt_InM_107(nullptr)
516 , rap_vs_Pt_InM_108(nullptr)
517 , rap_vs_Pt_InM_111(nullptr)
518 , rap_vs_Pt_InM_112(nullptr)
519 , rap_vs_Pt_InM_113(nullptr)
520 , rap_vs_Pt_InM_114(nullptr)
521 , rap_vs_Pt_InM_mixing_1(nullptr)
522 , rap_vs_Pt_InM_mixing_2(nullptr)
523 , rap_vs_Pt_InM_mixing_3(nullptr)
524 , rap_vs_Pt_InM_mixing_4(nullptr)
525 , rap_vs_Pt_InM_mixing_5(nullptr)
526 , rap_vs_Pt_InM_mixing_6(nullptr)
527 , rap_vs_Pt_InM_mixing_7(nullptr)
528 , rap_vs_Pt_InM_mixing_8(nullptr)
529 , rap_vs_Pt_InM_mixing_9(nullptr)
530 , rap_vs_Pt_InM_mixing_10(nullptr)
531 , rap_vs_Pt_InM_mixing_11(nullptr)
532 , rap_vs_Pt_InM_mixing_12(nullptr)
533 , rap_vs_Pt_InM_mixing_13(nullptr)
534 , rap_vs_Pt_InM_mixing_14(nullptr)
535 , rap_vs_Pt_InM_mixing_15(nullptr)
536 , rap_vs_Pt_InM_mixing_16(nullptr)
537 , rap_vs_Pt_InM_mixing_17(nullptr)
538 , rap_vs_Pt_InM_mixing_18(nullptr)
539 , rap_vs_Pt_InM_mixing_19(nullptr)
540 , rap_vs_Pt_InM_mixing_20(nullptr)
541 , rap_vs_Pt_InM_mixing_21(nullptr)
542 , rap_vs_Pt_InM_mixing_22(nullptr)
543 , rap_vs_Pt_InM_mixing_23(nullptr)
544 , rap_vs_Pt_InM_mixing_24(nullptr)
545 , rap_vs_Pt_InM_mixing_25(nullptr)
546 , rap_vs_Pt_InM_mixing_26(nullptr)
547 , rap_vs_Pt_InM_mixing_27(nullptr)
548 , rap_vs_Pt_InM_mixing_28(nullptr)
549 , rap_vs_Pt_InM_mixing_29(nullptr)
550 , rap_vs_Pt_InM_mixing_30(nullptr)
551 , rap_vs_Pt_InM_mixing_31(nullptr)
552 , rap_vs_Pt_InM_mixing_32(nullptr)
553 , rap_vs_Pt_InM_mixing_33(nullptr)
554 , rap_vs_Pt_InM_mixing_34(nullptr)
555 , rap_vs_Pt_InM_mixing_35(nullptr)
556 , rap_vs_Pt_InM_mixing_36(nullptr)
557 , rap_vs_Pt_InM_mixing_37(nullptr)
558 , rap_vs_Pt_InM_mixing_38(nullptr)
559 , rap_vs_Pt_InM_mixing_39(nullptr)
560 , rap_vs_Pt_InM_mixing_40(nullptr)
561 , rap_vs_Pt_InM_mixing_41(nullptr)
562 , rap_vs_Pt_InM_mixing_42(nullptr)
563 , rap_vs_Pt_InM_mixing_43(nullptr)
564 , rap_vs_Pt_InM_mixing_44(nullptr)
565 , rap_vs_Pt_InM_mixing_45(nullptr)
566 , rap_vs_Pt_InM_mixing_46(nullptr)
567 , rap_vs_Pt_InM_mixing_47(nullptr)
568 , rap_vs_Pt_InM_mixing_48(nullptr)
569 , rap_vs_Pt_InM_mixing_49(nullptr)
570 , rap_vs_Pt_InM_mixing_50(nullptr)
571 , rap_vs_Pt_InM_mixing_51(nullptr)
572 , rap_vs_Pt_InM_mixing_52(nullptr)
573 , rap_vs_Pt_InM_mixing_53(nullptr)
574 , rap_vs_Pt_InM_mixing_54(nullptr)
575 , rap_vs_Pt_InM_mixing_55(nullptr)
576 , rap_vs_Pt_InM_mixing_56(nullptr)
577 , rap_vs_Pt_InM_mixing_57(nullptr)
578 , rap_vs_Pt_InM_mixing_58(nullptr)
579 , rap_vs_Pt_InM_mixing_59(nullptr)
580 , rap_vs_Pt_InM_mixing_60(nullptr)
581 , rap_vs_Pt_InM_mixing_61(nullptr)
582 , rap_vs_Pt_InM_mixing_62(nullptr)
583 , rap_vs_Pt_InM_mixing_63(nullptr)
584 , rap_vs_Pt_InM_mixing_64(nullptr)
585 , rap_vs_Pt_InM_mixing_65(nullptr)
586 , rap_vs_Pt_InM_mixing_66(nullptr)
587 , rap_vs_Pt_InM_mixing_67(nullptr)
588 , rap_vs_Pt_InM_mixing_68(nullptr)
589 , rap_vs_Pt_InM_mixing_69(nullptr)
590 , rap_vs_Pt_InM_mixing_70(nullptr)
591 , rap_vs_Pt_InM_mixing_71(nullptr)
592 , rap_vs_Pt_InM_mixing_72(nullptr)
593 , rap_vs_Pt_InM_mixing_73(nullptr)
594 , rap_vs_Pt_InM_mixing_74(nullptr)
595 , rap_vs_Pt_InM_mixing_75(nullptr)
596 , rap_vs_Pt_InM_mixing_76(nullptr)
597 , rap_vs_Pt_InM_mixing_81(nullptr)
598 , rap_vs_Pt_InM_mixing_82(nullptr)
599 , rap_vs_Pt_InM_mixing_83(nullptr)
600 , rap_vs_Pt_InM_mixing_84(nullptr)
601 , rap_vs_Pt_InM_mixing_85(nullptr)
602 , rap_vs_Pt_InM_mixing_86(nullptr)
603 , rap_vs_Pt_InM_mixing_87(nullptr)
604 , rap_vs_Pt_InM_mixing_88(nullptr)
605 , rap_vs_Pt_InM_mixing_89(nullptr)
606 , rap_vs_Pt_InM_mixing_90(nullptr)
607 , rap_vs_Pt_InM_mixing_91(nullptr)
608 , rap_vs_Pt_InM_mixing_92(nullptr)
609 , rap_vs_Pt_InM_mixing_101(nullptr)
610 , rap_vs_Pt_InM_mixing_102(nullptr)
611 , rap_vs_Pt_InM_mixing_103(nullptr)
612 , rap_vs_Pt_InM_mixing_104(nullptr)
613 , rap_vs_Pt_InM_mixing_105(nullptr)
614 , rap_vs_Pt_InM_mixing_106(nullptr)
615 , rap_vs_Pt_InM_mixing_107(nullptr)
616 , rap_vs_Pt_InM_mixing_108(nullptr)
617 , rap_vs_Pt_InM_mixing_111(nullptr)
618 , rap_vs_Pt_InM_mixing_112(nullptr)
619 , rap_vs_Pt_InM_mixing_113(nullptr)
620 , rap_vs_Pt_InM_mixing_114(nullptr)
621 , fHistoList_rap_vs_pt_InM_all()
622 , rap_vs_Pt_InM_all_1(nullptr)
623 , rap_vs_Pt_InM_all_2(nullptr)
624 , rap_vs_Pt_InM_all_3(nullptr)
625 , rap_vs_Pt_InM_all_4(nullptr)
626 , rap_vs_Pt_InM_all_5(nullptr)
627 , rap_vs_Pt_InM_all_6(nullptr)
628 , rap_vs_Pt_InM_all_7(nullptr)
629 , rap_vs_Pt_InM_all_8(nullptr)
630 , rap_vs_Pt_InM_all_9(nullptr)
631 , rap_vs_Pt_InM_all_10(nullptr)
632 , rap_vs_Pt_InM_all_11(nullptr)
633 , rap_vs_Pt_InM_all_12(nullptr)
634 , rap_vs_Pt_InM_all_13(nullptr)
635 , rap_vs_Pt_InM_all_14(nullptr)
636 , rap_vs_Pt_InM_all_15(nullptr)
637 , rap_vs_Pt_InM_all_16(nullptr)
638 , rap_vs_Pt_InM_all_17(nullptr)
639 , rap_vs_Pt_InM_all_18(nullptr)
640 , rap_vs_Pt_InM_all_19(nullptr)
641 , rap_vs_Pt_InM_all_20(nullptr)
642 , rap_vs_Pt_InM_all_21(nullptr)
643 , rap_vs_Pt_InM_all_22(nullptr)
644 , rap_vs_Pt_InM_all_23(nullptr)
645 , rap_vs_Pt_InM_all_24(nullptr)
646 , rap_vs_Pt_InM_all_25(nullptr)
647 , rap_vs_Pt_InM_all_26(nullptr)
648 , rap_vs_Pt_InM_all_27(nullptr)
649 , rap_vs_Pt_InM_all_28(nullptr)
650 , rap_vs_Pt_InM_all_29(nullptr)
651 , rap_vs_Pt_InM_all_30(nullptr)
652 , rap_vs_Pt_InM_all_31(nullptr)
653 , rap_vs_Pt_InM_all_32(nullptr)
654 , rap_vs_Pt_InM_all_33(nullptr)
655 , rap_vs_Pt_InM_all_34(nullptr)
656 , rap_vs_Pt_InM_all_35(nullptr)
657 , rap_vs_Pt_InM_all_36(nullptr)
658 , rap_vs_Pt_InM_all_37(nullptr)
659 , rap_vs_Pt_InM_all_38(nullptr)
660 , rap_vs_Pt_InM_all_39(nullptr)
661 , rap_vs_Pt_InM_all_40(nullptr)
662 , rap_vs_Pt_InM_all_41(nullptr)
663 , rap_vs_Pt_InM_all_42(nullptr)
664 , rap_vs_Pt_InM_all_43(nullptr)
665 , rap_vs_Pt_InM_all_44(nullptr)
666 , rap_vs_Pt_InM_all_45(nullptr)
667 , rap_vs_Pt_InM_all_46(nullptr)
668 , rap_vs_Pt_InM_all_47(nullptr)
669 , rap_vs_Pt_InM_all_48(nullptr)
670 , rap_vs_Pt_InM_all_49(nullptr)
671 , rap_vs_Pt_InM_all_50(nullptr)
672 , rap_vs_Pt_InM_all_51(nullptr)
673 , rap_vs_Pt_InM_all_52(nullptr)
674 , rap_vs_Pt_InM_all_53(nullptr)
675 , rap_vs_Pt_InM_all_54(nullptr)
676 , rap_vs_Pt_InM_all_55(nullptr)
677 , rap_vs_Pt_InM_all_56(nullptr)
678 , rap_vs_Pt_InM_all_57(nullptr)
679 , rap_vs_Pt_InM_all_58(nullptr)
680 , rap_vs_Pt_InM_all_59(nullptr)
681 , rap_vs_Pt_InM_all_60(nullptr)
682 , rap_vs_Pt_InM_all_61(nullptr)
683 , rap_vs_Pt_InM_all_62(nullptr)
684 , rap_vs_Pt_InM_all_63(nullptr)
685 , rap_vs_Pt_InM_all_64(nullptr)
686 , rap_vs_Pt_InM_all_65(nullptr)
687 , rap_vs_Pt_InM_all_66(nullptr)
688 , rap_vs_Pt_InM_all_67(nullptr)
689 , rap_vs_Pt_InM_all_68(nullptr)
690 , rap_vs_Pt_InM_all_69(nullptr)
691 , rap_vs_Pt_InM_all_70(nullptr)
692 , rap_vs_Pt_InM_all_71(nullptr)
693 , rap_vs_Pt_InM_all_72(nullptr)
694 , rap_vs_Pt_InM_all_73(nullptr)
695 , rap_vs_Pt_InM_all_74(nullptr)
696 , rap_vs_Pt_InM_all_75(nullptr)
697 , rap_vs_Pt_InM_all_76(nullptr)
698 , rap_vs_Pt_InM_all_81(nullptr)
699 , rap_vs_Pt_InM_all_82(nullptr)
700 , rap_vs_Pt_InM_all_83(nullptr)
701 , rap_vs_Pt_InM_all_84(nullptr)
702 , rap_vs_Pt_InM_all_85(nullptr)
703 , rap_vs_Pt_InM_all_86(nullptr)
704 , rap_vs_Pt_InM_all_87(nullptr)
705 , rap_vs_Pt_InM_all_88(nullptr)
706 , rap_vs_Pt_InM_all_89(nullptr)
707 , rap_vs_Pt_InM_all_90(nullptr)
708 , rap_vs_Pt_InM_all_91(nullptr)
709 , rap_vs_Pt_InM_all_92(nullptr)
710 , rap_vs_Pt_InM_all_101(nullptr)
711 , rap_vs_Pt_InM_all_102(nullptr)
712 , rap_vs_Pt_InM_all_103(nullptr)
713 , rap_vs_Pt_InM_all_104(nullptr)
714 , rap_vs_Pt_InM_all_105(nullptr)
715 , rap_vs_Pt_InM_all_106(nullptr)
716 , rap_vs_Pt_InM_all_107(nullptr)
717 , rap_vs_Pt_InM_all_108(nullptr)
718 , rap_vs_Pt_InM_all_111(nullptr)
719 , rap_vs_Pt_InM_all_112(nullptr)
720 , rap_vs_Pt_InM_all_113(nullptr)
721 , rap_vs_Pt_InM_all_114(nullptr)
722 , rap_vs_Pt_InM_all_mixing_1(nullptr)
723 , rap_vs_Pt_InM_all_mixing_2(nullptr)
724 , rap_vs_Pt_InM_all_mixing_3(nullptr)
725 , rap_vs_Pt_InM_all_mixing_4(nullptr)
726 , rap_vs_Pt_InM_all_mixing_5(nullptr)
727 , rap_vs_Pt_InM_all_mixing_6(nullptr)
728 , rap_vs_Pt_InM_all_mixing_7(nullptr)
729 , rap_vs_Pt_InM_all_mixing_8(nullptr)
730 , rap_vs_Pt_InM_all_mixing_9(nullptr)
731 , rap_vs_Pt_InM_all_mixing_10(nullptr)
732 , rap_vs_Pt_InM_all_mixing_11(nullptr)
733 , rap_vs_Pt_InM_all_mixing_12(nullptr)
734 , rap_vs_Pt_InM_all_mixing_13(nullptr)
735 , rap_vs_Pt_InM_all_mixing_14(nullptr)
736 , rap_vs_Pt_InM_all_mixing_15(nullptr)
737 , rap_vs_Pt_InM_all_mixing_16(nullptr)
738 , rap_vs_Pt_InM_all_mixing_17(nullptr)
739 , rap_vs_Pt_InM_all_mixing_18(nullptr)
740 , rap_vs_Pt_InM_all_mixing_19(nullptr)
741 , rap_vs_Pt_InM_all_mixing_20(nullptr)
742 , rap_vs_Pt_InM_all_mixing_21(nullptr)
743 , rap_vs_Pt_InM_all_mixing_22(nullptr)
744 , rap_vs_Pt_InM_all_mixing_23(nullptr)
745 , rap_vs_Pt_InM_all_mixing_24(nullptr)
746 , rap_vs_Pt_InM_all_mixing_25(nullptr)
747 , rap_vs_Pt_InM_all_mixing_26(nullptr)
748 , rap_vs_Pt_InM_all_mixing_27(nullptr)
749 , rap_vs_Pt_InM_all_mixing_28(nullptr)
750 , rap_vs_Pt_InM_all_mixing_29(nullptr)
751 , rap_vs_Pt_InM_all_mixing_30(nullptr)
752 , rap_vs_Pt_InM_all_mixing_31(nullptr)
753 , rap_vs_Pt_InM_all_mixing_32(nullptr)
754 , rap_vs_Pt_InM_all_mixing_33(nullptr)
755 , rap_vs_Pt_InM_all_mixing_34(nullptr)
756 , rap_vs_Pt_InM_all_mixing_35(nullptr)
757 , rap_vs_Pt_InM_all_mixing_36(nullptr)
758 , rap_vs_Pt_InM_all_mixing_37(nullptr)
759 , rap_vs_Pt_InM_all_mixing_38(nullptr)
760 , rap_vs_Pt_InM_all_mixing_39(nullptr)
761 , rap_vs_Pt_InM_all_mixing_40(nullptr)
762 , rap_vs_Pt_InM_all_mixing_41(nullptr)
763 , rap_vs_Pt_InM_all_mixing_42(nullptr)
764 , rap_vs_Pt_InM_all_mixing_43(nullptr)
765 , rap_vs_Pt_InM_all_mixing_44(nullptr)
766 , rap_vs_Pt_InM_all_mixing_45(nullptr)
767 , rap_vs_Pt_InM_all_mixing_46(nullptr)
768 , rap_vs_Pt_InM_all_mixing_47(nullptr)
769 , rap_vs_Pt_InM_all_mixing_48(nullptr)
770 , rap_vs_Pt_InM_all_mixing_49(nullptr)
771 , rap_vs_Pt_InM_all_mixing_50(nullptr)
772 , rap_vs_Pt_InM_all_mixing_51(nullptr)
773 , rap_vs_Pt_InM_all_mixing_52(nullptr)
774 , rap_vs_Pt_InM_all_mixing_53(nullptr)
775 , rap_vs_Pt_InM_all_mixing_54(nullptr)
776 , rap_vs_Pt_InM_all_mixing_55(nullptr)
777 , rap_vs_Pt_InM_all_mixing_56(nullptr)
778 , rap_vs_Pt_InM_all_mixing_57(nullptr)
779 , rap_vs_Pt_InM_all_mixing_58(nullptr)
780 , rap_vs_Pt_InM_all_mixing_59(nullptr)
781 , rap_vs_Pt_InM_all_mixing_60(nullptr)
782 , rap_vs_Pt_InM_all_mixing_61(nullptr)
783 , rap_vs_Pt_InM_all_mixing_62(nullptr)
784 , rap_vs_Pt_InM_all_mixing_63(nullptr)
785 , rap_vs_Pt_InM_all_mixing_64(nullptr)
786 , rap_vs_Pt_InM_all_mixing_65(nullptr)
787 , rap_vs_Pt_InM_all_mixing_66(nullptr)
788 , rap_vs_Pt_InM_all_mixing_67(nullptr)
789 , rap_vs_Pt_InM_all_mixing_68(nullptr)
790 , rap_vs_Pt_InM_all_mixing_69(nullptr)
791 , rap_vs_Pt_InM_all_mixing_70(nullptr)
792 , rap_vs_Pt_InM_all_mixing_71(nullptr)
793 , rap_vs_Pt_InM_all_mixing_72(nullptr)
794 , rap_vs_Pt_InM_all_mixing_73(nullptr)
795 , rap_vs_Pt_InM_all_mixing_74(nullptr)
796 , rap_vs_Pt_InM_all_mixing_75(nullptr)
797 , rap_vs_Pt_InM_all_mixing_76(nullptr)
798 , rap_vs_Pt_InM_all_mixing_81(nullptr)
799 , rap_vs_Pt_InM_all_mixing_82(nullptr)
800 , rap_vs_Pt_InM_all_mixing_83(nullptr)
801 , rap_vs_Pt_InM_all_mixing_84(nullptr)
802 , rap_vs_Pt_InM_all_mixing_85(nullptr)
803 , rap_vs_Pt_InM_all_mixing_86(nullptr)
804 , rap_vs_Pt_InM_all_mixing_87(nullptr)
805 , rap_vs_Pt_InM_all_mixing_88(nullptr)
806 , rap_vs_Pt_InM_all_mixing_89(nullptr)
807 , rap_vs_Pt_InM_all_mixing_90(nullptr)
808 , rap_vs_Pt_InM_all_mixing_91(nullptr)
809 , rap_vs_Pt_InM_all_mixing_92(nullptr)
810 , rap_vs_Pt_InM_all_mixing_101(nullptr)
811 , rap_vs_Pt_InM_all_mixing_102(nullptr)
812 , rap_vs_Pt_InM_all_mixing_103(nullptr)
813 , rap_vs_Pt_InM_all_mixing_104(nullptr)
814 , rap_vs_Pt_InM_all_mixing_105(nullptr)
815 , rap_vs_Pt_InM_all_mixing_106(nullptr)
816 , rap_vs_Pt_InM_all_mixing_107(nullptr)
817 , rap_vs_Pt_InM_all_mixing_108(nullptr)
818 , rap_vs_Pt_InM_all_mixing_111(nullptr)
819 , rap_vs_Pt_InM_all_mixing_112(nullptr)
820 , rap_vs_Pt_InM_all_mixing_113(nullptr)
821 , rap_vs_Pt_InM_all_mixing_114(nullptr)
822 , fHistoList_pt_onetwo()
823 , Pi0_pt_est_onetwo_Both(nullptr)
824 , pt_onetwo_1(nullptr)
825 , pt_onetwo_2(nullptr)
826 , pt_onetwo_3(nullptr)
827 , pt_onetwo_4(nullptr)
828 , pt_onetwo_5(nullptr)
829 , pt_onetwo_6(nullptr)
830 , pt_onetwo_7(nullptr)
831 , pt_onetwo_8(nullptr)
832 , pt_onetwo_9(nullptr)
833 , pt_onetwo_10(nullptr)
834 , pt_onetwo_11(nullptr)
835 , pt_onetwo_12(nullptr)
836 , pt_onetwo_13(nullptr)
837 , pt_onetwo_14(nullptr)
838 , pt_onetwo_15(nullptr)
839 , pt_onetwo_16(nullptr)
840 , pt_onetwo_17(nullptr)
841 , pt_onetwo_18(nullptr)
842 , pt_onetwo_19(nullptr)
843 , pt_onetwo_20(nullptr)
844 , pt_onetwo_mixing_1(nullptr)
845 , pt_onetwo_mixing_2(nullptr)
846 , pt_onetwo_mixing_3(nullptr)
847 , pt_onetwo_mixing_4(nullptr)
848 , pt_onetwo_mixing_5(nullptr)
849 , pt_onetwo_mixing_6(nullptr)
850 , pt_onetwo_mixing_7(nullptr)
851 , pt_onetwo_mixing_8(nullptr)
852 , pt_onetwo_mixing_9(nullptr)
853 , pt_onetwo_mixing_10(nullptr)
854 , pt_onetwo_mixing_11(nullptr)
855 , pt_onetwo_mixing_12(nullptr)
856 , pt_onetwo_mixing_13(nullptr)
857 , pt_onetwo_mixing_14(nullptr)
858 , pt_onetwo_mixing_15(nullptr)
859 , pt_onetwo_mixing_16(nullptr)
860 , pt_onetwo_mixing_17(nullptr)
861 , pt_onetwo_mixing_18(nullptr)
862 , pt_onetwo_mixing_19(nullptr)
863 , pt_onetwo_mixing_20(nullptr)
864 , fHistoList_pt_all()
865 , Pi0_pt_est_all_Both(nullptr)
866 , pt_all_1(nullptr)
867 , pt_all_2(nullptr)
868 , pt_all_3(nullptr)
869 , pt_all_4(nullptr)
870 , pt_all_5(nullptr)
871 , pt_all_6(nullptr)
872 , pt_all_7(nullptr)
873 , pt_all_8(nullptr)
874 , pt_all_9(nullptr)
875 , pt_all_10(nullptr)
876 , pt_all_11(nullptr)
877 , pt_all_12(nullptr)
878 , pt_all_13(nullptr)
879 , pt_all_14(nullptr)
880 , pt_all_15(nullptr)
881 , pt_all_16(nullptr)
882 , pt_all_17(nullptr)
883 , pt_all_18(nullptr)
884 , pt_all_19(nullptr)
885 , pt_all_20(nullptr)
886 , pt_all_mixing_1(nullptr)
887 , pt_all_mixing_2(nullptr)
888 , pt_all_mixing_3(nullptr)
889 , pt_all_mixing_4(nullptr)
890 , pt_all_mixing_5(nullptr)
891 , pt_all_mixing_6(nullptr)
892 , pt_all_mixing_7(nullptr)
893 , pt_all_mixing_8(nullptr)
894 , pt_all_mixing_9(nullptr)
895 , pt_all_mixing_10(nullptr)
896 , pt_all_mixing_11(nullptr)
897 , pt_all_mixing_12(nullptr)
898 , pt_all_mixing_13(nullptr)
899 , pt_all_mixing_14(nullptr)
900 , pt_all_mixing_15(nullptr)
901 , pt_all_mixing_16(nullptr)
902 , pt_all_mixing_17(nullptr)
903 , pt_all_mixing_18(nullptr)
904 , pt_all_mixing_19(nullptr)
905 , pt_all_mixing_20(nullptr)
906 , fHistoList_bg_InM_all_Target()
907 , fHistoList_bg_InM_zero_Target()
908 , fHistoList_bg_InM_one_Target()
909 , fHistoList_bg_InM_two_Target()
910 , fHistoList_bg_InM_onetwo_Target()
911 , fHistoList_bg_InM_all_Outside()
912 , fHistoList_bg_InM_zero_Outside()
913 , fHistoList_bg_InM_one_Outside()
914 , fHistoList_bg_InM_two_Outside()
915 , fHistoList_bg_InM_onetwo_Outside()
916 , fHistoList_bg_InM_all_Both()
917 , BG1_InM_all_Both(nullptr)
918 , BG2_InM_all_Both(nullptr)
919 , BG3_InM_all_Both(nullptr)
920 , BG4_InM_all_Both(nullptr)
921 , BG5_InM_all_Both(nullptr)
922 , BG6_InM_all_Both(nullptr)
923 , BG7_InM_all_Both(nullptr)
924 , BG8_InM_all_Both(nullptr)
925 , BG9_InM_all_Both(nullptr)
926 , BG10_InM_all_Both(nullptr)
927 , PdgCase8_InM_all_Both(nullptr)
928 , PdgCase8mothers_InM_all_Both(nullptr)
929 , sameMIDcase8_InM_all_Both(nullptr)
930 , sameGRIDcase8_InM_all_Both(nullptr)
931 , Case1ZYPos_InM_all_Both(nullptr)
932 , sameMIDcase8_mothedPDG_InM_all_Both(nullptr)
933 , PdgCase8NonEComeFromTarget_InM_all_Both(nullptr)
934 , PdgCase8NonE_NOT_FromTarget_InM_all_Both(nullptr)
935 , PdgCase8motherNonE_InM_all_Both(nullptr)
936 , Case8ElFromDalitz_InM_all_Both(nullptr)
937 , Case8NonElFrom_pn_InM_all_Both(nullptr)
938 , Case8NonElFrom_eta_InM_all_Both(nullptr)
939 , Case8NonElFrom_kaon_InM_all_Both(nullptr)
940 , sameMIDcase8NonEPdg_InM_all_Both(nullptr)
941 , sameMIDcase8NonEMotherPdg_InM_all_Both(nullptr)
942 , sameMIDcase8NonEMotherIM_InM_all_Both(nullptr)
943 , sameMIDcase8NonEPdgFromTarget_InM_all_Both(nullptr)
944 , sameMIDcase8NonEComeFromTargetIM_InM_all_Both(nullptr)
945 , sameMIDcase8NonEComeFromTargetP_InM_all_Both(nullptr)
946 , sameMIDcase8NonEComeFromTargetPt_InM_all_Both(nullptr)
947 , fHistoList_bg_InM_zero_Both()
948 , BG1_InM_zero_Both(nullptr)
949 , BG2_InM_zero_Both(nullptr)
950 , BG3_InM_zero_Both(nullptr)
951 , BG4_InM_zero_Both(nullptr)
952 , BG5_InM_zero_Both(nullptr)
953 , BG6_InM_zero_Both(nullptr)
954 , BG7_InM_zero_Both(nullptr)
955 , BG8_InM_zero_Both(nullptr)
956 , BG9_InM_zero_Both(nullptr)
957 , BG10_InM_zero_Both(nullptr)
958 , PdgCase8_InM_zero_Both(nullptr)
959 , PdgCase8mothers_InM_zero_Both(nullptr)
960 , sameMIDcase8_InM_zero_Both(nullptr)
961 , sameGRIDcase8_InM_zero_Both(nullptr)
962 , Case1ZYPos_InM_zero_Both(nullptr)
963 , sameMIDcase8_mothedPDG_InM_zero_Both(nullptr)
964 , PdgCase8NonEComeFromTarget_InM_zero_Both(nullptr)
965 , PdgCase8NonE_NOT_FromTarget_InM_zero_Both(nullptr)
966 , PdgCase8motherNonE_InM_zero_Both(nullptr)
967 , Case8ElFromDalitz_InM_zero_Both(nullptr)
968 , Case8NonElFrom_pn_InM_zero_Both(nullptr)
969 , Case8NonElFrom_eta_InM_zero_Both(nullptr)
970 , Case8NonElFrom_kaon_InM_zero_Both(nullptr)
971 , sameMIDcase8NonEPdg_InM_zero_Both(nullptr)
972 , sameMIDcase8NonEMotherPdg_InM_zero_Both(nullptr)
973 , sameMIDcase8NonEMotherIM_InM_zero_Both(nullptr)
974 , sameMIDcase8NonEPdgFromTarget_InM_zero_Both(nullptr)
975 , sameMIDcase8NonEComeFromTargetIM_InM_zero_Both(nullptr)
976 , sameMIDcase8NonEComeFromTargetP_InM_zero_Both(nullptr)
977 , sameMIDcase8NonEComeFromTargetPt_InM_zero_Both(nullptr)
978 , fHistoList_bg_InM_one_Both()
979 , BG1_InM_one_Both(nullptr)
980 , BG2_InM_one_Both(nullptr)
981 , BG3_InM_one_Both(nullptr)
982 , BG4_InM_one_Both(nullptr)
983 , BG5_InM_one_Both(nullptr)
984 , BG6_InM_one_Both(nullptr)
985 , BG7_InM_one_Both(nullptr)
986 , BG8_InM_one_Both(nullptr)
987 , BG9_InM_one_Both(nullptr)
988 , BG10_InM_one_Both(nullptr)
989 , PdgCase8_InM_one_Both(nullptr)
990 , PdgCase8mothers_InM_one_Both(nullptr)
991 , sameMIDcase8_InM_one_Both(nullptr)
992 , sameGRIDcase8_InM_one_Both(nullptr)
993 , Case1ZYPos_InM_one_Both(nullptr)
994 , sameMIDcase8_mothedPDG_InM_one_Both(nullptr)
995 , PdgCase8NonEComeFromTarget_InM_one_Both(nullptr)
996 , PdgCase8NonE_NOT_FromTarget_InM_one_Both(nullptr)
997 , PdgCase8motherNonE_InM_one_Both(nullptr)
998 , Case8ElFromDalitz_InM_one_Both(nullptr)
999 , Case8NonElFrom_pn_InM_one_Both(nullptr)
1000 , Case8NonElFrom_eta_InM_one_Both(nullptr)
1001 , Case8NonElFrom_kaon_InM_one_Both(nullptr)
1002 , sameMIDcase8NonEPdg_InM_one_Both(nullptr)
1003 , sameMIDcase8NonEMotherPdg_InM_one_Both(nullptr)
1004 , sameMIDcase8NonEMotherIM_InM_one_Both(nullptr)
1005 , sameMIDcase8NonEPdgFromTarget_InM_one_Both(nullptr)
1006 , sameMIDcase8NonEComeFromTargetIM_InM_one_Both(nullptr)
1007 , sameMIDcase8NonEComeFromTargetP_InM_one_Both(nullptr)
1008 , sameMIDcase8NonEComeFromTargetPt_InM_one_Both(nullptr)
1009 , fHistoList_bg_InM_two_Both()
1010 , BG1_InM_two_Both(nullptr)
1011 , BG2_InM_two_Both(nullptr)
1012 , BG3_InM_two_Both(nullptr)
1013 , BG4_InM_two_Both(nullptr)
1014 , BG5_InM_two_Both(nullptr)
1015 , BG6_InM_two_Both(nullptr)
1016 , BG7_InM_two_Both(nullptr)
1017 , BG8_InM_two_Both(nullptr)
1018 , BG9_InM_two_Both(nullptr)
1019 , BG10_InM_two_Both(nullptr)
1020 , PdgCase8_InM_two_Both(nullptr)
1021 , PdgCase8mothers_InM_two_Both(nullptr)
1022 , sameMIDcase8_InM_two_Both(nullptr)
1023 , sameGRIDcase8_InM_two_Both(nullptr)
1024 , Case1ZYPos_InM_two_Both(nullptr)
1025 , sameMIDcase8_mothedPDG_InM_two_Both(nullptr)
1026 , PdgCase8NonEComeFromTarget_InM_two_Both(nullptr)
1027 , PdgCase8NonE_NOT_FromTarget_InM_two_Both(nullptr)
1028 , PdgCase8motherNonE_InM_two_Both(nullptr)
1029 , Case8ElFromDalitz_InM_two_Both(nullptr)
1030 , Case8NonElFrom_pn_InM_two_Both(nullptr)
1031 , Case8NonElFrom_eta_InM_two_Both(nullptr)
1032 , Case8NonElFrom_kaon_InM_two_Both(nullptr)
1033 , sameMIDcase8NonEPdg_InM_two_Both(nullptr)
1034 , sameMIDcase8NonEMotherPdg_InM_two_Both(nullptr)
1035 , sameMIDcase8NonEMotherIM_InM_two_Both(nullptr)
1036 , sameMIDcase8NonEPdgFromTarget_InM_two_Both(nullptr)
1037 , sameMIDcase8NonEComeFromTargetIM_InM_two_Both(nullptr)
1038 , sameMIDcase8NonEComeFromTargetP_InM_two_Both(nullptr)
1039 , sameMIDcase8NonEComeFromTargetPt_InM_two_Both(nullptr)
1040 , fHistoList_bg_InM_onetwo_Both()
1041 , BG1_InM_onetwo_Both(nullptr)
1042 , BG2_InM_onetwo_Both(nullptr)
1043 , BG3_InM_onetwo_Both(nullptr)
1044 , BG4_InM_onetwo_Both(nullptr)
1045 , BG5_InM_onetwo_Both(nullptr)
1046 , BG6_InM_onetwo_Both(nullptr)
1047 , BG7_InM_onetwo_Both(nullptr)
1048 , BG8_InM_onetwo_Both(nullptr)
1049 , BG9_InM_onetwo_Both(nullptr)
1050 , BG10_InM_onetwo_Both(nullptr)
1051 , PdgCase8_InM_onetwo_Both(nullptr)
1052 , PdgCase8mothers_InM_onetwo_Both(nullptr)
1053 , sameMIDcase8_InM_onetwo_Both(nullptr)
1054 , sameGRIDcase8_InM_onetwo_Both(nullptr)
1055 , Case1ZYPos_InM_onetwo_Both(nullptr)
1056 , sameMIDcase8_mothedPDG_InM_onetwo_Both(nullptr)
1057 , PdgCase8NonEComeFromTarget_InM_onetwo_Both(nullptr)
1058 , PdgCase8NonE_NOT_FromTarget_InM_onetwo_Both(nullptr)
1059 , PdgCase8motherNonE_InM_onetwo_Both(nullptr)
1060 , Case8ElFromDalitz_InM_onetwo_Both(nullptr)
1061 , Case8NonElFrom_pn_InM_onetwo_Both(nullptr)
1062 , Case8NonElFrom_eta_InM_onetwo_Both(nullptr)
1063 , Case8NonElFrom_kaon_InM_onetwo_Both(nullptr)
1064 , sameMIDcase8NonEPdg_InM_onetwo_Both(nullptr)
1065 , sameMIDcase8NonEMotherPdg_InM_onetwo_Both(nullptr)
1066 , sameMIDcase8NonEMotherIM_InM_onetwo_Both(nullptr)
1067 , sameMIDcase8NonEPdgFromTarget_InM_onetwo_Both(nullptr)
1068 , sameMIDcase8NonEComeFromTargetIM_InM_onetwo_Both(nullptr)
1069 , sameMIDcase8NonEComeFromTargetP_InM_onetwo_Both(nullptr)
1070 , sameMIDcase8NonEComeFromTargetPt_InM_onetwo_Both(nullptr)
1071 , AnnTruePairs(nullptr)
1072 , AnnFalsePairs(nullptr)
1073 , AnnTruePairs_AfterCuts(nullptr)
1074 , AnnFalsePairs_AfterCuts(nullptr)
1075 , fHistoList_man_WAC()
1076 , Pi0InvMassReco_WAC(nullptr)
1077 , EMT_InvMass_WAC(nullptr)
1078 , Pi0_pt_vs_rap_WAC(nullptr)
1079 , Pi0_pt_vs_rap_est_WAC(nullptr)
1080 , DalitzPi0_WAC(nullptr)
1081 , PhotonsPi0_WAC(nullptr)
1082 , MultiplicityGamma_WAC(nullptr)
1083 , MultiplicityChargedParticles_WAC(nullptr)
1084 , fHistoList_bg_InM_WAC()
1085 , BG1_InM_WAC(nullptr)
1086 , BG2_InM_WAC(nullptr)
1087 , BG3_InM_WAC(nullptr)
1088 , BG4_InM_WAC(nullptr)
1089 , BG5_InM_WAC(nullptr)
1090 , BG6_InM_WAC(nullptr)
1091 , BG7_InM_WAC(nullptr)
1092 , BG8_InM_WAC(nullptr)
1093 , BG9_InM_WAC(nullptr)
1094 , BG10_InM_WAC(nullptr)
1095 , PdgCase8_InM_WAC(nullptr)
1096 , PdgCase8mothers_InM_WAC(nullptr)
1097 , sameMIDcase8_InM_WAC(nullptr)
1098 , sameGRIDcase8_InM_WAC(nullptr)
1099 , Case1ZYPos_InM_WAC(nullptr)
1100 , sameMIDcase8_mothedPDG_InM_WAC(nullptr)
1101 , PdgCase8NonEComeFromTarget_InM_WAC(nullptr)
1102 , PdgCase8NonE_NOT_FromTarget_InM_WAC(nullptr)
1103 , PdgCase8motherNonE_InM_WAC(nullptr)
1104 , Case8ElFromDalitz_InM_WAC(nullptr)
1105 , Case8NonElFrom_pn_InM_WAC(nullptr)
1106 , Case8NonElFrom_eta_InM_WAC(nullptr)
1107 , Case8NonElFrom_kaon_InM_WAC(nullptr)
1108 , sameMIDcase8NonEPdg_InM_WAC(nullptr)
1109 , sameMIDcase8NonEMotherPdg_InM_WAC(nullptr)
1110 , sameMIDcase8NonEMotherIM_InM_WAC(nullptr)
1111 , sameMIDcase8NonEPdgFromTarget_InM_WAC(nullptr)
1112 , sameMIDcase8NonEComeFromTargetIM_InM_WAC(nullptr)
1113 , sameMIDcase8NonEComeFromTargetP_InM_WAC(nullptr)
1114 , sameMIDcase8NonEComeFromTargetPt_InM_WAC(nullptr)
1115 , fHistoList_manual()
1116 , Chi2_for_Primary(nullptr)
1117 , Chi2_for_Secondary(nullptr)
1118{
1119}
1120
1122
1124{
1125 FairRootManager* ioman = FairRootManager::Instance();
1126 if (nullptr == ioman) { Fatal("CbmKresConversionManual::Init", "RootManager not instantised!"); }
1127
1128 fMcTracks = (TClonesArray*) ioman->GetObject("MCTrack");
1129 if (nullptr == fMcTracks) { Fatal("CbmKresConversionManual::Init", "No MCTrack array!"); }
1130
1131 fPrimVertex = dynamic_cast<CbmVertex*>(ioman->GetObject("PrimaryVertex."));
1132 if (nullptr == fPrimVertex) { fPrimVertex = dynamic_cast<CbmVertex*>(ioman->GetObject("PrimaryVertex")); }
1133 if (nullptr == fPrimVertex) { LOG(fatal) << "CbmKresConversionManual::Init No PrimaryVertex array!"; }
1134
1135 fGlobalTracks = (TClonesArray*) ioman->GetObject("GlobalTrack");
1136 if (nullptr == fGlobalTracks) { Fatal("CbmKresConversionManual::Init", "No GlobalTrack array!"); }
1137
1138 fStsTracks = (TClonesArray*) ioman->GetObject("StsTrack");
1139 if (nullptr == fStsTracks) { Fatal("CbmKresConversionManual::Init", "No StsTrack array!"); }
1140
1141 fStsTrackMatches = (TClonesArray*) ioman->GetObject("StsTrackMatch");
1142 if (nullptr == fStsTrackMatches) { Fatal("CbmKresConversionManual::Init", "No StsTrackMatch array!"); }
1143
1144 fRichProjections = (TClonesArray*) ioman->GetObject("RichProjection");
1145 if (nullptr == fRichProjections) { Fatal("CbmKresConversionManual::Init", "No RichProjection array!"); }
1146
1147 fRichRings = (TClonesArray*) ioman->GetObject("RichRing");
1148 if (nullptr == fRichRings) { Fatal("CbmKresConversionManual::Init", "No RichRing array!"); }
1149
1150 fRichRingMatches = (TClonesArray*) ioman->GetObject("RichRingMatch");
1151 if (nullptr == fRichRingMatches) { Fatal("CbmKresConversionManual::Init", "No RichRingMatch array!"); }
1152
1153 fRichHits = (TClonesArray*) ioman->GetObject("RichHit");
1154 if (nullptr == fRichHits) { Fatal("CbmKresConversionManual::Init", "No RichHit array!"); }
1155
1156 fArrayMvdHit = (TClonesArray*) ioman->GetObject("MvdHit");
1157 if (nullptr == fArrayMvdHit) { Fatal("CbmKresConversionManual::Init", "No MvdHit array!"); }
1158
1159 fArrayStsHit = (TClonesArray*) ioman->GetObject("StsHit");
1160 if (nullptr == fArrayStsHit) { Fatal("CbmKresConversionManual::Init", "No StsHit array!"); }
1161
1162
1164
1166
1168 fAnaBG->Init();
1169
1170
1171 AnnTrain =
1172 0; // identificator for artificial neural network. Either it used of trained. not both together at the same time
1173
1174 UseAnn = 1 - AnnTrain;
1175
1176 if (AnnTrain == 1) {
1177 fTrain = new CbmKresTrainAnn();
1178 fTrain->Init();
1179 cout << endl;
1180 cout << "\t *** CbmKresTrainAnn ==> is "
1181 "activated"
1182 << endl;
1183 }
1184
1185 if (UseAnn == 1) {
1188 cout << endl;
1189 cout << "\t *** CbmKresSelectAnn ==> is "
1190 "activated"
1191 << endl;
1192 }
1193}
1194
1195
1196void CbmKresConversionManual::Exec(int fEventNumMan, double OpeningAngleCut, double GammaInvMassCut, int RealPID)
1197{
1198 // cout << "CbmKresConversionManual, event No. " << fEventNumMan << endl;
1199
1200 if (fPrimVertex != nullptr) { fKFVertex = CbmKFVertex(*fPrimVertex); }
1201 else {
1202 Fatal("CbmKresConversionManual::Exec", "No PrimaryVertex array here!");
1203 }
1204
1205
1206 Gammas_all_Target.clear();
1207 Gammas_one_Target.clear();
1208 Gammas_two_Target.clear();
1209 Gammas_zero_Target.clear();
1210 Gammas_onetwo_Target.clear();
1221 Gammas_MC_all_Target.clear();
1222 Gammas_MC_one_Target.clear();
1223 Gammas_MC_two_Target.clear();
1224 Gammas_MC_zero_Target.clear();
1226 Gammas_all_Outside.clear();
1227 Gammas_one_Outside.clear();
1228 Gammas_two_Outside.clear();
1229 Gammas_zero_Outside.clear();
1230 Gammas_onetwo_Outside.clear();
1241 Gammas_MC_all_Outside.clear();
1242 Gammas_MC_one_Outside.clear();
1243 Gammas_MC_two_Outside.clear();
1244 Gammas_MC_zero_Outside.clear();
1246 Gammas_all_Both.clear();
1247 Gammas_one_Both.clear();
1248 Gammas_two_Both.clear();
1249 Gammas_zero_Both.clear();
1250 Gammas_onetwo_Both.clear();
1261 Gammas_MC_all_Both.clear();
1262 Gammas_MC_one_Both.clear();
1263 Gammas_MC_two_Both.clear();
1264 Gammas_MC_zero_Both.clear();
1265 Gammas_MC_onetwo_Both.clear();
1266
1267
1270 VRings_minus_Outside.clear();
1273 VMCIndex_minus_Outside.clear();
1274 VMCtracks_plus_Outside.clear();
1275 VStsTrack_plus_Outside.clear();
1276 VRings_plus_Outside.clear();
1277 VStsIndex_plus_Outside.clear();
1278 VRichRing_plus_Outside.clear();
1279 VMCIndex_plus_Outside.clear();
1280
1281 VMCtracks_minus_Target.clear();
1282 VMomenta_minus_Target.clear();
1283 VStsTrack_minus_Target.clear();
1284 VRings_minus_Target.clear();
1285 VStsIndex_minus_Target.clear();
1286 VRichRing_minus_Target.clear();
1287 VMCIndex_minus_Target.clear();
1288 VMCtracks_plus_Target.clear();
1289 VStsTrack_plus_Target.clear();
1290 VMomenta_plus_Target.clear();
1291 VRings_plus_Target.clear();
1292 VStsIndex_plus_Target.clear();
1293 VRichRing_plus_Target.clear();
1294 VMCIndex_plus_Target.clear();
1295
1296 //WAC - > WithAdditionalCuts
1297 Gamma_WAC.clear();
1298 Gammas_stsIndex_WAC.clear();
1299 Gammas_MCIndex_WAC.clear();
1300 Gammas_MC_WAC.clear();
1301
1302
1303 Int_t ngTracks = fGlobalTracks->GetEntriesFast();
1304 for (Int_t i = 0; i < ngTracks; i++) {
1305 CbmGlobalTrack* gTrack = (CbmGlobalTrack*) fGlobalTracks->At(i);
1306 if (nullptr == gTrack) continue;
1307 Int_t stsInd = gTrack->GetStsTrackIndex();
1308 Int_t richInd = gTrack->GetRichRingIndex();
1309
1310 if (stsInd < 0) continue;
1311 CbmStsTrack* stsTrack = (CbmStsTrack*) fStsTracks->At(stsInd);
1312 if (stsTrack == nullptr) continue;
1313 CbmTrackMatchNew* stsMatch = (CbmTrackMatchNew*) fStsTrackMatches->At(stsInd);
1314 if (stsMatch == nullptr) continue;
1315 if (stsMatch->GetNofLinks() <= 0) continue;
1316 Int_t stsMcTrackId = stsMatch->GetMatchedLink().GetIndex();
1317 if (stsMcTrackId < 0) continue;
1318 CbmMCTrack* mcTrack = (CbmMCTrack*) fMcTracks->At(stsMcTrackId);
1319 if (mcTrack == nullptr) continue;
1320
1321
1322 FairTrackParam* proj = (FairTrackParam*) fRichProjections->At(i);
1323 if (richInd < 0 && proj->GetX() > -115 && proj->GetX() < 115
1324 && ((proj->GetY() < -120 && proj->GetY() > -200) || (proj->GetY() > 120 && proj->GetY() < 200)))
1325 continue;
1326 CbmRichRing* Ring = nullptr;
1327 if (richInd > -1) {
1328 Ring = static_cast<CbmRichRing*>(fRichRings->At(richInd));
1329 Pdg_vs_Distance->Fill(TMath::Abs(mcTrack->GetPdgCode()), CbmRichUtil::GetRingTrackDistance(i));
1330 if (TMath::Abs(mcTrack->GetPdgCode()) == 11)
1332 }
1333
1334
1335 // Doing fit with Fit To primary Vertex and calculate chi2 to primary vertex
1336 double chi2 = 0;
1338 fKFVertex.GetRefZ(), chi2);
1339 const FairTrackParam* track_par = stsTrack->GetParamFirst();
1340 double charge = track_par->GetQp();
1341
1342
1343 // Doing refit of momenta with electron assumption
1344 /*CbmL1PFFitter fPFFitter_electron;
1345 vector<CbmStsTrack> stsTracks_electron;
1346 stsTracks_electron.resize(1);
1347 stsTracks_electron[0] = *stsTrack;
1348 vector<CbmL1PFFitter::PFFieldRegion> vField_electron;
1349 vector<float> chiPrim_electron;
1350 vector<int> pidHypo_electron;
1351 pidHypo_electron.push_back(11);
1352 fPFFitter_electron.Fit(stsTracks_electron, pidHypo_electron);
1353 fPFFitter_electron.GetChiToVertex(stsTracks_electron, vField_electron, chiPrim_electron, fKFVertex, 3e6);
1354
1355 TVector3 Momentum;
1356 const FairTrackParam* vtxTrack_electron = stsTracks_electron[0].GetParamFirst();
1357 vtxTrack_electron->Momentum(Momentum);
1358 double charge = vtxTrack_electron->GetQp()*Momentum.Mag();
1359 float chi2 = chiPrim_electron[0];*/
1360
1361
1362 if (chi2 != chi2) continue;
1363 if (chi2 == 0) continue;
1364
1365 if (mcTrack->GetStartZ() < 3.) Chi2_for_Primary->Fill(chi2);
1366 if (mcTrack->GetStartZ() > 3.) Chi2_for_Secondary->Fill(chi2);
1367
1368 if (chi2 > 3) { SaveOutsideTracks(mcTrack, stsTrack, charge, stsInd, richInd, stsMcTrackId, Ring); }
1369 if (chi2 > 3) continue;
1370
1371 SaveTargetTracks(mcTrack, stsTrack, Momentum, charge, stsInd, richInd, stsMcTrackId, Ring);
1372 }
1373
1374
1375 FindGammasTarget(fEventNumMan, OpeningAngleCut, GammaInvMassCut, RealPID, VMCtracks_minus_Target,
1380
1381 FindGammasOutside(fEventNumMan, OpeningAngleCut, GammaInvMassCut, RealPID, VMCtracks_minus_Outside,
1385
1387
1389
1390
1411
1433
1451
1452
1456
1457
1458 int numformix = 500;
1459 if (fEventNumMan % numformix == 0) {
1470 Mixing_Both();
1471 EMT_man_Event_Both.clear();
1473 EMT_man_NofRings_Both.clear();
1474 }
1475
1476 if (fEventNumMan % numformix == 0) {
1477 Mixing_WAC();
1478 EMT_man_Event_WAC.clear();
1480 EMT_man_NofRings_WAC.clear();
1481 }
1482
1483 if (fEventNumMan % numformix == 0) {
1484 Mixing_Target();
1485 EMT_man_Event_Target.clear();
1488 }
1489
1490 if (fEventNumMan % numformix == 0) {
1492 EMT_man_Event_Outside.clear();
1495 }
1496}
1497
1498
1499void CbmKresConversionManual::SaveOutsideTracks(CbmMCTrack* mcTrack1, CbmStsTrack* stsTrack, double charge, int stsInd,
1500 int richInd, int stsMcTrackId, CbmRichRing* RING)
1501{
1502 int InRich = FindInRich(richInd, stsMcTrackId);
1503 if (charge < 0) {
1504 VMCtracks_minus_Outside.push_back(mcTrack1);
1505 VStsTrack_minus_Outside.push_back(stsTrack);
1506 VRings_minus_Outside.push_back(InRich);
1507 VStsIndex_minus_Outside.push_back(stsInd);
1508 VRichRing_minus_Outside.push_back(RING);
1509 VMCIndex_minus_Outside.push_back(stsMcTrackId);
1510 }
1511 if (charge > 0) {
1512 VMCtracks_plus_Outside.push_back(mcTrack1);
1513 VStsTrack_plus_Outside.push_back(stsTrack);
1514 VRings_plus_Outside.push_back(InRich);
1515 VStsIndex_plus_Outside.push_back(stsInd);
1516 VRichRing_plus_Outside.push_back(RING);
1517 VMCIndex_plus_Outside.push_back(stsMcTrackId);
1518 }
1519}
1520
1521void CbmKresConversionManual::SaveTargetTracks(CbmMCTrack* mcTrack1, CbmStsTrack* stsTrack, TVector3 refmom,
1522 double charge, int stsInd, int richInd, int stsMcTrackId,
1523 CbmRichRing* RING)
1524{
1525 int InRich = FindInRich(richInd, stsMcTrackId);
1526 if (charge < 0) {
1527 VMCtracks_minus_Target.push_back(mcTrack1);
1528 VStsTrack_minus_Target.push_back(stsTrack);
1529 VMomenta_minus_Target.push_back(refmom);
1530 VRings_minus_Target.push_back(InRich);
1531 VStsIndex_minus_Target.push_back(stsInd);
1532 VRichRing_minus_Target.push_back(RING);
1533 VMCIndex_minus_Target.push_back(stsMcTrackId);
1534 }
1535 if (charge > 0) {
1536 VMCtracks_plus_Target.push_back(mcTrack1);
1537 VStsTrack_plus_Target.push_back(stsTrack);
1538 VMomenta_plus_Target.push_back(refmom);
1539 VRings_plus_Target.push_back(InRich);
1540 VStsIndex_plus_Target.push_back(stsInd);
1541 VRichRing_plus_Target.push_back(RING);
1542 VMCIndex_plus_Target.push_back(stsMcTrackId);
1543 }
1544}
1545
1546
1547void CbmKresConversionManual::FindGammasTarget(int EventNumMan, double AngleCut, double InvMassCut, int RealPID,
1548 vector<CbmMCTrack*> MCtracks_minus, vector<CbmMCTrack*> MCtracks_plus,
1549 vector<CbmStsTrack*> StsTrack_minus, vector<CbmStsTrack*> StsTrack_plus,
1550 vector<TVector3> Momenta_minus, vector<TVector3> Momenta_plus,
1551 std::vector<int> Rings_minus, std::vector<int> Rings_plus,
1552 std::vector<int> stsIndex_minus, std::vector<int> stsIndex_plus,
1553 vector<CbmRichRing*> richRing_minus, vector<CbmRichRing*> richRing_plus,
1554 vector<Int_t> MCIndex_minus, vector<Int_t> MCIndex_plus)
1555{
1556 for (size_t i = 0; i < Momenta_minus.size(); i++) {
1557 for (size_t j = 0; j < Momenta_plus.size(); j++) {
1558
1559 CbmStsTrack* sts1 = StsTrack_minus.at(i);
1560 CbmStsTrack* sts2 = StsTrack_plus.at(j);
1561
1562 TVector3 part1 = Momenta_minus[i];
1563 TVector3 part2 = Momenta_plus[j];
1564 CbmMCTrack* part1MC = MCtracks_minus[i];
1565 CbmMCTrack* part2MC = MCtracks_plus[j];
1566
1567 int richcheck_0 = 0;
1568 int richcheck_1 = 0;
1569 if (RealPID == 1) {
1570 // Real PID
1571 richcheck_0 = CheckIfElectron(richRing_minus[i], Momenta_minus[i].Mag());
1572 richcheck_1 = CheckIfElectron(richRing_plus[j], Momenta_plus[j].Mag());
1573 }
1574 else {
1575 // MC PID
1576 richcheck_0 = Rings_minus[i];
1577 richcheck_1 = Rings_plus[j];
1578 }
1579 int richcheck = richcheck_0 + richcheck_1;
1580
1581 Double_t InvmassReco = CbmKresFunctions::Invmass_2particles_RECO(part1, part2);
1582 Double_t OpeningAngle = CbmKresFunctions::CalculateOpeningAngle_Reco(part1, part2);
1583
1584 InvMass_vs_OA_candidates_Target->Fill(InvmassReco, OpeningAngle);
1585 InvMass_vs_OA_candidates_Both->Fill(InvmassReco, OpeningAngle);
1586 GammasInvMass_candidates_Target->Fill(InvmassReco);
1587 GammasInvMass_candidates_Both->Fill(InvmassReco);
1588 GammasOA_candidates_Target->Fill(OpeningAngle);
1589 GammasOA_candidates_Both->Fill(OpeningAngle);
1590
1591 double PlaneAngle_last = CalculatePlaneAngle_last(sts1, sts2);
1592 double PlaneAngle_first = CalculatePlaneAngle_first(sts1, sts2);
1593
1594
1595 int IdForANN = 0; // 0 - means wrong pair combination; 1 - means correct pair
1596 if (part1MC->GetMotherId() == part2MC->GetMotherId() && part1MC->GetMotherId() != -1) {
1597 CbmMCTrack* mcTrackmama = (CbmMCTrack*) fMcTracks->At(part1MC->GetMotherId());
1598 if (mcTrackmama->GetMotherId() != -1 && mcTrackmama->GetPdgCode() == 22) {
1599 CbmMCTrack* mcTrackgrmama = (CbmMCTrack*) fMcTracks->At(mcTrackmama->GetMotherId());
1600 //IdForANN = 1;
1601 if (mcTrackgrmama->GetPdgCode() == 111) {
1602 GammasInvMass_fromPi0_Target->Fill(InvmassReco);
1603 GammasInvMass_fromPi0_Both->Fill(InvmassReco);
1604 GammasOA_fromPi0_Target->Fill(OpeningAngle);
1605 GammasOA_fromPi0_Both->Fill(OpeningAngle);
1606 InvMass_vs_OA_fromPi0_Target->Fill(InvmassReco, OpeningAngle);
1607 InvMass_vs_OA_fromPi0_Both->Fill(InvmassReco, OpeningAngle);
1608 PlaneAngles_last_fromPi0_Target->Fill(PlaneAngle_last);
1609 PlaneAngles_last_fromPi0_Both->Fill(PlaneAngle_last);
1610 PlaneAngles_first_fromPi0_Target->Fill(PlaneAngle_first);
1611 PlaneAngles_first_fromPi0_Both->Fill(PlaneAngle_first);
1612 IdForANN = 1;
1613 }
1614 }
1615 }
1616
1617 // run ANN
1618 if (AnnTrain == 1) {
1619 fTrain->Exec(EventNumMan, IdForANN, InvmassReco, OpeningAngle, PlaneAngle_last, fKFVertex.GetRefZ(), part1,
1620 part2);
1621 continue;
1622 }
1623
1624 double AnnValue = 999;
1625 if (UseAnn == 1) {
1626 AnnValue =
1627 fAnnSelection->DoSelect(InvmassReco, OpeningAngle, PlaneAngle_last, fKFVertex.GetRefZ(), part1, part2);
1628 if (IdForANN == 1) AnnTruePairs->Fill(AnnValue);
1629 if (IdForANN == 0) AnnFalsePairs->Fill(AnnValue);
1630 }
1631
1632
1633 PlaneAngles_last_candidates_Target->Fill(PlaneAngle_last);
1634 PlaneAngles_last_candidates_Both->Fill(PlaneAngle_last);
1635 PlaneAngles_first_candidates_Target->Fill(PlaneAngle_first);
1636 PlaneAngles_first_candidates_Both->Fill(PlaneAngle_first);
1637
1638 // cuts
1639 if (TMath::Abs(OpeningAngle) > AngleCut) continue;
1640 if (TMath::Abs(InvmassReco) > InvMassCut) continue;
1641 // if (AnnValue < 0.9) continue;
1642
1643 if (IdForANN == 1) AnnTruePairs_AfterCuts->Fill(AnnValue);
1644 if (IdForANN == 0) AnnFalsePairs_AfterCuts->Fill(AnnValue);
1645
1646 frefmomenta.clear();
1647 frefmomenta.push_back(part1);
1648 frefmomenta.push_back(part2);
1649 frefId.clear();
1650 frefId.push_back(stsIndex_minus[i]);
1651 frefId.push_back(stsIndex_plus[j]);
1652 fMCId.clear();
1653 fMCId.push_back(MCIndex_minus[i]);
1654 fMCId.push_back(MCIndex_plus[j]);
1655 fMCtracks.clear();
1656 fMCtracks.push_back(part1MC);
1657 fMCtracks.push_back(part2MC);
1658
1659 // for event mixing
1660 EMT_man_Event_Target.push_back(EventNumMan);
1662 EMT_man_NofRings_Target.push_back(richcheck);
1663
1664
1665 // everything (RICH == 0, RICH == 1, RICH == 2) together
1666 if (richcheck == 0 || richcheck == 1 || richcheck == 2) {
1667 Gammas_all_Target.push_back(frefmomenta);
1671 GammaInvMassReco_all_Target->Fill(InvmassReco);
1672 GammaOpeningAngleReco_all_Target->Fill(OpeningAngle);
1673 Pdg_all_Target->Fill(TMath::Abs(part1MC->GetPdgCode()));
1674 Pdg_all_Target->Fill(TMath::Abs(part2MC->GetPdgCode()));
1675 P_reco_all_Target->Fill(part1.Mag());
1676 P_reco_all_Target->Fill(part2.Mag());
1677 Pt_reco_all_Target->Fill(part1.Perp());
1678 Pt_reco_all_Target->Fill(part2.Perp());
1679 GammaInvMassReco_all_Both->Fill(InvmassReco);
1680 GammaOpeningAngleReco_all_Both->Fill(OpeningAngle);
1681 Pdg_all_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1682 Pdg_all_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1683 P_reco_all_Both->Fill(part1.Mag());
1684 P_reco_all_Both->Fill(part2.Mag());
1685 Pt_reco_all_Both->Fill(part1.Perp());
1686 Pt_reco_all_Both->Fill(part2.Perp());
1687 }
1688
1689 // only cases, when RICH == 0
1690 if (richcheck == 0) {
1695 GammaInvMassReco_zero_Target->Fill(InvmassReco);
1696 GammaOpeningAngleReco_zero_Target->Fill(OpeningAngle);
1697 Pdg_zero_Target->Fill(TMath::Abs(part1MC->GetPdgCode()));
1698 Pdg_zero_Target->Fill(TMath::Abs(part2MC->GetPdgCode()));
1699 P_reco_zero_Target->Fill(part1.Mag());
1700 P_reco_zero_Target->Fill(part2.Mag());
1701 Pt_reco_zero_Target->Fill(part1.Perp());
1702 Pt_reco_zero_Target->Fill(part2.Perp());
1703 GammaInvMassReco_zero_Both->Fill(InvmassReco);
1704 GammaOpeningAngleReco_zero_Both->Fill(OpeningAngle);
1705 Pdg_zero_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1706 Pdg_zero_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1707 P_reco_zero_Both->Fill(part1.Mag());
1708 P_reco_zero_Both->Fill(part2.Mag());
1709 Pt_reco_zero_Both->Fill(part1.Perp());
1710 Pt_reco_zero_Both->Fill(part2.Perp());
1711 }
1712
1713 // only cases, when RICH == 1
1714 if (richcheck == 1) {
1715 Gammas_one_Target.push_back(frefmomenta);
1719 GammaInvMassReco_one_Target->Fill(InvmassReco);
1720 GammaOpeningAngleReco_one_Target->Fill(OpeningAngle);
1721 Pdg_one_Target->Fill(TMath::Abs(part1MC->GetPdgCode()));
1722 Pdg_one_Target->Fill(TMath::Abs(part2MC->GetPdgCode()));
1723 P_reco_one_Target->Fill(part1.Mag());
1724 P_reco_one_Target->Fill(part2.Mag());
1725 Pt_reco_one_Target->Fill(part1.Perp());
1726 Pt_reco_one_Target->Fill(part2.Perp());
1727 GammaInvMassReco_one_Both->Fill(InvmassReco);
1728 GammaOpeningAngleReco_one_Both->Fill(OpeningAngle);
1729 Pdg_one_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1730 Pdg_one_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1731 P_reco_one_Both->Fill(part1.Mag());
1732 P_reco_one_Both->Fill(part2.Mag());
1733 Pt_reco_one_Both->Fill(part1.Perp());
1734 Pt_reco_one_Both->Fill(part2.Perp());
1735 }
1736
1737 // only cases, when RICH == 2
1738 if (richcheck == 2) {
1739 Gammas_two_Target.push_back(frefmomenta);
1743 GammaInvMassReco_two_Target->Fill(InvmassReco);
1744 GammaOpeningAngleReco_two_Target->Fill(OpeningAngle);
1745 Pdg_two_Target->Fill(TMath::Abs(part1MC->GetPdgCode()));
1746 Pdg_two_Target->Fill(TMath::Abs(part2MC->GetPdgCode()));
1747 P_reco_two_Target->Fill(part1.Mag());
1748 P_reco_two_Target->Fill(part2.Mag());
1749 Pt_reco_two_Target->Fill(part1.Perp());
1750 Pt_reco_two_Target->Fill(part2.Perp());
1751 GammaInvMassReco_two_Both->Fill(InvmassReco);
1752 GammaOpeningAngleReco_two_Both->Fill(OpeningAngle);
1753 Pdg_two_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1754 Pdg_two_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1755 P_reco_two_Both->Fill(part1.Mag());
1756 P_reco_two_Both->Fill(part2.Mag());
1757 Pt_reco_two_Both->Fill(part1.Perp());
1758 Pt_reco_two_Both->Fill(part2.Perp());
1759
1760 // WAC event mixing
1761 EMT_man_Event_WAC.push_back(EventNumMan);
1763 EMT_man_NofRings_WAC.push_back(richcheck);
1764 }
1765
1766 // cases, when RICH == 1 or RICH == 2 together
1767 if (richcheck == 1 || richcheck == 2) {
1772 GammaInvMassReco_onetwo_Target->Fill(InvmassReco);
1773 GammaOpeningAngleReco_onetwo_Target->Fill(OpeningAngle);
1774 Pdg_onetwo_Target->Fill(TMath::Abs(part1MC->GetPdgCode()));
1775 Pdg_onetwo_Target->Fill(TMath::Abs(part2MC->GetPdgCode()));
1776 P_reco_onetwo_Target->Fill(part1.Mag());
1777 P_reco_onetwo_Target->Fill(part2.Mag());
1778 Pt_reco_onetwo_Target->Fill(part1.Perp());
1779 Pt_reco_onetwo_Target->Fill(part2.Perp());
1780 GammaInvMassReco_onetwo_Both->Fill(InvmassReco);
1781 GammaOpeningAngleReco_onetwo_Both->Fill(OpeningAngle);
1782 Pdg_onetwo_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1783 Pdg_onetwo_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1784 P_reco_onetwo_Both->Fill(part1.Mag());
1785 P_reco_onetwo_Both->Fill(part2.Mag());
1786 Pt_reco_onetwo_Both->Fill(part1.Perp());
1787 Pt_reco_onetwo_Both->Fill(part2.Perp());
1788 }
1789 }
1790 }
1791
1792 //cout << "number of gammas Target with 0-2 electron identified in RICH = " << Gammas_all_Target.size() << endl;
1793 //cout << "number of gammas Target with 0 electron identified in RICH = " << Gammas_zero_Target.size() << endl;
1794 //cout << "number of gammas Target with 1 electron identified in RICH = " << Gammas_one_Target.size() << endl;
1795 //cout << "number of gammas Target with 2 electron identified in RICH = " << Gammas_two_Target.size() << endl;
1796 //cout << "number of gammas Target with 1-2 electron identified in RICH = " << Gammas_onetwo_Target.size() << endl;
1797}
1798
1799
1801 int EventNumMan, double AngleCut, double InvMassCut, int RealPID, vector<CbmMCTrack*> MCtracks_minus_Outside,
1802 vector<CbmMCTrack*> MCtracks_plus_Outside, vector<CbmStsTrack*> StsTrack_minus_Outside,
1803 vector<CbmStsTrack*> StsTrack_plus_Outside, std::vector<int> Rings_minus_Outside, std::vector<int> Rings_plus_Outside,
1804 std::vector<int> stsIndex_minus_Outside, std::vector<int> stsIndex_plus_Outside,
1805 vector<CbmRichRing*> richRing_minus_Outside, vector<CbmRichRing*> richRing_plus_Outside,
1806 vector<Int_t> MCIndex_minus_Outside, vector<Int_t> MCIndex_plus_Outside)
1807{
1808 for (size_t i = 0; i < StsTrack_minus_Outside.size(); i++) {
1809 for (size_t j = 0; j < StsTrack_plus_Outside.size(); j++) {
1810
1811 CbmStsTrack* part1STS = StsTrack_minus_Outside[i];
1812 CbmStsTrack* part2STS = StsTrack_plus_Outside[j];
1813 CbmMCTrack* part1MC = MCtracks_minus_Outside[i];
1814 CbmMCTrack* part2MC = MCtracks_plus_Outside[j];
1815
1816 KFParticle electron;
1818 KFParticle positron;
1819 CbmKFParticleInterface::SetKFParticleFromStsTrack(part2STS, &positron, -11);
1820 const KFParticle* daughters[2] = {&electron, &positron};
1821 KFParticle intersection;
1822 intersection.Construct(daughters, 2);
1823
1824 if (intersection.GetZ() > 75 || intersection.GetZ() < -5) continue; // kick weird intersections
1825
1826 // fit to the vertex fitter
1827 TVector3 part1 =
1828 CbmKresFunctions::FitToVertex(part1STS, intersection.GetX(), intersection.GetY(), intersection.GetZ());
1829 TVector3 part2 =
1830 CbmKresFunctions::FitToVertex(part2STS, intersection.GetX(), intersection.GetY(), intersection.GetZ());
1831
1832 // From maksym program
1833 //TVector3 part1(electron.KFParticleBase::Px(), electron.KFParticleBase::Py(), electron.KFParticleBase::Pz());
1834 //TVector3 part2(positron.KFParticleBase::Px(), positron.KFParticleBase::Py(), positron.KFParticleBase::Pz());
1835
1836
1837 //cout << "=================" << endl;
1838 //cout << "FitToVertex part1: px = " << part1.X() << "; \t py = " << part1.Y() << "; \t pz = " << part1.Z() << endl;
1839 //cout << "FitToVertex part2: px = " << part2.X() << "; \t py = " << part2.Y() << "; \t pz = " << part2.Z() << endl;
1840 //cout << "KFParticle part1: px = " << electron.KFParticleBase::Px() << "; \t py = " << electron.KFParticleBase::Py() << "; \t pz = " << electron.KFParticleBase::Pz() << endl;
1841 //cout << "KFParticle part2: px = " << positron.KFParticleBase::Px() << "; \t py = " << positron.KFParticleBase::Py() << "; \t pz = " << positron.KFParticleBase::Pz() << endl;
1842
1843
1844 int richcheck = 0;
1845 int richcheck_0 = 0;
1846 int richcheck_1 = 0;
1847 if (RealPID == 1) {
1848 // Real PID
1849 richcheck_0 = CheckIfElectron(richRing_minus_Outside[i], part1.Mag());
1850 richcheck_1 = CheckIfElectron(richRing_plus_Outside[j], part2.Mag());
1851 richcheck = richcheck_0 + richcheck_1;
1852 }
1853 else {
1854 // MC PID
1855 richcheck = Rings_minus_Outside[i] + Rings_plus_Outside[j];
1856 }
1857
1858
1859 Double_t InvmassReco = CbmKresFunctions::Invmass_2particles_RECO(part1, part2);
1860 Double_t OpeningAngle = CbmKresFunctions::CalculateOpeningAngle_Reco(part1, part2);
1861
1862 InvMass_vs_OA_candidates_Outside->Fill(InvmassReco, OpeningAngle);
1863 InvMass_vs_OA_candidates_Both->Fill(InvmassReco, OpeningAngle);
1864 GammasInvMass_candidates_Outside->Fill(InvmassReco);
1865 GammasInvMass_candidates_Both->Fill(InvmassReco);
1866 GammasOA_candidates_Outside->Fill(OpeningAngle);
1867 GammasOA_candidates_Both->Fill(OpeningAngle);
1868
1869 double PlaneAngle_last = CalculatePlaneAngle_last(part1STS, part2STS);
1870 double PlaneAngle_first = CalculatePlaneAngle_first(part1STS, part2STS);
1871
1872
1873 int IdForANN = 0; // 0 - means wrong pair combination; 1 - means correct pair
1874 if (part1MC->GetMotherId() == part2MC->GetMotherId() && part1MC->GetMotherId() != -1) {
1875 CbmMCTrack* mcTrackmama = (CbmMCTrack*) fMcTracks->At(part1MC->GetMotherId());
1876 if (mcTrackmama->GetMotherId() != -1 && mcTrackmama->GetPdgCode() == 22) {
1877 CbmMCTrack* mcTrackgrmama = (CbmMCTrack*) fMcTracks->At(mcTrackmama->GetMotherId());
1878 // IdForANN = 1;
1879 if (mcTrackgrmama->GetPdgCode() == 111) {
1880 GammasInvMass_fromPi0_Outside->Fill(InvmassReco);
1881 GammasInvMass_fromPi0_Both->Fill(InvmassReco);
1882 GammasOA_fromPi0_Outside->Fill(OpeningAngle);
1883 GammasOA_fromPi0_Both->Fill(OpeningAngle);
1884 InvMass_vs_OA_fromPi0_Outside->Fill(InvmassReco, OpeningAngle);
1885 InvMass_vs_OA_fromPi0_Both->Fill(InvmassReco, OpeningAngle);
1886 PlaneAngles_last_fromPi0_Outside->Fill(PlaneAngle_last);
1887 PlaneAngles_last_fromPi0_Both->Fill(PlaneAngle_last);
1888 PlaneAngles_first_fromPi0_Outside->Fill(PlaneAngle_first);
1889 PlaneAngles_first_fromPi0_Both->Fill(PlaneAngle_first);
1890 IdForANN = 1;
1891 }
1892 }
1893 }
1894
1895 // run ANN
1896 if (AnnTrain == 1) {
1897 fTrain->Exec(EventNumMan, IdForANN, InvmassReco, OpeningAngle, PlaneAngle_last, intersection.GetZ(), part1,
1898 part2);
1899 continue;
1900 }
1901
1902 double AnnValue = 999;
1903 if (UseAnn == 1) {
1904 AnnValue =
1905 fAnnSelection->DoSelect(InvmassReco, OpeningAngle, PlaneAngle_last, intersection.GetZ(), part1, part2);
1906 if (IdForANN == 1) AnnTruePairs->Fill(AnnValue);
1907 if (IdForANN == 0) AnnFalsePairs->Fill(AnnValue);
1908 }
1909
1910 PlaneAngles_last_candidates_Outside->Fill(PlaneAngle_last);
1911 PlaneAngles_last_candidates_Both->Fill(PlaneAngle_last);
1912 PlaneAngles_first_candidates_Outside->Fill(PlaneAngle_first);
1913 PlaneAngles_first_candidates_Both->Fill(PlaneAngle_first);
1914
1915 // cuts
1916 if (TMath::Abs(OpeningAngle) > AngleCut) continue;
1917 if (TMath::Abs(InvmassReco) > InvMassCut) continue;
1918 // if (AnnValue < 0.9) continue;
1919
1920 if (IdForANN == 1) AnnTruePairs_AfterCuts->Fill(AnnValue);
1921 if (IdForANN == 0) AnnFalsePairs_AfterCuts->Fill(AnnValue);
1922
1923 frefmomenta.clear();
1924 frefmomenta.push_back(part1);
1925 frefmomenta.push_back(part2);
1926
1927 frefId.clear();
1928 frefId.push_back(stsIndex_minus_Outside[i]);
1929 frefId.push_back(stsIndex_plus_Outside[j]);
1930 fMCtracks.clear();
1931 fMCtracks.push_back(part1MC);
1932 fMCtracks.push_back(part2MC);
1933 fMCId.clear();
1934 fMCId.push_back(MCIndex_minus_Outside[i]);
1935 fMCId.push_back(MCIndex_plus_Outside[j]);
1936
1937
1938 // for event mixing
1939 EMT_man_Event_Outside.push_back(EventNumMan);
1941 EMT_man_NofRings_Outside.push_back(richcheck);
1942
1943 // WAC event mixing
1944 EMT_man_Event_WAC.push_back(EventNumMan);
1946 EMT_man_NofRings_WAC.push_back(richcheck);
1947
1948
1949 // everything (RICH == 0, RICH == 1, RICH == 2) together
1950 if (richcheck == 0 || richcheck == 1 || richcheck == 2) {
1955 GammaInvMassReco_all_Outside->Fill(InvmassReco);
1956 GammaOpeningAngleReco_all_Outside->Fill(OpeningAngle);
1957 Pdg_all_Outside->Fill(TMath::Abs(part1MC->GetPdgCode()));
1958 Pdg_all_Outside->Fill(TMath::Abs(part2MC->GetPdgCode()));
1959 P_reco_all_Outside->Fill(part1.Mag());
1960 P_reco_all_Outside->Fill(part2.Mag());
1961 Pt_reco_all_Outside->Fill(part1.Perp());
1962 Pt_reco_all_Outside->Fill(part2.Perp());
1963 GammaInvMassReco_all_Both->Fill(InvmassReco);
1964 GammaOpeningAngleReco_all_Both->Fill(OpeningAngle);
1965 Pdg_all_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1966 Pdg_all_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1967 P_reco_all_Both->Fill(part1.Mag());
1968 P_reco_all_Both->Fill(part2.Mag());
1969 Pt_reco_all_Both->Fill(part1.Perp());
1970 Pt_reco_all_Both->Fill(part2.Perp());
1971 }
1972
1973 // only cases, when RICH == 0
1974 if (richcheck == 0) {
1979 GammaInvMassReco_zero_Outside->Fill(InvmassReco);
1980 GammaOpeningAngleReco_zero_Outside->Fill(OpeningAngle);
1981 Pdg_zero_Outside->Fill(TMath::Abs(part1MC->GetPdgCode()));
1982 Pdg_zero_Outside->Fill(TMath::Abs(part2MC->GetPdgCode()));
1983 P_reco_zero_Outside->Fill(part1.Mag());
1984 P_reco_zero_Outside->Fill(part2.Mag());
1985 Pt_reco_zero_Outside->Fill(part1.Perp());
1986 Pt_reco_zero_Outside->Fill(part2.Perp());
1987 GammaInvMassReco_zero_Both->Fill(InvmassReco);
1988 GammaOpeningAngleReco_zero_Both->Fill(OpeningAngle);
1989 Pdg_zero_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1990 Pdg_zero_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1991 P_reco_zero_Both->Fill(part1.Mag());
1992 P_reco_zero_Both->Fill(part2.Mag());
1993 Pt_reco_zero_Both->Fill(part1.Perp());
1994 Pt_reco_zero_Both->Fill(part2.Perp());
1995 }
1996
1997 // only cases, when RICH == 1
1998 if (richcheck == 1) {
2003 GammaInvMassReco_one_Outside->Fill(InvmassReco);
2004 GammaOpeningAngleReco_one_Outside->Fill(OpeningAngle);
2005 Pdg_one_Outside->Fill(TMath::Abs(part1MC->GetPdgCode()));
2006 Pdg_one_Outside->Fill(TMath::Abs(part2MC->GetPdgCode()));
2007 P_reco_one_Outside->Fill(part1.Mag());
2008 P_reco_one_Outside->Fill(part2.Mag());
2009 Pt_reco_one_Outside->Fill(part1.Perp());
2010 Pt_reco_one_Outside->Fill(part2.Perp());
2011 GammaInvMassReco_one_Both->Fill(InvmassReco);
2012 GammaOpeningAngleReco_one_Both->Fill(OpeningAngle);
2013 Pdg_one_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
2014 Pdg_one_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
2015 P_reco_one_Both->Fill(part1.Mag());
2016 P_reco_one_Both->Fill(part2.Mag());
2017 Pt_reco_one_Both->Fill(part1.Perp());
2018 Pt_reco_one_Both->Fill(part2.Perp());
2019 }
2020
2021 // only cases, when RICH == 2
2022 if (richcheck == 2) {
2027 GammaInvMassReco_two_Outside->Fill(InvmassReco);
2028 GammaOpeningAngleReco_two_Outside->Fill(OpeningAngle);
2029 Pdg_two_Outside->Fill(TMath::Abs(part1MC->GetPdgCode()));
2030 Pdg_two_Outside->Fill(TMath::Abs(part2MC->GetPdgCode()));
2031 P_reco_two_Outside->Fill(part1.Mag());
2032 P_reco_two_Outside->Fill(part2.Mag());
2033 Pt_reco_two_Outside->Fill(part1.Perp());
2034 Pt_reco_two_Outside->Fill(part2.Perp());
2035 GammaInvMassReco_two_Both->Fill(InvmassReco);
2036 GammaOpeningAngleReco_two_Both->Fill(OpeningAngle);
2037 Pdg_two_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
2038 Pdg_two_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
2039 P_reco_two_Both->Fill(part1.Mag());
2040 P_reco_two_Both->Fill(part2.Mag());
2041 Pt_reco_two_Both->Fill(part1.Perp());
2042 Pt_reco_two_Both->Fill(part2.Perp());
2043 }
2044
2045 // cases, when RICH == 1 or RICH == 2 together
2046 if (richcheck == 1 || richcheck == 2) {
2051 GammaInvMassReco_onetwo_Outside->Fill(InvmassReco);
2052 GammaOpeningAngleReco_onetwo_Outside->Fill(OpeningAngle);
2053 Pdg_onetwo_Outside->Fill(TMath::Abs(part1MC->GetPdgCode()));
2054 Pdg_onetwo_Outside->Fill(TMath::Abs(part2MC->GetPdgCode()));
2055 P_reco_onetwo_Outside->Fill(part1.Mag());
2056 P_reco_onetwo_Outside->Fill(part2.Mag());
2057 Pt_reco_onetwo_Outside->Fill(part1.Perp());
2058 Pt_reco_onetwo_Outside->Fill(part2.Perp());
2059 GammaInvMassReco_onetwo_Both->Fill(InvmassReco);
2060 GammaOpeningAngleReco_onetwo_Both->Fill(OpeningAngle);
2061 Pdg_onetwo_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
2062 Pdg_onetwo_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
2063 P_reco_onetwo_Both->Fill(part1.Mag());
2064 P_reco_onetwo_Both->Fill(part2.Mag());
2065 Pt_reco_onetwo_Both->Fill(part1.Perp());
2066 Pt_reco_onetwo_Both->Fill(part2.Perp());
2067 }
2068 }
2069 }
2070
2071 //cout << "number of gammas Outside with 0-2 electron identified in RICH = " << Gammas_all_Outside.size() << endl;
2072 //cout << "number of gammas Outside with 0 electron identified in RICH = " << Gammas_zero_Outside.size() << endl;
2073 //cout << "number of gammas Outside with 1 electron identified in RICH = " << Gammas_one_Outside.size() << endl;
2074 //cout << "number of gammas Outside with 2 electron identified in RICH = " << Gammas_two_Outside.size() << endl;
2075 //cout << "number of gammas Outside with 1-2 electron identified in RICH = " << Gammas_onetwo_Outside.size() << endl;
2076}
2077
2078
2080{
2091
2112
2133
2146
2147 //cout << "number of gammas Both with 0-2 electron identified in RICH = " << Gammas_all_Both.size() << endl;
2148 //cout << "number of gammas Both with 0 electron identified in RICH = " << Gammas_zero_Both.size() << endl;
2149 //cout << "number of gammas Both with 1 electron identified in RICH = " << Gammas_one_Both.size() << endl;
2150 //cout << "number of gammas Both with 2 electron identified in RICH = " << Gammas_two_Both.size() << endl;
2151 //cout << "number of gammas Both with 1-2 electron identified in RICH = " << Gammas_onetwo_Both.size() << endl;
2152}
2153
2154
2156{
2157 // from target should be always 2 particles identified like electrons. From outside 0,1,2 --> target (two) + outside (all)
2158 Gamma_WAC.insert(Gamma_WAC.end(), Gammas_two_Target.begin(), Gammas_two_Target.end());
2159 Gamma_WAC.insert(Gamma_WAC.end(), Gammas_all_Outside.begin(), Gammas_all_Outside.end());
2170}
2171
2172
2173void CbmKresConversionManual::FindPi0(TString mod, TString position, vector<vector<TVector3>> Gammas,
2174 vector<vector<int>> StsIndex, vector<vector<int>> MCIndex,
2175 vector<vector<CbmMCTrack*>> GammasMC, TH1D* Pi0InvMassReco, TH2D* Pi0_pt_vs_rap,
2176 TH2D* Pi0_pt_vs_rap_est, TH2D* MultiplicityGamma,
2177 TH2D* MultiplicityChargedParticles, vector<TH1*> BGCases, TH1D* DalitzPi0,
2178 TH1D* PhotonsPi0)
2179{
2180 // combine all gamma in pi0 --> calculate inv mass for gammas and pi0 // not the case, when one particle used twice for different gammas
2181 if (Gammas.size() < 2) return; // min 2 gammas to form pi0 are required
2182 for (size_t gamma1 = 0; gamma1 < Gammas.size() - 1; gamma1++) {
2183 for (size_t gamma2 = gamma1 + 1; gamma2 < Gammas.size(); gamma2++) {
2184 // 4 reconstructed particles from gammas
2185 TVector3 e11 = Gammas[gamma1][0];
2186 TVector3 e12 = Gammas[gamma1][1];
2187 TVector3 e21 = Gammas[gamma2][0];
2188 TVector3 e22 = Gammas[gamma2][1];
2189
2190 // MC true data for this particles
2191 CbmMCTrack* mcTrack1 = GammasMC[gamma1][0];
2192 CbmMCTrack* mcTrack2 = GammasMC[gamma1][1];
2193 CbmMCTrack* mcTrack3 = GammasMC[gamma2][0];
2194 CbmMCTrack* mcTrack4 = GammasMC[gamma2][1];
2195
2196 if (StsIndex[gamma1][0] == StsIndex[gamma2][0] || StsIndex[gamma1][0] == StsIndex[gamma2][1]
2197 || StsIndex[gamma1][1] == StsIndex[gamma2][0] || StsIndex[gamma1][1] == StsIndex[gamma2][1])
2198 continue; // particles are not used twice --> different
2199
2201
2204 // Double_t OA1 = CbmKresFunctions::CalculateOpeningAngle_Reco(e11, e12);
2205 // Double_t OA2 = CbmKresFunctions::CalculateOpeningAngle_Reco(e21, e22);
2206 //if (params.fRapidity > 2.8 && params.fRapidity <= 3.6 && params.fPt > 0.0 && params.fPt <= 0.4 && OA1 > 1 && OA2 > 1) continue;
2207
2208 Pi0InvMassReco->Fill(params.fMinv);
2209 MultiplicityGamma->Fill(Gammas.size(), params.fMinv);
2210 MultiplicityChargedParticles->Fill(fGlobalTracks->GetEntriesFast(), params.fMinv);
2211
2212 // separate by rap and Pt only for onetwo
2213 if (mod == "OneTwo" && position == "Both") {
2214
2215 // only pt
2216 if (params.fPt > 0.0 && params.fPt <= 0.1) pt_onetwo_1->Fill(params.fMinv);
2217 if (params.fPt > 0.1 && params.fPt <= 0.2) pt_onetwo_2->Fill(params.fMinv);
2218 if (params.fPt > 0.2 && params.fPt <= 0.3) pt_onetwo_3->Fill(params.fMinv);
2219 if (params.fPt > 0.3 && params.fPt <= 0.4) pt_onetwo_4->Fill(params.fMinv);
2220 if (params.fPt > 0.4 && params.fPt <= 0.5) pt_onetwo_5->Fill(params.fMinv);
2221 if (params.fPt > 0.5 && params.fPt <= 0.6) pt_onetwo_6->Fill(params.fMinv);
2222 if (params.fPt > 0.6 && params.fPt <= 0.7) pt_onetwo_7->Fill(params.fMinv);
2223 if (params.fPt > 0.7 && params.fPt <= 0.8) pt_onetwo_8->Fill(params.fMinv);
2224 if (params.fPt > 0.8 && params.fPt <= 0.9) pt_onetwo_9->Fill(params.fMinv);
2225 if (params.fPt > 0.9 && params.fPt <= 1.0) pt_onetwo_10->Fill(params.fMinv);
2226 if (params.fPt > 1.0 && params.fPt <= 1.1) pt_onetwo_11->Fill(params.fMinv);
2227 if (params.fPt > 1.1 && params.fPt <= 1.2) pt_onetwo_12->Fill(params.fMinv);
2228 if (params.fPt > 1.2 && params.fPt <= 1.3) pt_onetwo_13->Fill(params.fMinv);
2229 if (params.fPt > 1.3 && params.fPt <= 1.4) pt_onetwo_14->Fill(params.fMinv);
2230 if (params.fPt > 1.4 && params.fPt <= 1.5) pt_onetwo_15->Fill(params.fMinv);
2231 if (params.fPt > 1.5 && params.fPt <= 1.6) pt_onetwo_16->Fill(params.fMinv);
2232 if (params.fPt > 1.6 && params.fPt <= 1.7) pt_onetwo_17->Fill(params.fMinv);
2233 if (params.fPt > 1.7 && params.fPt <= 1.8) pt_onetwo_18->Fill(params.fMinv);
2234 if (params.fPt > 1.8 && params.fPt <= 1.9) pt_onetwo_19->Fill(params.fMinv);
2235 if (params.fPt > 1.9 && params.fPt <= 2.0) pt_onetwo_20->Fill(params.fMinv);
2236
2237 if (params.fRapidity > 1.2 && params.fRapidity <= 1.6) {
2238 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_1->Fill(params.fMinv);
2239 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_2->Fill(params.fMinv);
2240 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_3->Fill(params.fMinv);
2241 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_4->Fill(params.fMinv);
2242 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_5->Fill(params.fMinv);
2243 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_6->Fill(params.fMinv);
2244 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_7->Fill(params.fMinv);
2245 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_8->Fill(params.fMinv);
2246 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_9->Fill(params.fMinv);
2247 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_10->Fill(params.fMinv);
2248 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_11->Fill(params.fMinv);
2249 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_12->Fill(params.fMinv);
2250 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_13->Fill(params.fMinv);
2251 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_14->Fill(params.fMinv);
2252 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_15->Fill(params.fMinv);
2253 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_16->Fill(params.fMinv);
2254 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_17->Fill(params.fMinv);
2255 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_18->Fill(params.fMinv);
2256 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_19->Fill(params.fMinv);
2257 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_20->Fill(params.fMinv);
2258 }
2259 if (params.fRapidity > 1.6 && params.fRapidity <= 2.0) {
2260 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_21->Fill(params.fMinv);
2261 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_22->Fill(params.fMinv);
2262 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_23->Fill(params.fMinv);
2263 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_24->Fill(params.fMinv);
2264 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_25->Fill(params.fMinv);
2265 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_26->Fill(params.fMinv);
2266 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_27->Fill(params.fMinv);
2267 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_28->Fill(params.fMinv);
2268 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_29->Fill(params.fMinv);
2269 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_30->Fill(params.fMinv);
2270 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_31->Fill(params.fMinv);
2271 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_32->Fill(params.fMinv);
2272 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_33->Fill(params.fMinv);
2273 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_34->Fill(params.fMinv);
2274 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_35->Fill(params.fMinv);
2275 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_36->Fill(params.fMinv);
2276 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_37->Fill(params.fMinv);
2277 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_38->Fill(params.fMinv);
2278 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_39->Fill(params.fMinv);
2279 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_40->Fill(params.fMinv);
2280 }
2281 if (params.fRapidity > 2.0 && params.fRapidity <= 2.4) {
2282 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_41->Fill(params.fMinv);
2283 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_42->Fill(params.fMinv);
2284 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_43->Fill(params.fMinv);
2285 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_44->Fill(params.fMinv);
2286 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_45->Fill(params.fMinv);
2287 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_46->Fill(params.fMinv);
2288 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_47->Fill(params.fMinv);
2289 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_48->Fill(params.fMinv);
2290 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_49->Fill(params.fMinv);
2291 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_50->Fill(params.fMinv);
2292 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_51->Fill(params.fMinv);
2293 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_52->Fill(params.fMinv);
2294 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_53->Fill(params.fMinv);
2295 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_54->Fill(params.fMinv);
2296 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_55->Fill(params.fMinv);
2297 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_56->Fill(params.fMinv);
2298 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_57->Fill(params.fMinv);
2299 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_58->Fill(params.fMinv);
2300 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_59->Fill(params.fMinv);
2301 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_60->Fill(params.fMinv);
2302 }
2303 if (params.fRapidity > 2.4 && params.fRapidity <= 2.8) {
2304 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_61->Fill(params.fMinv);
2305 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_62->Fill(params.fMinv);
2306 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_63->Fill(params.fMinv);
2307 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_64->Fill(params.fMinv);
2308 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_65->Fill(params.fMinv);
2309 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_66->Fill(params.fMinv);
2310 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_67->Fill(params.fMinv);
2311 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_68->Fill(params.fMinv);
2312 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_69->Fill(params.fMinv);
2313 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_70->Fill(params.fMinv);
2314 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_71->Fill(params.fMinv);
2315 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_72->Fill(params.fMinv);
2316 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_73->Fill(params.fMinv);
2317 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_74->Fill(params.fMinv);
2318 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_75->Fill(params.fMinv);
2319 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_76->Fill(params.fMinv);
2320 }
2321 if (params.fRapidity > 2.8 && params.fRapidity <= 3.2) {
2322 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_81->Fill(params.fMinv);
2323 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_82->Fill(params.fMinv);
2324 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_83->Fill(params.fMinv);
2325 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_84->Fill(params.fMinv);
2326 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_85->Fill(params.fMinv);
2327 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_86->Fill(params.fMinv);
2328 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_87->Fill(params.fMinv);
2329 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_88->Fill(params.fMinv);
2330 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_89->Fill(params.fMinv);
2331 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_90->Fill(params.fMinv);
2332 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_91->Fill(params.fMinv);
2333 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_92->Fill(params.fMinv);
2334 }
2335 if (params.fRapidity > 3.2 && params.fRapidity <= 3.6) {
2336 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_101->Fill(params.fMinv);
2337 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_102->Fill(params.fMinv);
2338 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_103->Fill(params.fMinv);
2339 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_104->Fill(params.fMinv);
2340 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_105->Fill(params.fMinv);
2341 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_106->Fill(params.fMinv);
2342 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_107->Fill(params.fMinv);
2343 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_108->Fill(params.fMinv);
2344 }
2345 if (params.fRapidity > 3.6 && params.fRapidity <= 4.0) {
2346 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_111->Fill(params.fMinv);
2347 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_112->Fill(params.fMinv);
2348 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_113->Fill(params.fMinv);
2349 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_114->Fill(params.fMinv);
2350 }
2351 }
2352
2353
2354 // separate by rap and Pt only for onetwo
2355 if (mod == "All" && position == "Both") {
2356
2357 // only pt
2358 if (params.fPt > 0.0 && params.fPt <= 0.1) pt_all_1->Fill(params.fMinv);
2359 if (params.fPt > 0.1 && params.fPt <= 0.2) pt_all_2->Fill(params.fMinv);
2360 if (params.fPt > 0.2 && params.fPt <= 0.3) pt_all_3->Fill(params.fMinv);
2361 if (params.fPt > 0.3 && params.fPt <= 0.4) pt_all_4->Fill(params.fMinv);
2362 if (params.fPt > 0.4 && params.fPt <= 0.5) pt_all_5->Fill(params.fMinv);
2363 if (params.fPt > 0.5 && params.fPt <= 0.6) pt_all_6->Fill(params.fMinv);
2364 if (params.fPt > 0.6 && params.fPt <= 0.7) pt_all_7->Fill(params.fMinv);
2365 if (params.fPt > 0.7 && params.fPt <= 0.8) pt_all_8->Fill(params.fMinv);
2366 if (params.fPt > 0.8 && params.fPt <= 0.9) pt_all_9->Fill(params.fMinv);
2367 if (params.fPt > 0.9 && params.fPt <= 1.0) pt_all_10->Fill(params.fMinv);
2368 if (params.fPt > 1.0 && params.fPt <= 1.1) pt_all_11->Fill(params.fMinv);
2369 if (params.fPt > 1.1 && params.fPt <= 1.2) pt_all_12->Fill(params.fMinv);
2370 if (params.fPt > 1.2 && params.fPt <= 1.3) pt_all_13->Fill(params.fMinv);
2371 if (params.fPt > 1.3 && params.fPt <= 1.4) pt_all_14->Fill(params.fMinv);
2372 if (params.fPt > 1.4 && params.fPt <= 1.5) pt_all_15->Fill(params.fMinv);
2373 if (params.fPt > 1.5 && params.fPt <= 1.6) pt_all_16->Fill(params.fMinv);
2374 if (params.fPt > 1.6 && params.fPt <= 1.7) pt_all_17->Fill(params.fMinv);
2375 if (params.fPt > 1.7 && params.fPt <= 1.8) pt_all_18->Fill(params.fMinv);
2376 if (params.fPt > 1.8 && params.fPt <= 1.9) pt_all_19->Fill(params.fMinv);
2377 if (params.fPt > 1.9 && params.fPt <= 2.0) pt_all_20->Fill(params.fMinv);
2378
2379 if (params.fRapidity > 1.2 && params.fRapidity <= 1.6) {
2380 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_1->Fill(params.fMinv);
2381 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_2->Fill(params.fMinv);
2382 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_3->Fill(params.fMinv);
2383 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_4->Fill(params.fMinv);
2384 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_5->Fill(params.fMinv);
2385 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_6->Fill(params.fMinv);
2386 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_7->Fill(params.fMinv);
2387 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_8->Fill(params.fMinv);
2388 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_9->Fill(params.fMinv);
2389 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_10->Fill(params.fMinv);
2390 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_11->Fill(params.fMinv);
2391 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_12->Fill(params.fMinv);
2392 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_13->Fill(params.fMinv);
2393 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_14->Fill(params.fMinv);
2394 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_15->Fill(params.fMinv);
2395 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_16->Fill(params.fMinv);
2396 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_all_17->Fill(params.fMinv);
2397 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_all_18->Fill(params.fMinv);
2398 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_all_19->Fill(params.fMinv);
2399 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_all_20->Fill(params.fMinv);
2400 }
2401 if (params.fRapidity > 1.6 && params.fRapidity <= 2.0) {
2402 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_21->Fill(params.fMinv);
2403 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_22->Fill(params.fMinv);
2404 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_23->Fill(params.fMinv);
2405 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_24->Fill(params.fMinv);
2406 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_25->Fill(params.fMinv);
2407 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_26->Fill(params.fMinv);
2408 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_27->Fill(params.fMinv);
2409 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_28->Fill(params.fMinv);
2410 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_29->Fill(params.fMinv);
2411 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_30->Fill(params.fMinv);
2412 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_31->Fill(params.fMinv);
2413 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_32->Fill(params.fMinv);
2414 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_33->Fill(params.fMinv);
2415 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_34->Fill(params.fMinv);
2416 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_35->Fill(params.fMinv);
2417 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_36->Fill(params.fMinv);
2418 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_all_37->Fill(params.fMinv);
2419 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_all_38->Fill(params.fMinv);
2420 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_all_39->Fill(params.fMinv);
2421 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_all_40->Fill(params.fMinv);
2422 }
2423 if (params.fRapidity > 2.0 && params.fRapidity <= 2.4) {
2424 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_41->Fill(params.fMinv);
2425 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_42->Fill(params.fMinv);
2426 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_43->Fill(params.fMinv);
2427 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_44->Fill(params.fMinv);
2428 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_45->Fill(params.fMinv);
2429 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_46->Fill(params.fMinv);
2430 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_47->Fill(params.fMinv);
2431 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_48->Fill(params.fMinv);
2432 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_49->Fill(params.fMinv);
2433 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_50->Fill(params.fMinv);
2434 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_51->Fill(params.fMinv);
2435 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_52->Fill(params.fMinv);
2436 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_53->Fill(params.fMinv);
2437 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_54->Fill(params.fMinv);
2438 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_55->Fill(params.fMinv);
2439 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_56->Fill(params.fMinv);
2440 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_all_57->Fill(params.fMinv);
2441 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_all_58->Fill(params.fMinv);
2442 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_all_59->Fill(params.fMinv);
2443 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_all_60->Fill(params.fMinv);
2444 }
2445 if (params.fRapidity > 2.4 && params.fRapidity <= 2.8) {
2446 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_61->Fill(params.fMinv);
2447 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_62->Fill(params.fMinv);
2448 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_63->Fill(params.fMinv);
2449 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_64->Fill(params.fMinv);
2450 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_65->Fill(params.fMinv);
2451 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_66->Fill(params.fMinv);
2452 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_67->Fill(params.fMinv);
2453 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_68->Fill(params.fMinv);
2454 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_69->Fill(params.fMinv);
2455 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_70->Fill(params.fMinv);
2456 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_71->Fill(params.fMinv);
2457 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_72->Fill(params.fMinv);
2458 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_73->Fill(params.fMinv);
2459 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_74->Fill(params.fMinv);
2460 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_75->Fill(params.fMinv);
2461 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_76->Fill(params.fMinv);
2462 }
2463 if (params.fRapidity > 2.8 && params.fRapidity <= 3.2) {
2464 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_81->Fill(params.fMinv);
2465 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_82->Fill(params.fMinv);
2466 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_83->Fill(params.fMinv);
2467 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_84->Fill(params.fMinv);
2468 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_85->Fill(params.fMinv);
2469 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_86->Fill(params.fMinv);
2470 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_87->Fill(params.fMinv);
2471 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_88->Fill(params.fMinv);
2472 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_89->Fill(params.fMinv);
2473 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_90->Fill(params.fMinv);
2474 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_91->Fill(params.fMinv);
2475 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_92->Fill(params.fMinv);
2476 }
2477 if (params.fRapidity > 3.2 && params.fRapidity <= 3.6) {
2478 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_101->Fill(params.fMinv);
2479 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_102->Fill(params.fMinv);
2480 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_103->Fill(params.fMinv);
2481 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_104->Fill(params.fMinv);
2482 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_105->Fill(params.fMinv);
2483 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_106->Fill(params.fMinv);
2484 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_107->Fill(params.fMinv);
2485 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_108->Fill(params.fMinv);
2486 }
2487 if (params.fRapidity > 3.6 && params.fRapidity <= 4.0) {
2488 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_111->Fill(params.fMinv);
2489 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_112->Fill(params.fMinv);
2490 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_113->Fill(params.fMinv);
2491 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_114->Fill(params.fMinv);
2492 }
2493 }
2494
2495
2496 if (position == "Both") fAnaBG->Exec(mcTrack1, mcTrack2, mcTrack3, mcTrack4, params.fMinv, BGCases);
2497
2498
2499 int STSmcId1 = MCIndex[gamma1][0];
2500 int STSmcId2 = MCIndex[gamma1][1];
2501 int STSmcId3 = MCIndex[gamma2][0];
2502 int STSmcId4 = MCIndex[gamma2][1];
2503 if (STSmcId1 == STSmcId2 || STSmcId1 == STSmcId3 || STSmcId1 == STSmcId4 || STSmcId2 == STSmcId3
2504 || STSmcId2 == STSmcId4 || STSmcId3 == STSmcId4)
2505 continue; // particle is not used twice
2506
2507 // fill histos with rapidity and Pt for correctly reconstructed pi0(dalitz) and pi0(g+g)
2508 if (nullptr == mcTrack1 || nullptr == mcTrack2 || nullptr == mcTrack3 || nullptr == mcTrack4) continue;
2509 if (TMath::Abs(mcTrack1->GetPdgCode()) != 11 || TMath::Abs(mcTrack2->GetPdgCode()) != 11
2510 || TMath::Abs(mcTrack3->GetPdgCode()) != 11 || TMath::Abs(mcTrack4->GetPdgCode()) != 11)
2511 continue;
2512 if (mcTrack1->GetPdgCode() + mcTrack2->GetPdgCode() != 0) continue;
2513 if (mcTrack3->GetPdgCode() + mcTrack4->GetPdgCode() != 0) continue;
2514 int motherId1 = mcTrack1->GetMotherId();
2515 int motherId2 = mcTrack2->GetMotherId();
2516 int motherId3 = mcTrack3->GetMotherId();
2517 int motherId4 = mcTrack4->GetMotherId();
2518 if (motherId1 == -1 || motherId2 == -1 || motherId3 == -1 || motherId4 == -1) continue;
2519 if (motherId1 != motherId2 || motherId3 != motherId4) continue;
2520 CbmMCTrack* mother1 = (CbmMCTrack*) fMcTracks->At(motherId1);
2521 CbmMCTrack* mother2 = (CbmMCTrack*) fMcTracks->At(motherId2);
2522 CbmMCTrack* mother3 = (CbmMCTrack*) fMcTracks->At(motherId3);
2523 CbmMCTrack* mother4 = (CbmMCTrack*) fMcTracks->At(motherId4);
2524 if (nullptr == mother1 || nullptr == mother2 || nullptr == mother3 || nullptr == mother4) continue;
2525 int mcMotherPdg1 = mother1->GetPdgCode();
2526 int mcMotherPdg2 = mother2->GetPdgCode();
2527 int mcMotherPdg3 = mother3->GetPdgCode();
2528 int mcMotherPdg4 = mother4->GetPdgCode();
2529 int grandmotherId1 = mother1->GetMotherId();
2530 int grandmotherId2 = mother2->GetMotherId();
2531 int grandmotherId3 = mother3->GetMotherId();
2532 int grandmotherId4 = mother4->GetMotherId();
2533
2534 if (mcMotherPdg1 == 22 && mcMotherPdg2 == 22 && mcMotherPdg3 == 111 && mcMotherPdg4 == 111) {
2535 if (grandmotherId1 != motherId3) continue;
2536 Pi0_pt_vs_rap->Fill(params.fRapidity, params.fPt);
2537 Pi0_pt_vs_rap_est->Fill(params.fRapidity, params.fPt);
2538 if (mod == "OneTwo" && position == "Both") Pi0_pt_est_onetwo_Both->Fill(params.fPt);
2539 if (mod == "All" && position == "Both") Pi0_pt_est_all_Both->Fill(params.fPt);
2540 DalitzPi0->Fill(params.fMinv);
2541 }
2542
2543 if (mcMotherPdg1 == 111 && mcMotherPdg2 == 111 && mcMotherPdg3 == 22 && mcMotherPdg4 == 22) {
2544 if (grandmotherId3 != motherId1) continue;
2545 Pi0_pt_vs_rap->Fill(params.fRapidity, params.fPt);
2546 Pi0_pt_vs_rap_est->Fill(params.fRapidity, params.fPt);
2547 if (mod == "OneTwo" && position == "Both") Pi0_pt_est_onetwo_Both->Fill(params.fPt);
2548 if (mod == "All" && position == "Both") Pi0_pt_est_all_Both->Fill(params.fPt);
2549 DalitzPi0->Fill(params.fMinv);
2550 }
2551
2552 if (mcMotherPdg1 == 22 && mcMotherPdg2 == 22 && mcMotherPdg3 == 22 && mcMotherPdg4 == 22) {
2553 if (grandmotherId1 != grandmotherId2 || grandmotherId3 != grandmotherId4 || grandmotherId1 != grandmotherId3)
2554 continue;
2555 if (grandmotherId1 == -1) continue;
2556 CbmMCTrack* grandmother1 = (CbmMCTrack*) fMcTracks->At(grandmotherId1);
2557 if (nullptr == grandmother1) continue;
2558 int mcGrandMotherPdg1 = grandmother1->GetPdgCode();
2559 if (mcGrandMotherPdg1 != 111) continue;
2560 Pi0_pt_vs_rap->Fill(params.fRapidity, params.fPt);
2561 Pi0_pt_vs_rap_est->Fill(params.fRapidity, params.fPt);
2562 if (mod == "OneTwo" && position == "Both") Pi0_pt_est_onetwo_Both->Fill(params.fPt);
2563 if (mod == "All" && position == "Both") Pi0_pt_est_all_Both->Fill(params.fPt);
2564 PhotonsPi0->Fill(params.fMinv);
2565 }
2566 }
2567 }
2568}
2569
2570
2572// TARGET
2573{
2574 Int_t nof_Target = EMT_man_Event_Target.size();
2575 cout << "Mixing in Manual(Target) - nof entries " << nof_Target << endl;
2576 for (Int_t a = 0; a < nof_Target - 1; a++) {
2577 for (Int_t b = a + 1; b < nof_Target; b++) {
2579 continue; // to make sure that the photons are from two different events
2580 TVector3 e11 = EMT_man_pair_momenta_Target[a][0];
2581 TVector3 e12 = EMT_man_pair_momenta_Target[a][1];
2582 TVector3 e21 = EMT_man_pair_momenta_Target[b][0];
2583 TVector3 e22 = EMT_man_pair_momenta_Target[b][1];
2585
2586 EMT_InvMass_all_Target->Fill(params.fMinv);
2587 if (EMT_man_NofRings_Target[a] == 0 && EMT_man_NofRings_Target[b] == 0)
2588 EMT_InvMass_zero_Target->Fill(params.fMinv);
2589 if (EMT_man_NofRings_Target[a] == 1 && EMT_man_NofRings_Target[b] == 1)
2590 EMT_InvMass_one_Target->Fill(params.fMinv);
2591 if (EMT_man_NofRings_Target[a] == 2 && EMT_man_NofRings_Target[b] == 2)
2592 EMT_InvMass_two_Target->Fill(params.fMinv);
2593 if ((EMT_man_NofRings_Target[a] == 1 || EMT_man_NofRings_Target[a] == 2)
2594 && (EMT_man_NofRings_Target[b] == 1 || EMT_man_NofRings_Target[b] == 2))
2595 EMT_InvMass_onetwo_Target->Fill(params.fMinv);
2596 }
2597 }
2598}
2599
2600
2602// OUTSIDE
2603{
2604 Int_t nof_Outside = EMT_man_Event_Outside.size();
2605 cout << "Mixing in Manual(Outside) - nof entries " << nof_Outside << endl;
2606 for (Int_t a = 0; a < nof_Outside - 1; a++) {
2607 for (Int_t b = a + 1; b < nof_Outside; b++) {
2609 continue; // to make sure that the photons are from two different events
2610 TVector3 e11 = EMT_man_pair_momenta_Outside[a][0];
2611 TVector3 e12 = EMT_man_pair_momenta_Outside[a][1];
2612 TVector3 e21 = EMT_man_pair_momenta_Outside[b][0];
2613 TVector3 e22 = EMT_man_pair_momenta_Outside[b][1];
2615
2616 EMT_InvMass_all_Outside->Fill(params.fMinv);
2618 EMT_InvMass_zero_Outside->Fill(params.fMinv);
2620 EMT_InvMass_one_Outside->Fill(params.fMinv);
2622 EMT_InvMass_two_Outside->Fill(params.fMinv);
2623 if ((EMT_man_NofRings_Outside[a] == 1 || EMT_man_NofRings_Outside[a] == 2)
2624 && (EMT_man_NofRings_Outside[b] == 1 || EMT_man_NofRings_Outside[b] == 2))
2625 EMT_InvMass_onetwo_Outside->Fill(params.fMinv);
2626 }
2627 }
2628}
2629
2630
2632// BOTH
2633{
2634 Int_t nof_Both = EMT_man_Event_Both.size();
2635 cout << "Mixing in Manual(Both) - nof entries " << nof_Both << endl;
2636 for (Int_t a = 0; a < nof_Both - 1; a++) {
2637 for (Int_t b = a + 1; b < nof_Both; b++) {
2639 continue; // to make sure that the photons are from two different events
2640 TVector3 e11 = EMT_man_pair_momenta_Both[a][0];
2641 TVector3 e12 = EMT_man_pair_momenta_Both[a][1];
2642 TVector3 e21 = EMT_man_pair_momenta_Both[b][0];
2643 TVector3 e22 = EMT_man_pair_momenta_Both[b][1];
2645
2646 EMT_InvMass_all_Both->Fill(params.fMinv);
2647 if (EMT_man_NofRings_Both[a] == 0 && EMT_man_NofRings_Both[b] == 0) EMT_InvMass_zero_Both->Fill(params.fMinv);
2648 if (EMT_man_NofRings_Both[a] == 1 && EMT_man_NofRings_Both[b] == 1) EMT_InvMass_one_Both->Fill(params.fMinv);
2649 if (EMT_man_NofRings_Both[a] == 2 && EMT_man_NofRings_Both[b] == 2) EMT_InvMass_two_Both->Fill(params.fMinv);
2650 if ((EMT_man_NofRings_Both[a] == 1 || EMT_man_NofRings_Both[a] == 2)
2651 && (EMT_man_NofRings_Both[b] == 1 || EMT_man_NofRings_Both[b] == 2))
2652 EMT_InvMass_onetwo_Both->Fill(params.fMinv);
2653
2654 // separate by rap and Pt only for onetwo
2655 if ((EMT_man_NofRings_Both[a] == 1 || EMT_man_NofRings_Both[a] == 2)
2656 && (EMT_man_NofRings_Both[b] == 1 || EMT_man_NofRings_Both[b] == 2)) {
2657 if (params.fRapidity > 1.2 && params.fRapidity <= 1.6) {
2658 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_1->Fill(params.fMinv);
2659 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_2->Fill(params.fMinv);
2660 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_3->Fill(params.fMinv);
2661 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_4->Fill(params.fMinv);
2662 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_mixing_5->Fill(params.fMinv);
2663 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_mixing_6->Fill(params.fMinv);
2664 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_mixing_7->Fill(params.fMinv);
2665 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_mixing_8->Fill(params.fMinv);
2666 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_mixing_9->Fill(params.fMinv);
2667 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_mixing_10->Fill(params.fMinv);
2668 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_mixing_11->Fill(params.fMinv);
2669 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_mixing_12->Fill(params.fMinv);
2670 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_mixing_13->Fill(params.fMinv);
2671 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_mixing_14->Fill(params.fMinv);
2672 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_mixing_15->Fill(params.fMinv);
2673 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_mixing_16->Fill(params.fMinv);
2674 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_mixing_17->Fill(params.fMinv);
2675 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_mixing_18->Fill(params.fMinv);
2676 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_mixing_19->Fill(params.fMinv);
2677 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_mixing_20->Fill(params.fMinv);
2678 }
2679 if (params.fRapidity > 1.6 && params.fRapidity <= 2.0) {
2680 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_21->Fill(params.fMinv);
2681 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_22->Fill(params.fMinv);
2682 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_23->Fill(params.fMinv);
2683 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_24->Fill(params.fMinv);
2684 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_mixing_25->Fill(params.fMinv);
2685 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_mixing_26->Fill(params.fMinv);
2686 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_mixing_27->Fill(params.fMinv);
2687 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_mixing_28->Fill(params.fMinv);
2688 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_mixing_29->Fill(params.fMinv);
2689 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_mixing_30->Fill(params.fMinv);
2690 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_mixing_31->Fill(params.fMinv);
2691 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_mixing_32->Fill(params.fMinv);
2692 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_mixing_33->Fill(params.fMinv);
2693 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_mixing_34->Fill(params.fMinv);
2694 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_mixing_35->Fill(params.fMinv);
2695 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_mixing_36->Fill(params.fMinv);
2696 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_mixing_37->Fill(params.fMinv);
2697 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_mixing_38->Fill(params.fMinv);
2698 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_mixing_39->Fill(params.fMinv);
2699 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_mixing_40->Fill(params.fMinv);
2700 }
2701 if (params.fRapidity > 2.0 && params.fRapidity <= 2.4) {
2702 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_41->Fill(params.fMinv);
2703 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_42->Fill(params.fMinv);
2704 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_43->Fill(params.fMinv);
2705 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_44->Fill(params.fMinv);
2706 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_mixing_45->Fill(params.fMinv);
2707 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_mixing_46->Fill(params.fMinv);
2708 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_mixing_47->Fill(params.fMinv);
2709 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_mixing_48->Fill(params.fMinv);
2710 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_mixing_49->Fill(params.fMinv);
2711 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_mixing_50->Fill(params.fMinv);
2712 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_mixing_51->Fill(params.fMinv);
2713 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_mixing_52->Fill(params.fMinv);
2714 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_mixing_53->Fill(params.fMinv);
2715 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_mixing_54->Fill(params.fMinv);
2716 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_mixing_55->Fill(params.fMinv);
2717 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_mixing_56->Fill(params.fMinv);
2718 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_mixing_57->Fill(params.fMinv);
2719 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_mixing_58->Fill(params.fMinv);
2720 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_mixing_59->Fill(params.fMinv);
2721 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_mixing_60->Fill(params.fMinv);
2722 }
2723 if (params.fRapidity > 2.4 && params.fRapidity <= 2.8) {
2724 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_61->Fill(params.fMinv);
2725 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_62->Fill(params.fMinv);
2726 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_63->Fill(params.fMinv);
2727 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_64->Fill(params.fMinv);
2728 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_mixing_65->Fill(params.fMinv);
2729 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_mixing_66->Fill(params.fMinv);
2730 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_mixing_67->Fill(params.fMinv);
2731 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_mixing_68->Fill(params.fMinv);
2732 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_mixing_69->Fill(params.fMinv);
2733 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_mixing_70->Fill(params.fMinv);
2734 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_mixing_71->Fill(params.fMinv);
2735 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_mixing_72->Fill(params.fMinv);
2736 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_mixing_73->Fill(params.fMinv);
2737 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_mixing_74->Fill(params.fMinv);
2738 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_mixing_75->Fill(params.fMinv);
2739 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_mixing_76->Fill(params.fMinv);
2740 }
2741 if (params.fRapidity > 2.8 && params.fRapidity <= 3.2) {
2742 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_81->Fill(params.fMinv);
2743 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_82->Fill(params.fMinv);
2744 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_83->Fill(params.fMinv);
2745 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_84->Fill(params.fMinv);
2746 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_mixing_85->Fill(params.fMinv);
2747 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_mixing_86->Fill(params.fMinv);
2748 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_mixing_87->Fill(params.fMinv);
2749 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_mixing_88->Fill(params.fMinv);
2750 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_mixing_89->Fill(params.fMinv);
2751 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_mixing_90->Fill(params.fMinv);
2752 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_mixing_91->Fill(params.fMinv);
2753 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_mixing_92->Fill(params.fMinv);
2754 }
2755 if (params.fRapidity > 3.2 && params.fRapidity <= 3.6) {
2756 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_101->Fill(params.fMinv);
2757 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_102->Fill(params.fMinv);
2758 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_103->Fill(params.fMinv);
2759 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_104->Fill(params.fMinv);
2760 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_mixing_105->Fill(params.fMinv);
2761 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_mixing_106->Fill(params.fMinv);
2762 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_mixing_107->Fill(params.fMinv);
2763 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_mixing_108->Fill(params.fMinv);
2764 }
2765 if (params.fRapidity > 3.6 && params.fRapidity <= 4.0) {
2766 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_111->Fill(params.fMinv);
2767 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_112->Fill(params.fMinv);
2768 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_113->Fill(params.fMinv);
2769 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_114->Fill(params.fMinv);
2770 }
2771 }
2772
2773 // separate by rap and Pt only for all
2774 if (params.fRapidity > 1.2 && params.fRapidity <= 1.6) {
2775 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_1->Fill(params.fMinv);
2776 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_2->Fill(params.fMinv);
2777 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_3->Fill(params.fMinv);
2778 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_4->Fill(params.fMinv);
2779 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_mixing_5->Fill(params.fMinv);
2780 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_mixing_6->Fill(params.fMinv);
2781 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_mixing_7->Fill(params.fMinv);
2782 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_mixing_8->Fill(params.fMinv);
2783 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_mixing_9->Fill(params.fMinv);
2784 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_mixing_10->Fill(params.fMinv);
2785 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_mixing_11->Fill(params.fMinv);
2786 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_mixing_12->Fill(params.fMinv);
2787 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_mixing_13->Fill(params.fMinv);
2788 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_mixing_14->Fill(params.fMinv);
2789 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_mixing_15->Fill(params.fMinv);
2790 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_mixing_16->Fill(params.fMinv);
2791 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_all_mixing_17->Fill(params.fMinv);
2792 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_all_mixing_18->Fill(params.fMinv);
2793 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_all_mixing_19->Fill(params.fMinv);
2794 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_all_mixing_20->Fill(params.fMinv);
2795 }
2796 if (params.fRapidity > 1.6 && params.fRapidity <= 2.0) {
2797 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_21->Fill(params.fMinv);
2798 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_22->Fill(params.fMinv);
2799 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_23->Fill(params.fMinv);
2800 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_24->Fill(params.fMinv);
2801 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_mixing_25->Fill(params.fMinv);
2802 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_mixing_26->Fill(params.fMinv);
2803 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_mixing_27->Fill(params.fMinv);
2804 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_mixing_28->Fill(params.fMinv);
2805 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_mixing_29->Fill(params.fMinv);
2806 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_mixing_30->Fill(params.fMinv);
2807 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_mixing_31->Fill(params.fMinv);
2808 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_mixing_32->Fill(params.fMinv);
2809 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_mixing_33->Fill(params.fMinv);
2810 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_mixing_34->Fill(params.fMinv);
2811 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_mixing_35->Fill(params.fMinv);
2812 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_mixing_36->Fill(params.fMinv);
2813 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_all_mixing_37->Fill(params.fMinv);
2814 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_all_mixing_38->Fill(params.fMinv);
2815 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_all_mixing_39->Fill(params.fMinv);
2816 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_all_mixing_40->Fill(params.fMinv);
2817 }
2818 if (params.fRapidity > 2.0 && params.fRapidity <= 2.4) {
2819 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_41->Fill(params.fMinv);
2820 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_42->Fill(params.fMinv);
2821 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_43->Fill(params.fMinv);
2822 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_44->Fill(params.fMinv);
2823 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_mixing_45->Fill(params.fMinv);
2824 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_mixing_46->Fill(params.fMinv);
2825 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_mixing_47->Fill(params.fMinv);
2826 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_mixing_48->Fill(params.fMinv);
2827 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_mixing_49->Fill(params.fMinv);
2828 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_mixing_50->Fill(params.fMinv);
2829 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_mixing_51->Fill(params.fMinv);
2830 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_mixing_52->Fill(params.fMinv);
2831 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_mixing_53->Fill(params.fMinv);
2832 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_mixing_54->Fill(params.fMinv);
2833 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_mixing_55->Fill(params.fMinv);
2834 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_mixing_56->Fill(params.fMinv);
2835 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_all_mixing_57->Fill(params.fMinv);
2836 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_all_mixing_58->Fill(params.fMinv);
2837 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_all_mixing_59->Fill(params.fMinv);
2838 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_all_mixing_60->Fill(params.fMinv);
2839 }
2840 if (params.fRapidity > 2.4 && params.fRapidity <= 2.8) {
2841 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_61->Fill(params.fMinv);
2842 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_62->Fill(params.fMinv);
2843 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_63->Fill(params.fMinv);
2844 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_64->Fill(params.fMinv);
2845 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_mixing_65->Fill(params.fMinv);
2846 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_mixing_66->Fill(params.fMinv);
2847 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_mixing_67->Fill(params.fMinv);
2848 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_mixing_68->Fill(params.fMinv);
2849 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_mixing_69->Fill(params.fMinv);
2850 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_mixing_70->Fill(params.fMinv);
2851 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_mixing_71->Fill(params.fMinv);
2852 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_mixing_72->Fill(params.fMinv);
2853 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_mixing_73->Fill(params.fMinv);
2854 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_mixing_74->Fill(params.fMinv);
2855 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_mixing_75->Fill(params.fMinv);
2856 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_mixing_76->Fill(params.fMinv);
2857 }
2858 if (params.fRapidity > 2.8 && params.fRapidity <= 3.2) {
2859 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_81->Fill(params.fMinv);
2860 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_82->Fill(params.fMinv);
2861 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_83->Fill(params.fMinv);
2862 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_84->Fill(params.fMinv);
2863 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_mixing_85->Fill(params.fMinv);
2864 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_mixing_86->Fill(params.fMinv);
2865 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_mixing_87->Fill(params.fMinv);
2866 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_mixing_88->Fill(params.fMinv);
2867 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_mixing_89->Fill(params.fMinv);
2868 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_mixing_90->Fill(params.fMinv);
2869 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_mixing_91->Fill(params.fMinv);
2870 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_mixing_92->Fill(params.fMinv);
2871 }
2872 if (params.fRapidity > 3.2 && params.fRapidity <= 3.6) {
2873 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_101->Fill(params.fMinv);
2874 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_102->Fill(params.fMinv);
2875 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_103->Fill(params.fMinv);
2876 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_104->Fill(params.fMinv);
2877 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_mixing_105->Fill(params.fMinv);
2878 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_mixing_106->Fill(params.fMinv);
2879 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_mixing_107->Fill(params.fMinv);
2880 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_mixing_108->Fill(params.fMinv);
2881 }
2882 if (params.fRapidity > 3.6 && params.fRapidity <= 4.0) {
2883 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_111->Fill(params.fMinv);
2884 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_112->Fill(params.fMinv);
2885 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_113->Fill(params.fMinv);
2886 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_114->Fill(params.fMinv);
2887 }
2888
2889 // separate by Pt only for onetwo
2890 if ((EMT_man_NofRings_Both[a] == 1 || EMT_man_NofRings_Both[a] == 2)
2891 && (EMT_man_NofRings_Both[b] == 1 || EMT_man_NofRings_Both[b] == 2)) {
2892 if (params.fPt > 0.0 && params.fPt <= 0.1) pt_onetwo_mixing_1->Fill(params.fMinv);
2893 if (params.fPt > 0.1 && params.fPt <= 0.2) pt_onetwo_mixing_2->Fill(params.fMinv);
2894 if (params.fPt > 0.2 && params.fPt <= 0.3) pt_onetwo_mixing_3->Fill(params.fMinv);
2895 if (params.fPt > 0.3 && params.fPt <= 0.4) pt_onetwo_mixing_4->Fill(params.fMinv);
2896 if (params.fPt > 0.4 && params.fPt <= 0.5) pt_onetwo_mixing_5->Fill(params.fMinv);
2897 if (params.fPt > 0.5 && params.fPt <= 0.6) pt_onetwo_mixing_6->Fill(params.fMinv);
2898 if (params.fPt > 0.6 && params.fPt <= 0.7) pt_onetwo_mixing_7->Fill(params.fMinv);
2899 if (params.fPt > 0.7 && params.fPt <= 0.8) pt_onetwo_mixing_8->Fill(params.fMinv);
2900 if (params.fPt > 0.8 && params.fPt <= 0.9) pt_onetwo_mixing_9->Fill(params.fMinv);
2901 if (params.fPt > 0.9 && params.fPt <= 1.0) pt_onetwo_mixing_10->Fill(params.fMinv);
2902 if (params.fPt > 1.0 && params.fPt <= 1.1) pt_onetwo_mixing_11->Fill(params.fMinv);
2903 if (params.fPt > 1.1 && params.fPt <= 1.2) pt_onetwo_mixing_12->Fill(params.fMinv);
2904 if (params.fPt > 1.2 && params.fPt <= 1.3) pt_onetwo_mixing_13->Fill(params.fMinv);
2905 if (params.fPt > 1.3 && params.fPt <= 1.4) pt_onetwo_mixing_14->Fill(params.fMinv);
2906 if (params.fPt > 1.4 && params.fPt <= 1.5) pt_onetwo_mixing_15->Fill(params.fMinv);
2907 if (params.fPt > 1.5 && params.fPt <= 1.6) pt_onetwo_mixing_16->Fill(params.fMinv);
2908 if (params.fPt > 1.6 && params.fPt <= 1.7) pt_onetwo_mixing_17->Fill(params.fMinv);
2909 if (params.fPt > 1.7 && params.fPt <= 1.8) pt_onetwo_mixing_18->Fill(params.fMinv);
2910 if (params.fPt > 1.8 && params.fPt <= 1.9) pt_onetwo_mixing_19->Fill(params.fMinv);
2911 if (params.fPt > 1.9 && params.fPt <= 2.0) pt_onetwo_mixing_20->Fill(params.fMinv);
2912 }
2913
2914 if (params.fPt > 0.0 && params.fPt <= 0.1) pt_all_mixing_1->Fill(params.fMinv);
2915 if (params.fPt > 0.1 && params.fPt <= 0.2) pt_all_mixing_2->Fill(params.fMinv);
2916 if (params.fPt > 0.2 && params.fPt <= 0.3) pt_all_mixing_3->Fill(params.fMinv);
2917 if (params.fPt > 0.3 && params.fPt <= 0.4) pt_all_mixing_4->Fill(params.fMinv);
2918 if (params.fPt > 0.4 && params.fPt <= 0.5) pt_all_mixing_5->Fill(params.fMinv);
2919 if (params.fPt > 0.5 && params.fPt <= 0.6) pt_all_mixing_6->Fill(params.fMinv);
2920 if (params.fPt > 0.6 && params.fPt <= 0.7) pt_all_mixing_7->Fill(params.fMinv);
2921 if (params.fPt > 0.7 && params.fPt <= 0.8) pt_all_mixing_8->Fill(params.fMinv);
2922 if (params.fPt > 0.8 && params.fPt <= 0.9) pt_all_mixing_9->Fill(params.fMinv);
2923 if (params.fPt > 0.9 && params.fPt <= 1.0) pt_all_mixing_10->Fill(params.fMinv);
2924 if (params.fPt > 1.0 && params.fPt <= 1.1) pt_all_mixing_11->Fill(params.fMinv);
2925 if (params.fPt > 1.1 && params.fPt <= 1.2) pt_all_mixing_12->Fill(params.fMinv);
2926 if (params.fPt > 1.2 && params.fPt <= 1.3) pt_all_mixing_13->Fill(params.fMinv);
2927 if (params.fPt > 1.3 && params.fPt <= 1.4) pt_all_mixing_14->Fill(params.fMinv);
2928 if (params.fPt > 1.4 && params.fPt <= 1.5) pt_all_mixing_15->Fill(params.fMinv);
2929 if (params.fPt > 1.5 && params.fPt <= 1.6) pt_all_mixing_16->Fill(params.fMinv);
2930 if (params.fPt > 1.6 && params.fPt <= 1.7) pt_all_mixing_17->Fill(params.fMinv);
2931 if (params.fPt > 1.7 && params.fPt <= 1.8) pt_all_mixing_18->Fill(params.fMinv);
2932 if (params.fPt > 1.8 && params.fPt <= 1.9) pt_all_mixing_19->Fill(params.fMinv);
2933 if (params.fPt > 1.9 && params.fPt <= 2.0) pt_all_mixing_20->Fill(params.fMinv);
2934 }
2935 }
2936}
2937
2939// WAC
2940{
2941 Int_t nof_WAC = EMT_man_Event_WAC.size();
2942 cout << "Mixing in Manual(WAC) - nof entries " << nof_WAC << endl;
2943 for (Int_t a = 0; a < nof_WAC - 1; a++) {
2944 for (Int_t b = a + 1; b < nof_WAC; b++) {
2946 continue; // to make sure that the photons are from two different events
2947 TVector3 e11 = EMT_man_pair_momenta_WAC[a][0];
2948 TVector3 e12 = EMT_man_pair_momenta_WAC[a][1];
2949 TVector3 e21 = EMT_man_pair_momenta_WAC[b][0];
2950 TVector3 e22 = EMT_man_pair_momenta_WAC[b][1];
2952 EMT_InvMass_WAC->Fill(params.fMinv);
2953 }
2954 }
2955}
2956
2957int CbmKresConversionManual::FindInRich(int richInd, int stsMcTrackId)
2958{
2959 int RingsInRich = 0;
2960 if (richInd > -1) {
2961 CbmTrackMatchNew* richMatch = (CbmTrackMatchNew*) fRichRingMatches->At(richInd);
2962 if (richMatch != nullptr && richMatch->GetNofLinks() > 0) {
2963 int richMcTrackId = richMatch->GetMatchedLink().GetIndex();
2964 if (richMcTrackId > 0) {
2965 if (stsMcTrackId == richMcTrackId) { // check that global track was matched correctly for STS and RICH together
2966 CbmMCTrack* mcTrack2 = (CbmMCTrack*) fMcTracks->At(richMcTrackId);
2967 if (mcTrack2 != nullptr) {
2968 int pdgRICH = mcTrack2->GetPdgCode();
2969 if (TMath::Abs(pdgRICH) == 11) RingsInRich++;
2970 }
2971 }
2972 }
2973 }
2974 }
2975 return RingsInRich;
2976}
2977
2978
2980{
2981 int identified = 0;
2982
2983 if (nullptr != ring) {
2984 CbmRichRingLight ringHit;
2985 int nofHits = ring->GetNofHits();
2986 for (int i = 0; i < nofHits; i++) {
2987 int hitInd = ring->GetHit(i);
2988 CbmRichHit* hit = (CbmRichHit*) fRichHits->At(hitInd);
2989 if (nullptr == hit) continue;
2990 CbmRichHitLight hl(hit->GetX(), hit->GetY());
2991 ringHit.AddHit(hl);
2992 }
2993 fTauFit->DoFit(&ringHit);
2994 if (ringHit.GetAaxis() > 4 && ringHit.GetAaxis() < 6 && ringHit.GetBaxis() > 4 && ringHit.GetBaxis() < 6
2995 && momentum > 0.2 && momentum < 4.)
2996 identified++;
2997 //if (ring->GetDistance() < 2 && ringHit.GetAaxis() > 4 && ringHit.GetAaxis() < 6 && ringHit.GetBaxis() > 4 && ringHit.GetBaxis() < 6 && momentum > 0.2 && momentum < 4.) identified ++;
2998 }
2999
3000 return identified;
3001}
3002
3003
3005{
3006 double FinalAngle = 400;
3007 Int_t hits1sts = Sts_1->GetNofStsHits();
3008 Int_t hits2sts = Sts_2->GetNofStsHits();
3009 Int_t hits1mvd = Sts_1->GetNofMvdHits();
3010 Int_t hits2mvd = Sts_2->GetNofMvdHits();
3011
3012 double Xpart1 = 0;
3013 double Ypart1 = 0;
3014 double Zpart1 = 0;
3015 double Xpart2 = 0;
3016 double Ypart2 = 0;
3017 double Zpart2 = 0;
3018 if (hits1sts > 0) {
3019 Int_t stsHitIndex1 = Sts_1->GetStsHitIndex(hits1sts - 1);
3020 CbmStsHit* stsHit1 = (CbmStsHit*) fArrayStsHit->At(stsHitIndex1);
3021 Xpart1 = stsHit1->GetX();
3022 Ypart1 = stsHit1->GetY();
3023 Zpart1 = stsHit1->GetZ();
3024 }
3025 else {
3026 Int_t mvdHitIndex1 = Sts_1->GetMvdHitIndex(hits1mvd - 1);
3027 CbmMvdHit* mvdHit1 = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex1);
3028 Xpart1 = mvdHit1->GetX();
3029 Ypart1 = mvdHit1->GetY();
3030 Zpart1 = mvdHit1->GetZ();
3031 }
3032
3033 if (hits2sts > 0) {
3034 Int_t stsHitIndex2 = Sts_2->GetStsHitIndex(hits2sts - 1);
3035 CbmStsHit* stsHit2 = (CbmStsHit*) fArrayStsHit->At(stsHitIndex2);
3036 Xpart2 = stsHit2->GetX();
3037 Ypart2 = stsHit2->GetY();
3038 Zpart2 = stsHit2->GetZ();
3039 }
3040 else {
3041 Int_t mvdHitIndex2 = Sts_2->GetMvdHitIndex(hits2mvd - 1);
3042 CbmMvdHit* mvdHit2 = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex2);
3043 Xpart2 = mvdHit2->GetX();
3044 Ypart2 = mvdHit2->GetY();
3045 Zpart2 = mvdHit2->GetZ();
3046 }
3047
3048 // check difference in 2 cm, because of two slices of every STS and Mvd stations
3049 if (TMath::Abs(Zpart1 - Zpart2) > 2
3050 && Zpart1 > Zpart2) { // if last hits are in different stations --> try to find the latest common station
3051 for (int i = hits1sts - 2; i > -1; i--) { // start from second last station
3052 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3053 Int_t stsHitIndex = Sts_1->GetStsHitIndex(i);
3054 CbmStsHit* stsHit = (CbmStsHit*) fArrayStsHit->At(stsHitIndex);
3055 Xpart1 = stsHit->GetX();
3056 Ypart1 = stsHit->GetY();
3057 Zpart1 = stsHit->GetZ();
3058 }
3059 if (TMath::Abs(Zpart1 - Zpart2) > 2 && Zpart1 > Zpart2) {
3060 for (int i = hits1mvd - 2; i > -1; i--) {
3061 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3062 Int_t mvdHitIndex = Sts_1->GetMvdHitIndex(i);
3063 CbmMvdHit* mvdHit = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex);
3064 Xpart1 = mvdHit->GetX();
3065 Ypart1 = mvdHit->GetY();
3066 Zpart1 = mvdHit->GetZ();
3067 }
3068 }
3069 }
3070
3071 if (TMath::Abs(Zpart1 - Zpart2) > 2
3072 && Zpart1 < Zpart2) { // if last hits are in different stations --> try to find the latest common station
3073 for (int i = hits2sts - 2; i > -1; i--) { // start from second last station
3074 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3075 Int_t stsHitIndex = Sts_2->GetStsHitIndex(i);
3076 CbmStsHit* stsHit = (CbmStsHit*) fArrayStsHit->At(stsHitIndex);
3077 Xpart2 = stsHit->GetX();
3078 Ypart2 = stsHit->GetY();
3079 Zpart2 = stsHit->GetZ();
3080 }
3081 if (TMath::Abs(Zpart1 - Zpart2) > 2 && Zpart1 < Zpart2) {
3082 for (int i = hits2mvd - 2; i > -1; i--) {
3083 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3084 Int_t mvdHitIndex = Sts_2->GetMvdHitIndex(i);
3085 CbmMvdHit* mvdHit = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex);
3086 Xpart2 = mvdHit->GetX();
3087 Ypart2 = mvdHit->GetY();
3088 Zpart2 = mvdHit->GetZ();
3089 }
3090 }
3091 }
3092
3093 // calculate angle if we found common station
3094 if (TMath::Abs(Zpart1 - Zpart2) < 2 && Zpart1 != 0 && Zpart2 != 0) {
3095 FinalAngle = TMath::ATan2(Ypart1 - Ypart2, Xpart1 - Xpart2) * (180 / TMath::Pi());
3096 }
3097
3098 return TMath::Abs(TMath::Abs(FinalAngle) - 180);
3099}
3100
3102{
3103 double FinalAngle = 400;
3104 Int_t hits1sts = Sts_1->GetNofStsHits();
3105 Int_t hits2sts = Sts_2->GetNofStsHits();
3106 Int_t hits1mvd = Sts_1->GetNofMvdHits();
3107 Int_t hits2mvd = Sts_2->GetNofMvdHits();
3108
3109 double Xpart1 = 0;
3110 double Ypart1 = 0;
3111 double Zpart1 = 0;
3112 double Xpart2 = 0;
3113 double Ypart2 = 0;
3114 double Zpart2 = 0;
3115 if (hits1mvd > 0) {
3116 Int_t mvdHitIndex1 = Sts_1->GetMvdHitIndex(0);
3117 CbmMvdHit* mvdHit1 = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex1);
3118 Xpart1 = mvdHit1->GetX();
3119 Ypart1 = mvdHit1->GetY();
3120 Zpart1 = mvdHit1->GetZ();
3121 }
3122 else {
3123 Int_t stsHitIndex1 = Sts_1->GetStsHitIndex(0);
3124 CbmStsHit* stsHit1 = (CbmStsHit*) fArrayStsHit->At(stsHitIndex1);
3125 Xpart1 = stsHit1->GetX();
3126 Ypart1 = stsHit1->GetY();
3127 Zpart1 = stsHit1->GetZ();
3128 }
3129
3130 if (hits2mvd > 0) {
3131 Int_t mvdHitIndex2 = Sts_2->GetMvdHitIndex(0);
3132 CbmMvdHit* mvdHit2 = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex2);
3133 Xpart2 = mvdHit2->GetX();
3134 Ypart2 = mvdHit2->GetY();
3135 Zpart2 = mvdHit2->GetZ();
3136 }
3137 else {
3138 Int_t stsHitIndex2 = Sts_2->GetStsHitIndex(0);
3139 CbmStsHit* stsHit2 = (CbmStsHit*) fArrayStsHit->At(stsHitIndex2);
3140 Xpart2 = stsHit2->GetX();
3141 Ypart2 = stsHit2->GetY();
3142 Zpart2 = stsHit2->GetZ();
3143 }
3144
3145 // check difference in 2 cm, because of two slices of every STS and Mvd stations
3146 if (TMath::Abs(Zpart1 - Zpart2) > 2
3147 && Zpart1 < Zpart2) { // if first hits are in different stations --> try to find the earliest common station
3148 for (int i = 1; i < hits1mvd; i++) { // start from second hit
3149 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3150 Int_t mvdHitIndex = Sts_1->GetMvdHitIndex(i);
3151 CbmMvdHit* mvdHit = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex);
3152 Xpart1 = mvdHit->GetX();
3153 Ypart1 = mvdHit->GetY();
3154 Zpart1 = mvdHit->GetZ();
3155 }
3156 if (TMath::Abs(Zpart1 - Zpart2) > 2 && Zpart1 < Zpart2) {
3157 for (int i = 0; i < hits1sts; i++) {
3158 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3159 Int_t stsHitIndex = Sts_1->GetStsHitIndex(i);
3160 CbmStsHit* stsHit = (CbmStsHit*) fArrayStsHit->At(stsHitIndex);
3161 Xpart1 = stsHit->GetX();
3162 Ypart1 = stsHit->GetY();
3163 Zpart1 = stsHit->GetZ();
3164 }
3165 }
3166 }
3167
3168 if (TMath::Abs(Zpart1 - Zpart2) > 2
3169 && Zpart1 > Zpart2) { // if first hits are in different stations --> try to find the earliest common station
3170 for (int i = 1; i < hits2mvd; i++) { // start from second hit
3171 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3172 Int_t mvdHitIndex = Sts_2->GetMvdHitIndex(i);
3173 CbmMvdHit* mvdHit = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex);
3174 Xpart2 = mvdHit->GetX();
3175 Ypart2 = mvdHit->GetY();
3176 Zpart2 = mvdHit->GetZ();
3177 }
3178 if (TMath::Abs(Zpart1 - Zpart2) > 2 && Zpart1 > Zpart2) {
3179 for (int i = 0; i < hits2sts; i++) {
3180 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3181 Int_t stsHitIndex = Sts_2->GetStsHitIndex(i);
3182 CbmStsHit* stsHit = (CbmStsHit*) fArrayStsHit->At(stsHitIndex);
3183 Xpart2 = stsHit->GetX();
3184 Ypart2 = stsHit->GetY();
3185 Zpart2 = stsHit->GetZ();
3186 }
3187 }
3188 }
3189
3190 // calculate angle if we found common station
3191 if (TMath::Abs(Zpart1 - Zpart2) < 2 && Zpart1 != 0 && Zpart2 != 0) {
3192 FinalAngle = TMath::ATan2(Ypart1 - Ypart2, Xpart1 - Xpart2) * (180 / TMath::Pi());
3193 }
3194
3195 return TMath::Abs(TMath::Abs(FinalAngle) - 180);
3196}
3197
3198
3200{
3201 gDirectory->mkdir("Manual");
3202 gDirectory->cd("Manual");
3203
3204
3205 gDirectory->mkdir("Target");
3206 gDirectory->cd("Target");
3207 gDirectory->mkdir("CheckCuts_Target");
3208 gDirectory->cd("CheckCuts_Target");
3209 for (UInt_t i = 0; i < fHistoList_man_cuts_Target.size(); i++) {
3210 fHistoList_man_cuts_Target[i]->Write();
3211 }
3212 gDirectory->cd("..");
3213 gDirectory->mkdir("multiplicity");
3214 gDirectory->cd("multiplicity");
3215 for (UInt_t i = 0; i < fHistoList_multiplicity_man_Target.size(); i++) {
3217 }
3218 gDirectory->cd("..");
3219 gDirectory->mkdir("all");
3220 gDirectory->cd("all");
3221 for (UInt_t i = 0; i < fHistoList_man_all_Target.size(); i++) {
3222 fHistoList_man_all_Target[i]->Write();
3223 }
3224 gDirectory->cd("..");
3225 gDirectory->mkdir("zero");
3226 gDirectory->cd("zero");
3227 for (UInt_t i = 0; i < fHistoList_man_zero_Target.size(); i++) {
3228 fHistoList_man_zero_Target[i]->Write();
3229 }
3230 gDirectory->cd("..");
3231 gDirectory->mkdir("one");
3232 gDirectory->cd("one");
3233 for (UInt_t i = 0; i < fHistoList_man_one_Target.size(); i++) {
3234 fHistoList_man_one_Target[i]->Write();
3235 }
3236 gDirectory->cd("..");
3237 gDirectory->mkdir("two");
3238 gDirectory->cd("two");
3239 for (UInt_t i = 0; i < fHistoList_man_two_Target.size(); i++) {
3240 fHistoList_man_two_Target[i]->Write();
3241 }
3242 gDirectory->cd("..");
3243 gDirectory->mkdir("onetwo");
3244 gDirectory->cd("onetwo");
3245 for (UInt_t i = 0; i < fHistoList_man_onetwo_Target.size(); i++) {
3246 fHistoList_man_onetwo_Target[i]->Write();
3247 }
3248 gDirectory->cd("..");
3249
3250 gDirectory->cd("..");
3251
3252
3253 gDirectory->mkdir("Outside");
3254 gDirectory->cd("Outside");
3255 gDirectory->mkdir("CheckCuts_Outside");
3256 gDirectory->cd("CheckCuts_Outside");
3257 for (UInt_t i = 0; i < fHistoList_man_cuts_Outside.size(); i++) {
3258 fHistoList_man_cuts_Outside[i]->Write();
3259 }
3260 gDirectory->cd("..");
3261 gDirectory->mkdir("multiplicity");
3262 gDirectory->cd("multiplicity");
3263 for (UInt_t i = 0; i < fHistoList_multiplicity_man_Outside.size(); i++) {
3265 }
3266 gDirectory->cd("..");
3267 gDirectory->mkdir("all");
3268 gDirectory->cd("all");
3269 for (UInt_t i = 0; i < fHistoList_man_all_Outside.size(); i++) {
3270 fHistoList_man_all_Outside[i]->Write();
3271 }
3272 gDirectory->cd("..");
3273 gDirectory->mkdir("zero");
3274 gDirectory->cd("zero");
3275 for (UInt_t i = 0; i < fHistoList_man_zero_Outside.size(); i++) {
3276 fHistoList_man_zero_Outside[i]->Write();
3277 }
3278 gDirectory->cd("..");
3279 gDirectory->mkdir("one");
3280 gDirectory->cd("one");
3281 for (UInt_t i = 0; i < fHistoList_man_one_Outside.size(); i++) {
3282 fHistoList_man_one_Outside[i]->Write();
3283 }
3284 gDirectory->cd("..");
3285 gDirectory->mkdir("two");
3286 gDirectory->cd("two");
3287 for (UInt_t i = 0; i < fHistoList_man_two_Outside.size(); i++) {
3288 fHistoList_man_two_Outside[i]->Write();
3289 }
3290 gDirectory->cd("..");
3291 gDirectory->mkdir("onetwo");
3292 gDirectory->cd("onetwo");
3293 for (UInt_t i = 0; i < fHistoList_man_onetwo_Outside.size(); i++) {
3295 }
3296 gDirectory->cd("..");
3297 gDirectory->cd("..");
3298
3299
3300 gDirectory->mkdir("Both");
3301 gDirectory->cd("Both");
3302 gDirectory->mkdir("CheckCuts_Both");
3303 gDirectory->cd("CheckCuts_Both");
3304 for (UInt_t i = 0; i < fHistoList_man_cuts_Both.size(); i++) {
3305 fHistoList_man_cuts_Both[i]->Write();
3306 }
3307 gDirectory->cd("..");
3308 gDirectory->mkdir("multiplicity");
3309 gDirectory->cd("multiplicity");
3310 for (UInt_t i = 0; i < fHistoList_multiplicity_man_Both.size(); i++) {
3312 }
3313 gDirectory->cd("..");
3314 gDirectory->mkdir("rap_vs_Pt_onetwo_Both");
3315 gDirectory->cd("rap_vs_Pt_onetwo_Both");
3316 for (UInt_t i = 0; i < fHistoList_rap_vs_pt_InM.size(); i++) {
3317 fHistoList_rap_vs_pt_InM[i]->Write();
3318 }
3319 gDirectory->cd("..");
3320 gDirectory->mkdir("rap_vs_Pt_all_Both");
3321 gDirectory->cd("rap_vs_Pt_all_Both");
3322 for (UInt_t i = 0; i < fHistoList_rap_vs_pt_InM_all.size(); i++) {
3323 fHistoList_rap_vs_pt_InM_all[i]->Write();
3324 }
3325 gDirectory->cd("..");
3326
3327 gDirectory->mkdir("pt_onetwo_Both");
3328 gDirectory->cd("pt_onetwo_Both");
3329 for (UInt_t i = 0; i < fHistoList_pt_onetwo.size(); i++) {
3330 fHistoList_pt_onetwo[i]->Write();
3331 }
3332 gDirectory->cd("..");
3333 gDirectory->mkdir("pt_all_Both");
3334 gDirectory->cd("pt_all_Both");
3335 for (UInt_t i = 0; i < fHistoList_pt_all.size(); i++) {
3336 fHistoList_pt_all[i]->Write();
3337 }
3338 gDirectory->cd("..");
3339
3340 gDirectory->mkdir("BG_Both");
3341 gDirectory->cd("BG_Both");
3342 gDirectory->mkdir("BG_Both_all");
3343 gDirectory->cd("BG_Both_all");
3344 for (UInt_t i = 0; i < fHistoList_bg_InM_all_Both.size(); i++) {
3345 fHistoList_bg_InM_all_Both[i]->Write();
3346 }
3347 gDirectory->cd("..");
3348 gDirectory->mkdir("BG_Both_zero");
3349 gDirectory->cd("BG_Both_zero");
3350 for (UInt_t i = 0; i < fHistoList_bg_InM_zero_Both.size(); i++) {
3351 fHistoList_bg_InM_zero_Both[i]->Write();
3352 }
3353 gDirectory->cd("..");
3354 gDirectory->mkdir("BG_Both_one");
3355 gDirectory->cd("BG_Both_one");
3356 for (UInt_t i = 0; i < fHistoList_bg_InM_one_Both.size(); i++) {
3357 fHistoList_bg_InM_one_Both[i]->Write();
3358 }
3359 gDirectory->cd("..");
3360 gDirectory->mkdir("BG_Both_two");
3361 gDirectory->cd("BG_Both_two");
3362 for (UInt_t i = 0; i < fHistoList_bg_InM_two_Both.size(); i++) {
3363 fHistoList_bg_InM_two_Both[i]->Write();
3364 }
3365 gDirectory->cd("..");
3366 gDirectory->mkdir("BG_Both_onetwo");
3367 gDirectory->cd("BG_Both_onetwo");
3368 for (UInt_t i = 0; i < fHistoList_bg_InM_onetwo_Both.size(); i++) {
3370 }
3371 gDirectory->cd("..");
3372 gDirectory->cd("..");
3373 gDirectory->mkdir("all");
3374 gDirectory->cd("all");
3375 for (UInt_t i = 0; i < fHistoList_man_all_Both.size(); i++) {
3376 fHistoList_man_all_Both[i]->Write();
3377 }
3378 gDirectory->cd("..");
3379 gDirectory->mkdir("zero");
3380 gDirectory->cd("zero");
3381 for (UInt_t i = 0; i < fHistoList_man_zero_Both.size(); i++) {
3382 fHistoList_man_zero_Both[i]->Write();
3383 }
3384 gDirectory->cd("..");
3385 gDirectory->mkdir("one");
3386 gDirectory->cd("one");
3387 for (UInt_t i = 0; i < fHistoList_man_one_Both.size(); i++) {
3388 fHistoList_man_one_Both[i]->Write();
3389 }
3390 gDirectory->cd("..");
3391 gDirectory->mkdir("two");
3392 gDirectory->cd("two");
3393 for (UInt_t i = 0; i < fHistoList_man_two_Both.size(); i++) {
3394 fHistoList_man_two_Both[i]->Write();
3395 }
3396 gDirectory->cd("..");
3397 gDirectory->mkdir("onetwo");
3398 gDirectory->cd("onetwo");
3399 for (UInt_t i = 0; i < fHistoList_man_onetwo_Both.size(); i++) {
3400 fHistoList_man_onetwo_Both[i]->Write();
3401 }
3402 gDirectory->cd("..");
3403 for (UInt_t i = 0; i < fHistoList_man_Both.size(); i++) {
3404 fHistoList_man_Both[i]->Write();
3405 }
3406 gDirectory->cd("..");
3407
3408
3409 gDirectory->mkdir("WAC");
3410 gDirectory->cd("WAC");
3411 gDirectory->mkdir("BG_WAC");
3412 gDirectory->cd("BG_WAC");
3413 for (UInt_t i = 0; i < fHistoList_bg_InM_WAC.size(); i++) {
3414 fHistoList_bg_InM_WAC[i]->Write();
3415 }
3416 gDirectory->cd("..");
3417 for (UInt_t i = 0; i < fHistoList_man_WAC.size(); i++) {
3418 fHistoList_man_WAC[i]->Write();
3419 }
3420 gDirectory->cd("..");
3421
3422 for (UInt_t i = 0; i < fHistoList_manual.size(); i++) {
3423 fHistoList_manual[i]->Write();
3424 }
3425
3426 gDirectory->cd("..");
3427}
3428
3429
3431{
3433 InvMass_vs_OA_candidates_Both = new TH2D("InvMass_vs_OA_candidates_Both",
3434 "InvMass_vs_OA_candidates_Both; invariant mass in GeV/c^{2}; "
3435 "opening angle in degree",
3436 500, 0, 0.5, 500, 0, 50);
3438 InvMass_vs_OA_fromPi0_Both = new TH2D("InvMass_vs_OA_fromPi0_Both",
3439 "InvMass_vs_OA_fromPi0_Both; invariant mass in GeV/c^{2}; opening "
3440 "angle in degree",
3441 500, 0, 0.5, 500, 0, 50);
3444 "GammasInvMass_candidates_Both", "GammasInvMass_candidates_Both; invariant mass in GeV/c^{2};#", 510, -0.01, 0.5);
3447 new TH1D("GammasOA_candidates_Both", "GammasOA_candidates_Both; opening angle in degree;#", 300, -0.1, 29.9);
3449 GammasInvMass_fromPi0_Both = new TH1D("GammasInvMass_fromPi0_Both",
3450 "GammasInvMass_fromPi0_Both; invariant mass in GeV/c^{2};#", 510, -0.01, 0.5);
3453 new TH1D("GammasOA_fromPi0_Both", "GammasOA_fromPi0_Both; opening angle in degree;#", 300, -0.1, 29.9);
3456 "PlaneAngles_last_candidates_Both", "PlaneAngles_last_candidates_Both; #theta angle in degree;#", 720, -1., 179.);
3458 PlaneAngles_last_fromPi0_Both = new TH1D("PlaneAngles_last_fromPi0_Both",
3459 "PlaneAngles_last_fromPi0_Both; #theta angle in degree;#", 720, -1., 179.);
3462 "PlaneAngles_first_candidates_Both", "PlaneAngles_first_candidates_Both; #theta angle in degree;#", 720, -1., 179.);
3464 PlaneAngles_first_fromPi0_Both = new TH1D("PlaneAngles_first_fromPi0_Both",
3465 "PlaneAngles_first_fromPi0_Both; #theta angle in degree;#", 720, -1., 179.);
3467
3468
3469 InvMass_vs_OA_candidates_Target = new TH2D("InvMass_vs_OA_candidates_Target",
3470 "InvMass_vs_OA_candidates_Target; invariant mass in GeV/c^{2}; "
3471 "opening angle in degree",
3472 500, 0, 0.5, 500, 0, 50);
3474 InvMass_vs_OA_fromPi0_Target = new TH2D("InvMass_vs_OA_fromPi0_Target",
3475 "InvMass_vs_OA_fromPi0_Target; invariant mass in GeV/c^{2}; "
3476 "opening angle in degree",
3477 500, 0, 0.5, 500, 0, 50);
3480 new TH1D("GammasInvMass_candidates_Target", "GammasInvMass_candidates_Target; invariant mass in GeV/c^{2};#", 510,
3481 -0.01, 0.5);
3484 new TH1D("GammasOA_candidates_Target", "GammasOA_candidates_Target; opening angle in degree;#", 300, -0.1, 29.9);
3487 "GammasInvMass_fromPi0_Target", "GammasInvMass_fromPi0_Target; invariant mass in GeV/c^{2};#", 510, -0.01, 0.5);
3490 new TH1D("GammasOA_fromPi0_Target", "GammasOA_fromPi0_Target; opening angle in degree;#", 300, -0.1, 29.9);
3493 new TH1D("PlaneAngles_last_candidates_Target", "PlaneAngles_last_candidates_Target; #theta angle in degree;#", 720,
3494 -1., 179.);
3497 "PlaneAngles_last_fromPi0_Target", "PlaneAngles_last_fromPi0_Target; #theta angle in degree;#", 720, -1., 179.);
3500 new TH1D("PlaneAngles_first_candidates_Target", "PlaneAngles_first_candidates_Target; #theta angle in degree;#",
3501 720, -1., 179.);
3504 "PlaneAngles_first_fromPi0_Target", "PlaneAngles_first_fromPi0_Target; #theta angle in degree;#", 720, -1., 179.);
3506
3507
3508 InvMass_vs_OA_candidates_Outside = new TH2D("InvMass_vs_OA_candidates_Outside",
3509 "InvMass_vs_OA_candidates_Outside; invariant mass in GeV/c^{2}; "
3510 "opening angle in degree",
3511 500, 0, 0.5, 500, 0, 50);
3513 InvMass_vs_OA_fromPi0_Outside = new TH2D("InvMass_vs_OA_fromPi0_Outside",
3514 "InvMass_vs_OA_fromPi0_Outside; invariant mass in GeV/c^{2}; "
3515 "opening angle in degree",
3516 500, 0, 0.5, 500, 0, 50);
3519 new TH1D("GammasInvMass_candidates_Outside", "GammasInvMass_candidates_Outside; invariant mass in GeV/c^{2};#", 510,
3520 -0.01, 0.5);
3523 new TH1D("GammasOA_candidates_Outside", "GammasOA_candidates_Outside; opening angle in degree;#", 300, -0.1, 29.9);
3526 "GammasInvMass_fromPi0_Outside", "GammasInvMass_fromPi0_Outside; invariant mass in GeV/c^{2};#", 510, -0.01, 0.5);
3529 new TH1D("GammasOA_fromPi0_Outside", "GammasOA_fromPi0_Outside; opening angle in degree;#", 300, -0.1, 29.9);
3532 new TH1D("PlaneAngles_last_candidates_Outside", "PlaneAngles_last_candidates_Outside; #theta angle in degree;#",
3533 720, -1., 179.);
3536 "PlaneAngles_last_fromPi0_Outside", "PlaneAngles_last_fromPi0_Outside; #theta angle in degree;#", 720, -1., 179.);
3539 new TH1D("PlaneAngles_first_candidates_Outside", "PlaneAngles_first_candidates_Outside; #theta angle in degree;#",
3540 720, -1., 179.);
3543 "PlaneAngles_first_fromPi0_Outside", "PlaneAngles_first_fromPi0_Outside; #theta angle in degree;#", 720, -1., 179.);
3545
3546
3547 // Target => all
3548 GammaInvMassReco_all_Target = new TH1D("GammaInvMassReco_all_Target",
3549 "GammaInvMassReco_all_Target; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3552 new TH1D("GammaOpeningAngleReco_all_Target", "GammaOpeningAngleReco_all_Target; angle [deg];#", 200, -0.1, 19.9);
3554 Pdg_all_Target = new TH1D("Pdg_all_Target", "Pdg_all_Target; Id;#", 800, 0, 400);
3556 P_reco_all_Target = new TH1D("P_reco_all_Target", "P_reco_all_Target; P in GeV/c^{2};#", 600, 0, 6);
3558 Pt_reco_all_Target = new TH1D("Pt_reco_all_Target", "Pt_reco_all_Target; P_{t} in GeV/c^{2};#", 300, 0, 3);
3561 new TH1D("Pi0InvMassReco_all_Target", "Pi0InvMassReco_all_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3564 new TH1D("EMT_InvMass_all_Target", "EMT_InvMass_all_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3566 Pi0_pt_vs_rap_all_Target = new TH2D(
3567 "Pi0_pt_vs_rap_all_Target", "Pi0_pt_vs_rap_all_Target; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
3570 new TH2D("Pi0_pt_vs_rap_est_all_Target", "Pi0_pt_vs_rap_est_all_Target; rapidity y; p_{t} in GeV/c ", 10, 0., 4.,
3571 40, 0., 4.);
3574 new TH1D("DalitzPi0_all_Target", "DalitzPi0_all_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3577 new TH1D("PhotonsPi0_all_Target", "PhotonsPi0_all_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3579
3580
3581 // Target => zero
3583 "GammaInvMassReco_zero_Target", "GammaInvMassReco_zero_Target; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3586 new TH1D("GammaOpeningAngleReco_zero_Target", "GammaOpeningAngleReco_zero_Target; angle [deg];#", 200, -0.1, 19.9);
3588 Pdg_zero_Target = new TH1D("Pdg_zero_Target", "Pdg_zero_Target; Id;#", 800, 0, 400);
3590 P_reco_zero_Target = new TH1D("P_reco_zero_Target", "P_reco_zero_Target; P in GeV/c^{2};#", 600, 0, 6);
3592 Pt_reco_zero_Target = new TH1D("Pt_reco_zero_Target", "Pt_reco_zero_Target; P_{t} in GeV/c^{2};#", 300, 0, 3);
3595 new TH1D("Pi0InvMassReco_zero_Target", "Pi0InvMassReco_zero_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3598 new TH1D("EMT_InvMass_zero_Target", "EMT_InvMass_zero_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3600 Pi0_pt_vs_rap_zero_Target = new TH2D(
3601 "Pi0_pt_vs_rap_zero_Target", "Pi0_pt_vs_rap_zero_Target; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
3604 new TH2D("Pi0_pt_vs_rap_est_zero_Target", "Pi0_pt_vs_rap_est_zero_Target; rapidity y; p_{t} in GeV/c ", 10, 0., 4.,
3605 40, 0., 4.);
3608 new TH1D("DalitzPi0_zero_Target", "DalitzPi0_zero_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3611 new TH1D("PhotonsPi0_zero_Target", "PhotonsPi0_zero_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3613
3614
3615 // Target => one
3616 GammaInvMassReco_one_Target = new TH1D("GammaInvMassReco_one_Target",
3617 "GammaInvMassReco_one_Target; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3620 new TH1D("GammaOpeningAngleReco_one_Target", "GammaOpeningAngleReco_one_Target; angle [deg];#", 200, -0.1, 19.9);
3622 Pdg_one_Target = new TH1D("Pdg_one_Target", "Pdg_one_Target; Id;#", 800, 0, 400);
3624 P_reco_one_Target = new TH1D("P_reco_one_Target", "P_reco_one_Target; P in GeV/c^{2};#", 600, 0, 6);
3626 Pt_reco_one_Target = new TH1D("Pt_reco_one_Target", "Pt_reco_one_Target; P_{t} in GeV/c^{2};#", 300, 0, 3);
3629 new TH1D("Pi0InvMassReco_one_Target", "Pi0InvMassReco_one_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3632 new TH1D("EMT_InvMass_one_Target", "EMT_InvMass_one_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3634 Pi0_pt_vs_rap_one_Target = new TH2D(
3635 "Pi0_pt_vs_rap_one_Target", "Pi0_pt_vs_rap_one_Target; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
3638 new TH2D("Pi0_pt_vs_rap_est_one_Target", "Pi0_pt_vs_rap_est_one_Target; rapidity y; p_{t} in GeV/c ", 10, 0., 4.,
3639 40, 0., 4.);
3642 new TH1D("DalitzPi0_one_Target", "DalitzPi0_one_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3645 new TH1D("PhotonsPi0_one_Target", "PhotonsPi0_one_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3647
3648
3649 // Target => two
3650 GammaInvMassReco_two_Target = new TH1D("GammaInvMassReco_two_Target",
3651 "GammaInvMassReco_two_Target; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3654 new TH1D("GammaOpeningAngleReco_two_Target", "GammaOpeningAngleReco_two_Target; angle [deg];#", 200, -0.1, 19.9);
3656 Pdg_two_Target = new TH1D("Pdg_two_Target", "Pdg_two_Target; Id;#", 800, 0, 400);
3658 P_reco_two_Target = new TH1D("P_reco_two_Target", "P_reco_two_Target; P in GeV/c^{2};#", 600, 0, 6);
3660 Pt_reco_two_Target = new TH1D("Pt_reco_two_Target", "Pt_reco_two_Target; P_{t} in GeV/c^{2};#", 300, 0, 3);
3663 new TH1D("Pi0InvMassReco_two_Target", "Pi0InvMassReco_two_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3666 new TH1D("EMT_InvMass_two_Target", "EMT_InvMass_two_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3668 Pi0_pt_vs_rap_two_Target = new TH2D(
3669 "Pi0_pt_vs_rap_two_Target", "Pi0_pt_vs_rap_two_Target; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
3672 new TH2D("Pi0_pt_vs_rap_est_two_Target", "Pi0_pt_vs_rap_est_two_Target; rapidity y; p_{t} in GeV/c ", 10, 0., 4.,
3673 40, 0., 4.);
3676 new TH1D("DalitzPi0_two_Target", "DalitzPi0_two_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3679 new TH1D("PhotonsPi0_two_Target", "PhotonsPi0_two_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3681
3682
3683 // Target => onetwo
3685 "GammaInvMassReco_onetwo_Target", "GammaInvMassReco_onetwo_Target; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3687 GammaOpeningAngleReco_onetwo_Target = new TH1D("GammaOpeningAngleReco_onetwo_Target",
3688 "GammaOpeningAngleReco_onetwo_Target; angle [deg];#", 200, -0.1, 19.9);
3690 Pdg_onetwo_Target = new TH1D("Pdg_onetwo_Target", "Pdg_onetwo_Target; Id;#", 800, 0, 400);
3692 P_reco_onetwo_Target = new TH1D("P_reco_onetwo_Target", "P_reco_onetwo_Target; P in GeV/c^{2};#", 600, 0, 6);
3694 Pt_reco_onetwo_Target = new TH1D("Pt_reco_onetwo_Target", "Pt_reco_onetwo_Target; P_{t} in GeV/c^{2};#", 300, 0, 3);
3696 Pi0InvMassReco_onetwo_Target = new TH1D("Pi0InvMassReco_onetwo_Target",
3697 "Pi0InvMassReco_onetwo_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3700 new TH1D("EMT_InvMass_onetwo_Target", "EMT_InvMass_onetwo_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3703 new TH2D("Pi0_pt_vs_rap_onetwo_Target", "Pi0_pt_vs_rap_onetwo_Target; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60,
3704 -1., 5.);
3707 new TH2D("Pi0_pt_vs_rap_est_onetwo_Target", "Pi0_pt_vs_rap_est_onetwo_Target; rapidity y; p_{t} in GeV/c ", 10, 0.,
3708 4., 40, 0., 4.);
3711 new TH1D("DalitzPi0_onetwo_Target", "DalitzPi0_onetwo_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3714 new TH1D("PhotonsPi0_onetwo_Target", "PhotonsPi0_onetwo_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3716
3717
3718 // Outside => all
3720 "GammaInvMassReco_all_Outside", "GammaInvMassReco_all_Outside; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3723 new TH1D("GammaOpeningAngleReco_all_Outside", "GammaOpeningAngleReco_all_Outside; angle [deg];#", 200, -0.1, 19.9);
3725 Pdg_all_Outside = new TH1D("Pdg_all_Outside", "Pdg_all_Outside; Id;#", 800, 0, 400);
3727 P_reco_all_Outside = new TH1D("P_reco_all_Outside", "P_reco_all_Outside; P in GeV/c^{2};#", 600, 0, 6);
3729 Pt_reco_all_Outside = new TH1D("Pt_reco_all_Outside", "Pt_reco_all_Outside; P_{t} in GeV/c^{2};#", 300, 0, 3);
3732 new TH1D("Pi0InvMassReco_all_Outside", "Pi0InvMassReco_all_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3735 new TH1D("EMT_InvMass_all_Outside", "EMT_InvMass_all_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3737 Pi0_pt_vs_rap_all_Outside = new TH2D(
3738 "Pi0_pt_vs_rap_all_Outside", "Pi0_pt_vs_rap_all_Outside; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
3741 new TH2D("Pi0_pt_vs_rap_est_all_Outside", "Pi0_pt_vs_rap_est_all_Outside; rapidity y; p_{t} in GeV/c ", 10, 0., 4.,
3742 40, 0., 4.);
3745 new TH1D("DalitzPi0_all_Outside", "DalitzPi0_all_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3748 new TH1D("PhotonsPi0_all_Outside", "PhotonsPi0_all_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3750
3751
3752 // Outside => zero
3754 "GammaInvMassReco_zero_Outside", "GammaInvMassReco_zero_Outside; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3756 GammaOpeningAngleReco_zero_Outside = new TH1D("GammaOpeningAngleReco_zero_Outside",
3757 "GammaOpeningAngleReco_zero_Outside; angle [deg];#", 200, -0.1, 19.9);
3759 Pdg_zero_Outside = new TH1D("Pdg_zero_Outside", "Pdg_zero_Outside; Id;#", 800, 0, 400);
3761 P_reco_zero_Outside = new TH1D("P_reco_zero_Outside", "P_reco_zero_Outside; P in GeV/c^{2};#", 600, 0, 6);
3763 Pt_reco_zero_Outside = new TH1D("Pt_reco_zero_Outside", "Pt_reco_zero_Outside; P_{t} in GeV/c^{2};#", 300, 0, 3);
3766 new TH1D("Pi0InvMassReco_zero_Outside", "Pi0InvMassReco_zero_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3769 new TH1D("EMT_InvMass_zero_Outside", "EMT_InvMass_zero_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3771 Pi0_pt_vs_rap_zero_Outside = new TH2D(
3772 "Pi0_pt_vs_rap_zero_Outside", "Pi0_pt_vs_rap_zero_Outside; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
3775 new TH2D("Pi0_pt_vs_rap_est_zero_Outside", "Pi0_pt_vs_rap_est_zero_Outside; rapidity y; p_{t} in GeV/c ", 10, 0.,
3776 4., 40, 0., 4.);
3779 new TH1D("DalitzPi0_zero_Outside", "DalitzPi0_zero_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3782 new TH1D("PhotonsPi0_zero_Outside", "PhotonsPi0_zero_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3784
3785
3786 // Outside => one
3788 "GammaInvMassReco_one_Outside", "GammaInvMassReco_one_Outside; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3791 new TH1D("GammaOpeningAngleReco_one_Outside", "GammaOpeningAngleReco_one_Outside; angle [deg];#", 200, -0.1, 19.9);
3793 Pdg_one_Outside = new TH1D("Pdg_one_Outside", "Pdg_one_Outside; Id;#", 800, 0, 400);
3795 P_reco_one_Outside = new TH1D("P_reco_one_Outside", "P_reco_one_Outside; P in GeV/c^{2};#", 600, 0, 6);
3797 Pt_reco_one_Outside = new TH1D("Pt_reco_one_Outside", "Pt_reco_one_Outside; P_{t} in GeV/c^{2};#", 300, 0, 3);
3800 new TH1D("Pi0InvMassReco_one_Outside", "Pi0InvMassReco_one_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3803 new TH1D("EMT_InvMass_one_Outside", "EMT_InvMass_one_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3805 Pi0_pt_vs_rap_one_Outside = new TH2D(
3806 "Pi0_pt_vs_rap_one_Outside", "Pi0_pt_vs_rap_one_Outside; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
3809 new TH2D("Pi0_pt_vs_rap_est_one_Outside", "Pi0_pt_vs_rap_est_one_Outside; rapidity y; p_{t} in GeV/c ", 10, 0., 4.,
3810 40, 0., 4.);
3813 new TH1D("DalitzPi0_one_Outside", "DalitzPi0_one_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3816 new TH1D("PhotonsPi0_one_Outside", "PhotonsPi0_one_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3818
3819
3820 // Outside => two
3822 "GammaInvMassReco_two_Outside", "GammaInvMassReco_two_Outside; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3825 new TH1D("GammaOpeningAngleReco_two_Outside", "GammaOpeningAngleReco_two_Outside; angle [deg];#", 200, -0.1, 19.9);
3827 Pdg_two_Outside = new TH1D("Pdg_two_Outside", "Pdg_two_Outside; Id;#", 800, 0, 400);
3829 P_reco_two_Outside = new TH1D("P_reco_two_Outside", "P_reco_two_Outside; P in GeV/c^{2};#", 600, 0, 6);
3831 Pt_reco_two_Outside = new TH1D("Pt_reco_two_Outside", "Pt_reco_two_Outside; P_{t} in GeV/c^{2};#", 300, 0, 3);
3834 new TH1D("Pi0InvMassReco_two_Outside", "Pi0InvMassReco_two_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3837 new TH1D("EMT_InvMass_two_Outside", "EMT_InvMass_two_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3839 Pi0_pt_vs_rap_two_Outside = new TH2D(
3840 "Pi0_pt_vs_rap_two_Outside", "Pi0_pt_vs_rap_two_Outside; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
3843 new TH2D("Pi0_pt_vs_rap_est_two_Outside", "Pi0_pt_vs_rap_est_two_Outside; rapidity y; p_{t} in GeV/c ", 10, 0., 4.,
3844 40, 0., 4.);
3847 new TH1D("DalitzPi0_two_Outside", "DalitzPi0_two_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3850 new TH1D("PhotonsPi0_two_Outside", "PhotonsPi0_two_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3852
3853
3854 // Outside => onetwo
3856 new TH1D("GammaInvMassReco_onetwo_Outside", "GammaInvMassReco_onetwo_Outside; invariant mass in GeV/c^{2};#", 110,
3857 -0.01, 0.1);
3860 "GammaOpeningAngleReco_onetwo_Outside", "GammaOpeningAngleReco_onetwo_Outside; angle [deg];#", 200, -0.1, 19.9);
3862 Pdg_onetwo_Outside = new TH1D("Pdg_onetwo_Outside", "Pdg_onetwo_Outside; Id;#", 800, 0, 400);
3864 P_reco_onetwo_Outside = new TH1D("P_reco_onetwo_Outside", "P_reco_onetwo_Outside; P in GeV/c^{2};#", 600, 0, 6);
3867 new TH1D("Pt_reco_onetwo_Outside", "Pt_reco_onetwo_Outside; P_{t} in GeV/c^{2};#", 300, 0, 3);
3870 "Pi0InvMassReco_onetwo_Outside", "Pi0InvMassReco_onetwo_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3873 new TH1D("EMT_InvMass_onetwo_Outside", "EMT_InvMass_onetwo_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3876 new TH2D("Pi0_pt_vs_rap_onetwo_Outside", "Pi0_pt_vs_rap_onetwo_Outside; rapidity y; p_{t} in GeV/c ", 90, -2., 7.,
3877 60, -1., 5.);
3880 new TH2D("Pi0_pt_vs_rap_est_onetwo_Outside", "Pi0_pt_vs_rap_est_onetwo_Outside; rapidity y; p_{t} in GeV/c ", 10,
3881 0., 4., 40, 0., 4.);
3884 new TH1D("DalitzPi0_onetwo_Outside", "DalitzPi0_onetwo_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3887 new TH1D("PhotonsPi0_onetwo_Outside", "PhotonsPi0_onetwo_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3889
3890
3891 // Both => all
3893 new TH1D("GammaInvMassReco_all_Both", "GammaInvMassReco_all_Both; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3896 new TH1D("GammaOpeningAngleReco_all_Both", "GammaOpeningAngleReco_all_Both; angle [deg];#", 200, -0.1, 19.9);
3898 Pdg_all_Both = new TH1D("Pdg_all_Both", "Pdg_all_Both; Id;#", 800, 0, 400);
3900 P_reco_all_Both = new TH1D("P_reco_all_Both", "P_reco_all_Both; P in GeV/c^{2};#", 600, 0, 6);
3902 Pt_reco_all_Both = new TH1D("Pt_reco_all_Both", "Pt_reco_all_Both; P_{t} in GeV/c^{2};#", 300, 0, 3);
3905 new TH1D("Pi0InvMassReco_all_Both", "Pi0InvMassReco_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3908 new TH1D("EMT_InvMass_all_Both", "EMT_InvMass_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3911 new TH2D("Pi0_pt_vs_rap_all_Both", "Pi0_pt_vs_rap_all_Both; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
3913 Pi0_pt_vs_rap_est_all_Both = new TH2D(
3914 "Pi0_pt_vs_rap_est_all_Both", "Pi0_pt_vs_rap_est_all_Both; rapidity y; p_{t} in GeV/c ", 10, 0., 4., 40, 0., 4.);
3917 new TH1D("DalitzPi0_all_Both", "DalitzPi0_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3920 new TH1D("PhotonsPi0_all_Both", "PhotonsPi0_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3922
3923
3924 // Both => zero
3925 GammaInvMassReco_zero_Both = new TH1D("GammaInvMassReco_zero_Both",
3926 "GammaInvMassReco_zero_Both; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3929 new TH1D("GammaOpeningAngleReco_zero_Both", "GammaOpeningAngleReco_zero_Both; angle [deg];#", 200, -0.1, 19.9);
3931 Pdg_zero_Both = new TH1D("Pdg_zero_Both", "Pdg_zero_Both; Id;#", 800, 0, 400);
3933 P_reco_zero_Both = new TH1D("P_reco_zero_Both", "P_reco_zero_Both; P in GeV/c^{2};#", 600, 0, 6);
3935 Pt_reco_zero_Both = new TH1D("Pt_reco_zero_Both", "Pt_reco_zero_Both; P_{t} in GeV/c^{2};#", 300, 0, 3);
3938 new TH1D("Pi0InvMassReco_zero_Both", "Pi0InvMassReco_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3941 new TH1D("EMT_InvMass_zero_Both", "EMT_InvMass_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3943 Pi0_pt_vs_rap_zero_Both = new TH2D("Pi0_pt_vs_rap_zero_Both", "Pi0_pt_vs_rap_zero_Both; rapidity y; p_{t} in GeV/c ",
3944 90, -2., 7., 60, -1., 5.);
3946 Pi0_pt_vs_rap_est_zero_Both = new TH2D(
3947 "Pi0_pt_vs_rap_est_zero_Both", "Pi0_pt_vs_rap_est_zero_Both; rapidity y; p_{t} in GeV/c ", 10, 0., 4., 40, 0., 4.);
3950 new TH1D("DalitzPi0_zero_Both", "DalitzPi0_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3953 new TH1D("PhotonsPi0_zero_Both", "PhotonsPi0_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3955
3956
3957 // Both => one
3959 new TH1D("GammaInvMassReco_one_Both", "GammaInvMassReco_one_Both; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3962 new TH1D("GammaOpeningAngleReco_one_Both", "GammaOpeningAngleReco_one_Both; angle [deg];#", 200, -0.1, 19.9);
3964 Pdg_one_Both = new TH1D("Pdg_one_Both", "Pdg_one_Both; Id;#", 800, 0, 400);
3966 P_reco_one_Both = new TH1D("P_reco_one_Both", "P_reco_one_Both; P in GeV/c^{2};#", 600, 0, 6);
3968 Pt_reco_one_Both = new TH1D("Pt_reco_one_Both", "Pt_reco_one_Both; P_{t} in GeV/c^{2};#", 300, 0, 3);
3971 new TH1D("Pi0InvMassReco_one_Both", "Pi0InvMassReco_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3974 new TH1D("EMT_InvMass_one_Both", "EMT_InvMass_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3977 new TH2D("Pi0_pt_vs_rap_one_Both", "Pi0_pt_vs_rap_one_Both; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
3979 Pi0_pt_vs_rap_est_one_Both = new TH2D(
3980 "Pi0_pt_vs_rap_est_one_Both", "Pi0_pt_vs_rap_est_one_Both; rapidity y; p_{t} in GeV/c ", 10, 0., 4., 40, 0., 4.);
3983 new TH1D("DalitzPi0_one_Both", "DalitzPi0_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3986 new TH1D("PhotonsPi0_one_Both", "PhotonsPi0_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3988
3989
3990 // Both => two
3992 new TH1D("GammaInvMassReco_two_Both", "GammaInvMassReco_two_Both; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3995 new TH1D("GammaOpeningAngleReco_two_Both", "GammaOpeningAngleReco_two_Both; angle [deg];#", 200, -0.1, 19.9);
3997 Pdg_two_Both = new TH1D("Pdg_two_Both", "Pdg_two_Both; Id;#", 800, 0, 400);
3999 P_reco_two_Both = new TH1D("P_reco_two_Both", "P_reco_two_Both; P in GeV/c^{2};#", 600, 0, 6);
4001 Pt_reco_two_Both = new TH1D("Pt_reco_two_Both", "Pt_reco_two_Both; P_{t} in GeV/c^{2};#", 300, 0, 3);
4004 new TH1D("Pi0InvMassReco_two_Both", "Pi0InvMassReco_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4007 new TH1D("EMT_InvMass_two_Both", "EMT_InvMass_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4010 new TH2D("Pi0_pt_vs_rap_two_Both", "Pi0_pt_vs_rap_two_Both; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
4012 Pi0_pt_vs_rap_est_two_Both = new TH2D(
4013 "Pi0_pt_vs_rap_est_two_Both", "Pi0_pt_vs_rap_est_two_Both; rapidity y; p_{t} in GeV/c ", 10, 0., 4., 40, 0., 4.);
4016 new TH1D("DalitzPi0_two_Both", "DalitzPi0_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4019 new TH1D("PhotonsPi0_two_Both", "PhotonsPi0_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4021
4022
4023 // Both => onetwo
4025 "GammaInvMassReco_onetwo_Both", "GammaInvMassReco_onetwo_Both; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
4028 new TH1D("GammaOpeningAngleReco_onetwo_Both", "GammaOpeningAngleReco_onetwo_Both; angle [deg];#", 200, -0.1, 19.9);
4030 Pdg_onetwo_Both = new TH1D("Pdg_onetwo_Both", "Pdg_onetwo_Both; Id;#", 800, 0, 400);
4032 P_reco_onetwo_Both = new TH1D("P_reco_onetwo_Both", "P_reco_onetwo_Both; P in GeV/c^{2};#", 600, 0, 6);
4034 Pt_reco_onetwo_Both = new TH1D("Pt_reco_onetwo_Both", "Pt_reco_onetwo_Both; P_{t} in GeV/c^{2};#", 300, 0, 3);
4037 new TH1D("Pi0InvMassReco_onetwo_Both", "Pi0InvMassReco_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4040 new TH1D("EMT_InvMass_onetwo_Both", "EMT_InvMass_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4042 Pi0_pt_vs_rap_onetwo_Both = new TH2D(
4043 "Pi0_pt_vs_rap_onetwo_Both", "Pi0_pt_vs_rap_onetwo_Both; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
4046 new TH2D("Pi0_pt_vs_rap_est_onetwo_Both", "Pi0_pt_vs_rap_est_onetwo_Both; rapidity y; p_{t} in GeV/c ", 10, 0., 4.,
4047 40, 0., 4.);
4050 new TH1D("DalitzPi0_onetwo_Both", "DalitzPi0_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4053 new TH1D("PhotonsPi0_onetwo_Both", "PhotonsPi0_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4055
4056
4057 // Both
4058 Pdg_vs_Distance = new TH2D("Pdg_vs_Distance", "Pdg_vs_Distance; pdg; distance in cm", 2500, 0, 2499, 500, 0, 50);
4060 P_vs_Distance = new TH2D("P_vs_Distance",
4061 "Distance between projected track and center of the ring (for e+ "
4062 "and e-); P in GeV/c^{2}; distance in cm",
4063 300, 0, 3, 300, 0, 15);
4065
4066
4067 // Multiplicity Target
4068 MultiplicityGamma_all_Target = new TH2D("MultiplicityGamma_all_Target",
4069 "MultiplicityGamma_all_Target; Nof gammas in event; invariant "
4070 "mass in GeV/c^{2};#",
4071 400, 0, 30, 1000, 0, 2.0);
4073 MultiplicityGamma_zero_Target = new TH2D("MultiplicityGamma_zero_Target",
4074 "MultiplicityGamma_zero_Target; Nof gammas in event; invariant "
4075 "mass in GeV/c^{2};#",
4076 400, 0, 30, 1000, 0, 2.0);
4078 MultiplicityGamma_one_Target = new TH2D("MultiplicityGamma_one_Target",
4079 "MultiplicityGamma_one_Target; Nof gammas in event; invariant "
4080 "mass in GeV/c^{2};#",
4081 400, 0, 30, 1000, 0, 2.0);
4083 MultiplicityGamma_two_Target = new TH2D("MultiplicityGamma_two_Target",
4084 "MultiplicityGamma_two_Target; Nof gammas in event; invariant "
4085 "mass in GeV/c^{2};#",
4086 400, 0, 30, 1000, 0, 2.0);
4088 MultiplicityGamma_onetwo_Target = new TH2D("MultiplicityGamma_onetwo_Target",
4089 "MultiplicityGamma_onetwo_Target; Nof gammas in event; invariant "
4090 "mass in GeV/c^{2};#",
4091 400, 0, 30, 1000, 0, 2.0);
4093
4094 MultiplicityChargedParticles_all_Target = new TH2D("MultiplicityChargedParticles_all_Target",
4095 "MultiplicityChargedParticles_all_Target; Nof charged particles "
4096 "in event; invariant mass in GeV/c^{2};#",
4097 1000, 0, 1000, 1000, 0, 2.0);
4099 MultiplicityChargedParticles_zero_Target = new TH2D("MultiplicityChargedParticles_zero_Target",
4100 "MultiplicityChargedParticles_zero_Target; Nof charged particles "
4101 "in event; invariant mass in GeV/c^{2};#",
4102 1000, 0, 1000, 1000, 0, 2.0);
4104 MultiplicityChargedParticles_one_Target = new TH2D("MultiplicityChargedParticles_one_Target",
4105 "MultiplicityChargedParticles_one_Target; Nof charged particles "
4106 "in event; invariant mass in GeV/c^{2};#",
4107 1000, 0, 1000, 1000, 0, 2.0);
4109 MultiplicityChargedParticles_two_Target = new TH2D("MultiplicityChargedParticles_two_Target",
4110 "MultiplicityChargedParticles_two_Target; Nof charged particles "
4111 "in event; invariant mass in GeV/c^{2};#",
4112 1000, 0, 1000, 1000, 0, 2.0);
4114 MultiplicityChargedParticles_onetwo_Target = new TH2D("MultiplicityChargedParticles_onetwo_Target",
4115 "MultiplicityChargedParticles_onetwo_Target; Nof charged "
4116 "particles in event; invariant mass in GeV/c^{2};#",
4117 1000, 0, 1000, 1000, 0, 2.0);
4119
4120 // Multiplicity Outside
4121 MultiplicityGamma_all_Outside = new TH2D("MultiplicityGamma_all_Outside",
4122 "MultiplicityGamma_all_Outside; Nof gammas in event; invariant "
4123 "mass in GeV/c^{2};#",
4124 400, 0, 30, 1000, 0, 2.0);
4126 MultiplicityGamma_zero_Outside = new TH2D("MultiplicityGamma_zero_Outside",
4127 "MultiplicityGamma_zero_Outside; Nof gammas in event; invariant "
4128 "mass in GeV/c^{2};#",
4129 400, 0, 30, 1000, 0, 2.0);
4131 MultiplicityGamma_one_Outside = new TH2D("MultiplicityGamma_one_Outside",
4132 "MultiplicityGamma_one_Outside; Nof gammas in event; invariant "
4133 "mass in GeV/c^{2};#",
4134 400, 0, 30, 1000, 0, 2.0);
4136 MultiplicityGamma_two_Outside = new TH2D("MultiplicityGamma_two_Outside",
4137 "MultiplicityGamma_two_Outside; Nof gammas in event; invariant "
4138 "mass in GeV/c^{2};#",
4139 400, 0, 30, 1000, 0, 2.0);
4141 MultiplicityGamma_onetwo_Outside = new TH2D("MultiplicityGamma_onetwo_Outside",
4142 "MultiplicityGamma_onetwo_Outside; Nof gammas in event; invariant "
4143 "mass in GeV/c^{2};#",
4144 400, 0, 30, 1000, 0, 2.0);
4146
4147 MultiplicityChargedParticles_all_Outside = new TH2D("MultiplicityChargedParticles_all_Outside",
4148 "MultiplicityChargedParticles_all_Outside; Nof charged particles "
4149 "in event; invariant mass in GeV/c^{2};#",
4150 1000, 0, 1000, 1000, 0, 2.0);
4153 new TH2D("MultiplicityChargedParticles_zero_Outside",
4154 "MultiplicityChargedParticles_zero_Outside; Nof charged particles "
4155 "in event; invariant mass in GeV/c^{2};#",
4156 1000, 0, 1000, 1000, 0, 2.0);
4158 MultiplicityChargedParticles_one_Outside = new TH2D("MultiplicityChargedParticles_one_Outside",
4159 "MultiplicityChargedParticles_one_Outside; Nof charged particles "
4160 "in event; invariant mass in GeV/c^{2};#",
4161 1000, 0, 1000, 1000, 0, 2.0);
4163 MultiplicityChargedParticles_two_Outside = new TH2D("MultiplicityChargedParticles_two_Outside",
4164 "MultiplicityChargedParticles_two_Outside; Nof charged particles "
4165 "in event; invariant mass in GeV/c^{2};#",
4166 1000, 0, 1000, 1000, 0, 2.0);
4168 MultiplicityChargedParticles_onetwo_Outside = new TH2D("MultiplicityChargedParticles_onetwo_Outside",
4169 "MultiplicityChargedParticles_onetwo_Outside; Nof charged "
4170 "particles in event; invariant mass in GeV/c^{2};#",
4171 1000, 0, 1000, 1000, 0, 2.0);
4173
4174
4175 // Multiplicity Both
4176 MultiplicityGamma_all_Both = new TH2D("MultiplicityGamma_all_Both",
4177 "MultiplicityGamma_all_Both; Nof gammas in event; invariant mass "
4178 "in GeV/c^{2};#",
4179 400, 0, 30, 1000, 0, 2.0);
4181 MultiplicityGamma_zero_Both = new TH2D("MultiplicityGamma_zero_Both",
4182 "MultiplicityGamma_zero_Both; Nof gammas in event; invariant mass "
4183 "in GeV/c^{2};#",
4184 400, 0, 30, 1000, 0, 2.0);
4186 MultiplicityGamma_one_Both = new TH2D("MultiplicityGamma_one_Both",
4187 "MultiplicityGamma_one_Both; Nof gammas in event; invariant mass "
4188 "in GeV/c^{2};#",
4189 400, 0, 30, 1000, 0, 2.0);
4191 MultiplicityGamma_two_Both = new TH2D("MultiplicityGamma_two_Both",
4192 "MultiplicityGamma_two_Both; Nof gammas in event; invariant mass "
4193 "in GeV/c^{2};#",
4194 400, 0, 30, 1000, 0, 2.0);
4196 MultiplicityGamma_onetwo_Both = new TH2D("MultiplicityGamma_onetwo_Both",
4197 "MultiplicityGamma_onetwo_Both; Nof gammas in event; invariant "
4198 "mass in GeV/c^{2};#",
4199 400, 0, 30, 1000, 0, 2.0);
4201
4202 MultiplicityChargedParticles_all_Both = new TH2D("MultiplicityChargedParticles_all_Both",
4203 "MultiplicityChargedParticles_all_Both; Nof charged particles in "
4204 "event; invariant mass in GeV/c^{2};#",
4205 1000, 0, 1000, 1000, 0, 2.0);
4207 MultiplicityChargedParticles_zero_Both = new TH2D("MultiplicityChargedParticles_zero_Both",
4208 "MultiplicityChargedParticles_zero_Both; Nof charged particles in "
4209 "event; invariant mass in GeV/c^{2};#",
4210 1000, 0, 1000, 1000, 0, 2.0);
4212 MultiplicityChargedParticles_one_Both = new TH2D("MultiplicityChargedParticles_one_Both",
4213 "MultiplicityChargedParticles_one_Both; Nof charged particles in "
4214 "event; invariant mass in GeV/c^{2};#",
4215 1000, 0, 1000, 1000, 0, 2.0);
4217 MultiplicityChargedParticles_two_Both = new TH2D("MultiplicityChargedParticles_two_Both",
4218 "MultiplicityChargedParticles_two_Both; Nof charged particles in "
4219 "event; invariant mass in GeV/c^{2};#",
4220 1000, 0, 1000, 1000, 0, 2.0);
4222 MultiplicityChargedParticles_onetwo_Both = new TH2D("MultiplicityChargedParticles_onetwo_Both",
4223 "MultiplicityChargedParticles_onetwo_Both; Nof charged particles "
4224 "in event; invariant mass in GeV/c^{2};#",
4225 1000, 0, 1000, 1000, 0, 2.0);
4227
4228
4229 // rap_vs_Pt for "OneTwo" and "Both" NEW => Pt step = 0.1
4231 rap_vs_Pt_InM_1 = new TH1D("rap_vs_Pt_InM_1",
4232 "rapidity = (1.2-1.6) P_{t} = (0.0-0.1 "
4233 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4234 1000, 0, 2.0);
4236 rap_vs_Pt_InM_2 = new TH1D("rap_vs_Pt_InM_2",
4237 "rapidity = (1.2-1.6) P_{t} = (0.1-0.2 "
4238 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4239 1000, 0, 2.0);
4241 rap_vs_Pt_InM_3 = new TH1D("rap_vs_Pt_InM_3",
4242 "rapidity = (1.2-1.6) P_{t} = (0.2-0.3 "
4243 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4244 1000, 0, 2.0);
4246 rap_vs_Pt_InM_4 = new TH1D("rap_vs_Pt_InM_4",
4247 "rapidity = (1.2-1.6) P_{t} = (0.3-0.4 "
4248 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4249 1000, 0, 2.0);
4251 rap_vs_Pt_InM_5 = new TH1D("rap_vs_Pt_InM_5",
4252 "rapidity = (1.2-1.6) P_{t} = (0.4-0.5 "
4253 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4254 1000, 0, 2.0);
4256 rap_vs_Pt_InM_6 = new TH1D("rap_vs_Pt_InM_6",
4257 "rapidity = (1.2-1.6) P_{t} = (0.5-0.6 "
4258 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4259 1000, 0, 2.0);
4261 rap_vs_Pt_InM_7 = new TH1D("rap_vs_Pt_InM_7",
4262 "rapidity = (1.2-1.6) P_{t} = (0.6-0.7 "
4263 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4264 1000, 0, 2.0);
4266 rap_vs_Pt_InM_8 = new TH1D("rap_vs_Pt_InM_8",
4267 "rapidity = (1.2-1.6) P_{t} = (0.7-0.8 "
4268 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4269 1000, 0, 2.0);
4271 rap_vs_Pt_InM_9 = new TH1D("rap_vs_Pt_InM_9",
4272 "rapidity = (1.2-1.6) P_{t} = (0.8-0.9 "
4273 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4274 1000, 0, 2.0);
4276 rap_vs_Pt_InM_10 = new TH1D("rap_vs_Pt_InM_10",
4277 "rapidity = (1.2-1.6) P_{t} = (0.9-1.0 "
4278 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4279 1000, 0, 2.0);
4281 rap_vs_Pt_InM_11 = new TH1D("rap_vs_Pt_InM_11",
4282 "rapidity = (1.2-1.6) P_{t} = (1.0-1.1 "
4283 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4284 1000, 0, 2.0);
4286 rap_vs_Pt_InM_12 = new TH1D("rap_vs_Pt_InM_12",
4287 "rapidity = (1.2-1.6) P_{t} = (1.1-1.2 "
4288 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4289 1000, 0, 2.0);
4291 rap_vs_Pt_InM_13 = new TH1D("rap_vs_Pt_InM_13",
4292 "rapidity = (1.2-1.6) P_{t} = (1.2-1.3 "
4293 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4294 1000, 0, 2.0);
4296 rap_vs_Pt_InM_14 = new TH1D("rap_vs_Pt_InM_14",
4297 "rapidity = (1.2-1.6) P_{t} = (1.3-1.4 "
4298 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4299 1000, 0, 2.0);
4301 rap_vs_Pt_InM_15 = new TH1D("rap_vs_Pt_InM_15",
4302 "rapidity = (1.2-1.6) P_{t} = (1.4-1.5 "
4303 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4304 1000, 0, 2.0);
4306 rap_vs_Pt_InM_16 = new TH1D("rap_vs_Pt_InM_16",
4307 "rapidity = (1.2-1.6) P_{t} = (1.5-1.6 "
4308 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4309 1000, 0, 2.0);
4311 rap_vs_Pt_InM_17 = new TH1D("rap_vs_Pt_InM_17",
4312 "rapidity = (1.2-1.6) P_{t} = (1.6-1.7 "
4313 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4314 1000, 0, 2.0);
4316 rap_vs_Pt_InM_18 = new TH1D("rap_vs_Pt_InM_18",
4317 "rapidity = (1.2-1.6) P_{t} = (1.7-1.8 "
4318 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4319 1000, 0, 2.0);
4321 rap_vs_Pt_InM_19 = new TH1D("rap_vs_Pt_InM_19",
4322 "rapidity = (1.2-1.6) P_{t} = (1.8-1.9 "
4323 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4324 1000, 0, 2.0);
4326 rap_vs_Pt_InM_20 = new TH1D("rap_vs_Pt_InM_20",
4327 "rapidity = (1.2-1.6) P_{t} = (1.9-2.0 "
4328 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4329 1000, 0, 2.0);
4331 rap_vs_Pt_InM_21 = new TH1D("rap_vs_Pt_InM_21",
4332 "rapidity = (1.6-2.0) P_{t} = (0.0-0.1 "
4333 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4334 1000, 0, 2.0);
4336 rap_vs_Pt_InM_22 = new TH1D("rap_vs_Pt_InM_22",
4337 "rapidity = (1.6-2.0) P_{t} = (0.1-0.2 "
4338 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4339 1000, 0, 2.0);
4341 rap_vs_Pt_InM_23 = new TH1D("rap_vs_Pt_InM_23",
4342 "rapidity = (1.6-2.0) P_{t} = (0.2-0.3 "
4343 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4344 1000, 0, 2.0);
4346 rap_vs_Pt_InM_24 = new TH1D("rap_vs_Pt_InM_24",
4347 "rapidity = (1.6-2.0) P_{t} = (0.3-0.4 "
4348 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4349 1000, 0, 2.0);
4351 rap_vs_Pt_InM_25 = new TH1D("rap_vs_Pt_InM_25",
4352 "rapidity = (1.6-2.0) P_{t} = (0.4-0.5 "
4353 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4354 1000, 0, 2.0);
4356 rap_vs_Pt_InM_26 = new TH1D("rap_vs_Pt_InM_26",
4357 "rapidity = (1.6-2.0) P_{t} = (0.5-0.6 "
4358 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4359 1000, 0, 2.0);
4361 rap_vs_Pt_InM_27 = new TH1D("rap_vs_Pt_InM_27",
4362 "rapidity = (1.6-2.0) P_{t} = (0.6-0.7 "
4363 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4364 1000, 0, 2.0);
4366 rap_vs_Pt_InM_28 = new TH1D("rap_vs_Pt_InM_28",
4367 "rapidity = (1.6-2.0) P_{t} = (0.7-0.8 "
4368 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4369 1000, 0, 2.0);
4371 rap_vs_Pt_InM_29 = new TH1D("rap_vs_Pt_InM_29",
4372 "rapidity = (1.6-2.0) P_{t} = (0.8-0.9 "
4373 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4374 1000, 0, 2.0);
4376 rap_vs_Pt_InM_30 = new TH1D("rap_vs_Pt_InM_30",
4377 "rapidity = (1.6-2.0) P_{t} = (0.9-1.0 "
4378 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4379 1000, 0, 2.0);
4381 rap_vs_Pt_InM_31 = new TH1D("rap_vs_Pt_InM_31",
4382 "rapidity = (1.6-2.0) P_{t} = (1.0-1.1 "
4383 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4384 1000, 0, 2.0);
4386 rap_vs_Pt_InM_32 = new TH1D("rap_vs_Pt_InM_32",
4387 "rapidity = (1.6-2.0) P_{t} = (1.1-1.2 "
4388 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4389 1000, 0, 2.0);
4391 rap_vs_Pt_InM_33 = new TH1D("rap_vs_Pt_InM_33",
4392 "rapidity = (1.6-2.0) P_{t} = (1.2-1.3 "
4393 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4394 1000, 0, 2.0);
4396 rap_vs_Pt_InM_34 = new TH1D("rap_vs_Pt_InM_34",
4397 "rapidity = (1.6-2.0) P_{t} = (1.3-1.4 "
4398 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4399 1000, 0, 2.0);
4401 rap_vs_Pt_InM_35 = new TH1D("rap_vs_Pt_InM_35",
4402 "rapidity = (1.6-2.0) P_{t} = (1.4-1.5 "
4403 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4404 1000, 0, 2.0);
4406 rap_vs_Pt_InM_36 = new TH1D("rap_vs_Pt_InM_36",
4407 "rapidity = (1.6-2.0) P_{t} = (1.5-1.6 "
4408 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4409 1000, 0, 2.0);
4411 rap_vs_Pt_InM_37 = new TH1D("rap_vs_Pt_InM_37",
4412 "rapidity = (1.6-2.0) P_{t} = (1.6-1.7 "
4413 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4414 1000, 0, 2.0);
4416 rap_vs_Pt_InM_38 = new TH1D("rap_vs_Pt_InM_38",
4417 "rapidity = (1.6-2.0) P_{t} = (1.7-1.8 "
4418 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4419 1000, 0, 2.0);
4421 rap_vs_Pt_InM_39 = new TH1D("rap_vs_Pt_InM_39",
4422 "rapidity = (1.6-2.0) P_{t} = (1.8-1.9 "
4423 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4424 1000, 0, 2.0);
4426 rap_vs_Pt_InM_40 = new TH1D("rap_vs_Pt_InM_40",
4427 "rapidity = (1.6-2.0) P_{t} = (1.9-2.0 "
4428 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4429 1000, 0, 2.0);
4431 rap_vs_Pt_InM_41 = new TH1D("rap_vs_Pt_InM_41",
4432 "rapidity = (2.0-2.4) P_{t} = (0.0-0.1 "
4433 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4434 1000, 0, 2.0);
4436 rap_vs_Pt_InM_42 = new TH1D("rap_vs_Pt_InM_42",
4437 "rapidity = (2.0-2.4) P_{t} = (0.1-0.2 "
4438 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4439 1000, 0, 2.0);
4441 rap_vs_Pt_InM_43 = new TH1D("rap_vs_Pt_InM_43",
4442 "rapidity = (2.0-2.4) P_{t} = (0.2-0.3 "
4443 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4444 1000, 0, 2.0);
4446 rap_vs_Pt_InM_44 = new TH1D("rap_vs_Pt_InM_44",
4447 "rapidity = (2.0-2.4) P_{t} = (0.3-0.4 "
4448 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4449 1000, 0, 2.0);
4451 rap_vs_Pt_InM_45 = new TH1D("rap_vs_Pt_InM_45",
4452 "rapidity = (2.0-2.4) P_{t} = (0.4-0.5 "
4453 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4454 1000, 0, 2.0);
4456 rap_vs_Pt_InM_46 = new TH1D("rap_vs_Pt_InM_46",
4457 "rapidity = (2.0-2.4) P_{t} = (0.5-0.6 "
4458 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4459 1000, 0, 2.0);
4461 rap_vs_Pt_InM_47 = new TH1D("rap_vs_Pt_InM_47",
4462 "rapidity = (2.0-2.4) P_{t} = (0.6-0.7 "
4463 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4464 1000, 0, 2.0);
4466 rap_vs_Pt_InM_48 = new TH1D("rap_vs_Pt_InM_48",
4467 "rapidity = (2.0-2.4) P_{t} = (0.7-0.8 "
4468 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4469 1000, 0, 2.0);
4471 rap_vs_Pt_InM_49 = new TH1D("rap_vs_Pt_InM_49",
4472 "rapidity = (2.0-2.4) P_{t} = (0.8-0.9 "
4473 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4474 1000, 0, 2.0);
4476 rap_vs_Pt_InM_50 = new TH1D("rap_vs_Pt_InM_50",
4477 "rapidity = (2.0-2.4) P_{t} = (0.9-1.0 "
4478 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4479 1000, 0, 2.0);
4481 rap_vs_Pt_InM_51 = new TH1D("rap_vs_Pt_InM_51",
4482 "rapidity = (2.0-2.4) P_{t} = (1.0-1.1 "
4483 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4484 1000, 0, 2.0);
4486 rap_vs_Pt_InM_52 = new TH1D("rap_vs_Pt_InM_52",
4487 "rapidity = (2.0-2.4) P_{t} = (1.1-1.2 "
4488 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4489 1000, 0, 2.0);
4491 rap_vs_Pt_InM_53 = new TH1D("rap_vs_Pt_InM_53",
4492 "rapidity = (2.0-2.4) P_{t} = (1.2-1.3 "
4493 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4494 1000, 0, 2.0);
4496 rap_vs_Pt_InM_54 = new TH1D("rap_vs_Pt_InM_54",
4497 "rapidity = (2.0-2.4) P_{t} = (1.3-1.4 "
4498 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4499 1000, 0, 2.0);
4501 rap_vs_Pt_InM_55 = new TH1D("rap_vs_Pt_InM_55",
4502 "rapidity = (2.0-2.4) P_{t} = (1.4-1.5 "
4503 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4504 1000, 0, 2.0);
4506 rap_vs_Pt_InM_56 = new TH1D("rap_vs_Pt_InM_56",
4507 "rapidity = (2.0-2.4) P_{t} = (1.5-1.6 "
4508 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4509 1000, 0, 2.0);
4511 rap_vs_Pt_InM_57 = new TH1D("rap_vs_Pt_InM_57",
4512 "rapidity = (2.0-2.4) P_{t} = (1.6-1.7 "
4513 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4514 1000, 0, 2.0);
4516 rap_vs_Pt_InM_58 = new TH1D("rap_vs_Pt_InM_58",
4517 "rapidity = (2.0-2.4) P_{t} = (1.7-1.8 "
4518 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4519 1000, 0, 2.0);
4521 rap_vs_Pt_InM_59 = new TH1D("rap_vs_Pt_InM_59",
4522 "rapidity = (2.0-2.4) P_{t} = (1.8-1.9 "
4523 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4524 1000, 0, 2.0);
4526 rap_vs_Pt_InM_60 = new TH1D("rap_vs_Pt_InM_60",
4527 "rapidity = (2.0-2.4) P_{t} = (1.9-2.0 "
4528 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4529 1000, 0, 2.0);
4531 rap_vs_Pt_InM_61 = new TH1D("rap_vs_Pt_InM_61",
4532 "rapidity = (2.4-2.8) P_{t} = (0.0-0.1 "
4533 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4534 1000, 0, 2.0);
4536 rap_vs_Pt_InM_62 = new TH1D("rap_vs_Pt_InM_62",
4537 "rapidity = (2.4-2.8) P_{t} = (0.1-0.2 "
4538 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4539 1000, 0, 2.0);
4541 rap_vs_Pt_InM_63 = new TH1D("rap_vs_Pt_InM_63",
4542 "rapidity = (2.4-2.8) P_{t} = (0.2-0.3 "
4543 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4544 1000, 0, 2.0);
4546 rap_vs_Pt_InM_64 = new TH1D("rap_vs_Pt_InM_64",
4547 "rapidity = (2.4-2.8) P_{t} = (0.3-0.4 "
4548 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4549 1000, 0, 2.0);
4551 rap_vs_Pt_InM_65 = new TH1D("rap_vs_Pt_InM_65",
4552 "rapidity = (2.4-2.8) P_{t} = (0.4-0.5 "
4553 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4554 1000, 0, 2.0);
4556 rap_vs_Pt_InM_66 = new TH1D("rap_vs_Pt_InM_66",
4557 "rapidity = (2.4-2.8) P_{t} = (0.5-0.6 "
4558 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4559 1000, 0, 2.0);
4561 rap_vs_Pt_InM_67 = new TH1D("rap_vs_Pt_InM_67",
4562 "rapidity = (2.4-2.8) P_{t} = (0.6-0.7 "
4563 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4564 1000, 0, 2.0);
4566 rap_vs_Pt_InM_68 = new TH1D("rap_vs_Pt_InM_68",
4567 "rapidity = (2.4-2.8) P_{t} = (0.7-0.8 "
4568 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4569 1000, 0, 2.0);
4571 rap_vs_Pt_InM_69 = new TH1D("rap_vs_Pt_InM_69",
4572 "rapidity = (2.4-2.8) P_{t} = (0.8-0.9 "
4573 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4574 1000, 0, 2.0);
4576 rap_vs_Pt_InM_70 = new TH1D("rap_vs_Pt_InM_70",
4577 "rapidity = (2.4-2.8) P_{t} = (0.9-1.0 "
4578 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4579 1000, 0, 2.0);
4581 rap_vs_Pt_InM_71 = new TH1D("rap_vs_Pt_InM_71",
4582 "rapidity = (2.4-2.8) P_{t} = (1.0-1.1 "
4583 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4584 1000, 0, 2.0);
4586 rap_vs_Pt_InM_72 = new TH1D("rap_vs_Pt_InM_72",
4587 "rapidity = (2.4-2.8) P_{t} = (1.1-1.2 "
4588 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4589 1000, 0, 2.0);
4591 rap_vs_Pt_InM_73 = new TH1D("rap_vs_Pt_InM_73",
4592 "rapidity = (2.4-2.8) P_{t} = (1.2-1.3 "
4593 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4594 1000, 0, 2.0);
4596 rap_vs_Pt_InM_74 = new TH1D("rap_vs_Pt_InM_74",
4597 "rapidity = (2.4-2.8) P_{t} = (1.3-1.4 "
4598 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4599 1000, 0, 2.0);
4601 rap_vs_Pt_InM_75 = new TH1D("rap_vs_Pt_InM_75",
4602 "rapidity = (2.4-2.8) P_{t} = (1.4-1.5 "
4603 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4604 1000, 0, 2.0);
4606 rap_vs_Pt_InM_76 = new TH1D("rap_vs_Pt_InM_76",
4607 "rapidity = (2.4-2.8) P_{t} = (1.5-1.6 "
4608 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4609 1000, 0, 2.0);
4611 rap_vs_Pt_InM_81 = new TH1D("rap_vs_Pt_InM_81",
4612 "rapidity = (2.8-3.2) P_{t} = (0.0-0.1 "
4613 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4614 1000, 0, 2.0);
4616 rap_vs_Pt_InM_82 = new TH1D("rap_vs_Pt_InM_82",
4617 "rapidity = (2.8-3.2) P_{t} = (0.1-0.2 "
4618 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4619 1000, 0, 2.0);
4621 rap_vs_Pt_InM_83 = new TH1D("rap_vs_Pt_InM_83",
4622 "rapidity = (2.8-3.2) P_{t} = (0.2-0.3 "
4623 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4624 1000, 0, 2.0);
4626 rap_vs_Pt_InM_84 = new TH1D("rap_vs_Pt_InM_84",
4627 "rapidity = (2.8-3.2) P_{t} = (0.3-0.4 "
4628 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4629 1000, 0, 2.0);
4631 rap_vs_Pt_InM_85 = new TH1D("rap_vs_Pt_InM_85",
4632 "rapidity = (2.8-3.2) P_{t} = (0.4-0.5 "
4633 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4634 1000, 0, 2.0);
4636 rap_vs_Pt_InM_86 = new TH1D("rap_vs_Pt_InM_86",
4637 "rapidity = (2.8-3.2) P_{t} = (0.5-0.6 "
4638 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4639 1000, 0, 2.0);
4641 rap_vs_Pt_InM_87 = new TH1D("rap_vs_Pt_InM_87",
4642 "rapidity = (2.8-3.2) P_{t} = (0.6-0.7 "
4643 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4644 1000, 0, 2.0);
4646 rap_vs_Pt_InM_88 = new TH1D("rap_vs_Pt_InM_88",
4647 "rapidity = (2.8-3.2) P_{t} = (0.7-0.8 "
4648 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4649 1000, 0, 2.0);
4651 rap_vs_Pt_InM_89 = new TH1D("rap_vs_Pt_InM_89",
4652 "rapidity = (2.8-3.2) P_{t} = (0.8-0.9 "
4653 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4654 1000, 0, 2.0);
4656 rap_vs_Pt_InM_90 = new TH1D("rap_vs_Pt_InM_90",
4657 "rapidity = (2.8-3.2) P_{t} = (0.9-1.0 "
4658 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4659 1000, 0, 2.0);
4661 rap_vs_Pt_InM_91 = new TH1D("rap_vs_Pt_InM_91",
4662 "rapidity = (2.8-3.2) P_{t} = (1.0-1.1 "
4663 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4664 1000, 0, 2.0);
4666 rap_vs_Pt_InM_92 = new TH1D("rap_vs_Pt_InM_92",
4667 "rapidity = (2.8-3.2) P_{t} = (1.1-1.2 "
4668 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4669 1000, 0, 2.0);
4671 rap_vs_Pt_InM_101 = new TH1D("rap_vs_Pt_InM_101",
4672 "rapidity = (3.2-3.6) P_{t} = (0.0-0.1 "
4673 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4674 1000, 0, 2.0);
4676 rap_vs_Pt_InM_102 = new TH1D("rap_vs_Pt_InM_102",
4677 "rapidity = (3.2-3.6) P_{t} = (0.1-0.2 "
4678 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4679 1000, 0, 2.0);
4681 rap_vs_Pt_InM_103 = new TH1D("rap_vs_Pt_InM_103",
4682 "rapidity = (3.2-3.6) P_{t} = (0.2-0.3 "
4683 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4684 1000, 0, 2.0);
4686 rap_vs_Pt_InM_104 = new TH1D("rap_vs_Pt_InM_104",
4687 "rapidity = (3.2-3.6) P_{t} = (0.3-0.4 "
4688 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4689 1000, 0, 2.0);
4691 rap_vs_Pt_InM_105 = new TH1D("rap_vs_Pt_InM_105",
4692 "rapidity = (3.2-3.6) P_{t} = (0.4-0.5 "
4693 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4694 1000, 0, 2.0);
4696 rap_vs_Pt_InM_106 = new TH1D("rap_vs_Pt_InM_106",
4697 "rapidity = (3.2-3.6) P_{t} = (0.5-0.6 "
4698 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4699 1000, 0, 2.0);
4701 rap_vs_Pt_InM_107 = new TH1D("rap_vs_Pt_InM_107",
4702 "rapidity = (3.2-3.6) P_{t} = (0.6-0.7 "
4703 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4704 1000, 0, 2.0);
4706 rap_vs_Pt_InM_108 = new TH1D("rap_vs_Pt_InM_108",
4707 "rapidity = (3.2-3.6) P_{t} = (0.7-0.8 "
4708 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4709 1000, 0, 2.0);
4711 rap_vs_Pt_InM_111 = new TH1D("rap_vs_Pt_InM_111",
4712 "rapidity = (3.6-4.0) P_{t} = (0.0-0.1 "
4713 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4714 1000, 0, 2.0);
4716 rap_vs_Pt_InM_112 = new TH1D("rap_vs_Pt_InM_112",
4717 "rapidity = (3.6-4.0) P_{t} = (0.1-0.2 "
4718 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4719 1000, 0, 2.0);
4721 rap_vs_Pt_InM_113 = new TH1D("rap_vs_Pt_InM_113",
4722 "rapidity = (3.6-4.0) P_{t} = (0.2-0.3 "
4723 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4724 1000, 0, 2.0);
4726 rap_vs_Pt_InM_114 = new TH1D("rap_vs_Pt_InM_114",
4727 "rapidity = (3.6-4.0) P_{t} = (0.3-0.4 "
4728 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4729 1000, 0, 2.0);
4731
4732 rap_vs_Pt_InM_mixing_1 = new TH1D("rap_vs_Pt_InM_mixing_1",
4733 "rapidity = (1.2-1.6) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
4734 "mass in GeV/c^{2};#",
4735 1000, 0, 2.0);
4737 rap_vs_Pt_InM_mixing_2 = new TH1D("rap_vs_Pt_InM_mixing_2",
4738 "rapidity = (1.2-1.6) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
4739 "mass in GeV/c^{2};#",
4740 1000, 0, 2.0);
4742 rap_vs_Pt_InM_mixing_3 = new TH1D("rap_vs_Pt_InM_mixing_3",
4743 "rapidity = (1.2-1.6) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
4744 "mass in GeV/c^{2};#",
4745 1000, 0, 2.0);
4747 rap_vs_Pt_InM_mixing_4 = new TH1D("rap_vs_Pt_InM_mixing_4",
4748 "rapidity = (1.2-1.6) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
4749 "mass in GeV/c^{2};#",
4750 1000, 0, 2.0);
4752 rap_vs_Pt_InM_mixing_5 = new TH1D("rap_vs_Pt_InM_mixing_5",
4753 "rapidity = (1.2-1.6) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
4754 "mass in GeV/c^{2};#",
4755 1000, 0, 2.0);
4757 rap_vs_Pt_InM_mixing_6 = new TH1D("rap_vs_Pt_InM_mixing_6",
4758 "rapidity = (1.2-1.6) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
4759 "mass in GeV/c^{2};#",
4760 1000, 0, 2.0);
4762 rap_vs_Pt_InM_mixing_7 = new TH1D("rap_vs_Pt_InM_mixing_7",
4763 "rapidity = (1.2-1.6) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
4764 "mass in GeV/c^{2};#",
4765 1000, 0, 2.0);
4767 rap_vs_Pt_InM_mixing_8 = new TH1D("rap_vs_Pt_InM_mixing_8",
4768 "rapidity = (1.2-1.6) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
4769 "mass in GeV/c^{2};#",
4770 1000, 0, 2.0);
4772 rap_vs_Pt_InM_mixing_9 = new TH1D("rap_vs_Pt_InM_mixing_9",
4773 "rapidity = (1.2-1.6) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
4774 "mass in GeV/c^{2};#",
4775 1000, 0, 2.0);
4777 rap_vs_Pt_InM_mixing_10 = new TH1D("rap_vs_Pt_InM_mixing_10",
4778 "rapidity = (1.2-1.6) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
4779 "mass in GeV/c^{2};#",
4780 1000, 0, 2.0);
4782 rap_vs_Pt_InM_mixing_11 = new TH1D("rap_vs_Pt_InM_mixing_11",
4783 "rapidity = (1.2-1.6) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
4784 "mass in GeV/c^{2};#",
4785 1000, 0, 2.0);
4787 rap_vs_Pt_InM_mixing_12 = new TH1D("rap_vs_Pt_InM_mixing_12",
4788 "rapidity = (1.2-1.6) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
4789 "mass in GeV/c^{2};#",
4790 1000, 0, 2.0);
4792 rap_vs_Pt_InM_mixing_13 = new TH1D("rap_vs_Pt_InM_mixing_13",
4793 "rapidity = (1.2-1.6) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
4794 "mass in GeV/c^{2};#",
4795 1000, 0, 2.0);
4797 rap_vs_Pt_InM_mixing_14 = new TH1D("rap_vs_Pt_InM_mixing_14",
4798 "rapidity = (1.2-1.6) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
4799 "mass in GeV/c^{2};#",
4800 1000, 0, 2.0);
4802 rap_vs_Pt_InM_mixing_15 = new TH1D("rap_vs_Pt_InM_mixing_15",
4803 "rapidity = (1.2-1.6) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
4804 "mass in GeV/c^{2};#",
4805 1000, 0, 2.0);
4807 rap_vs_Pt_InM_mixing_16 = new TH1D("rap_vs_Pt_InM_mixing_16",
4808 "rapidity = (1.2-1.6) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
4809 "mass in GeV/c^{2};#",
4810 1000, 0, 2.0);
4812 rap_vs_Pt_InM_mixing_17 = new TH1D("rap_vs_Pt_InM_mixing_17",
4813 "rapidity = (1.2-1.6) P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant "
4814 "mass in GeV/c^{2};#",
4815 1000, 0, 2.0);
4817 rap_vs_Pt_InM_mixing_18 = new TH1D("rap_vs_Pt_InM_mixing_18",
4818 "rapidity = (1.2-1.6) P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant "
4819 "mass in GeV/c^{2};#",
4820 1000, 0, 2.0);
4822 rap_vs_Pt_InM_mixing_19 = new TH1D("rap_vs_Pt_InM_mixing_19",
4823 "rapidity = (1.2-1.6) P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant "
4824 "mass in GeV/c^{2};#",
4825 1000, 0, 2.0);
4827 rap_vs_Pt_InM_mixing_20 = new TH1D("rap_vs_Pt_InM_mixing_20",
4828 "rapidity = (1.2-1.6) P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant "
4829 "mass in GeV/c^{2};#",
4830 1000, 0, 2.0);
4832 rap_vs_Pt_InM_mixing_21 = new TH1D("rap_vs_Pt_InM_mixing_21",
4833 "rapidity = (1.6-2.0) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
4834 "mass in GeV/c^{2};#",
4835 1000, 0, 2.0);
4837 rap_vs_Pt_InM_mixing_22 = new TH1D("rap_vs_Pt_InM_mixing_22",
4838 "rapidity = (1.6-2.0) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
4839 "mass in GeV/c^{2};#",
4840 1000, 0, 2.0);
4842 rap_vs_Pt_InM_mixing_23 = new TH1D("rap_vs_Pt_InM_mixing_23",
4843 "rapidity = (1.6-2.0) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
4844 "mass in GeV/c^{2};#",
4845 1000, 0, 2.0);
4847 rap_vs_Pt_InM_mixing_24 = new TH1D("rap_vs_Pt_InM_mixing_24",
4848 "rapidity = (1.6-2.0) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
4849 "mass in GeV/c^{2};#",
4850 1000, 0, 2.0);
4852 rap_vs_Pt_InM_mixing_25 = new TH1D("rap_vs_Pt_InM_mixing_25",
4853 "rapidity = (1.6-2.0) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
4854 "mass in GeV/c^{2};#",
4855 1000, 0, 2.0);
4857 rap_vs_Pt_InM_mixing_26 = new TH1D("rap_vs_Pt_InM_mixing_26",
4858 "rapidity = (1.6-2.0) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
4859 "mass in GeV/c^{2};#",
4860 1000, 0, 2.0);
4862 rap_vs_Pt_InM_mixing_27 = new TH1D("rap_vs_Pt_InM_mixing_27",
4863 "rapidity = (1.6-2.0) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
4864 "mass in GeV/c^{2};#",
4865 1000, 0, 2.0);
4867 rap_vs_Pt_InM_mixing_28 = new TH1D("rap_vs_Pt_InM_mixing_28",
4868 "rapidity = (1.6-2.0) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
4869 "mass in GeV/c^{2};#",
4870 1000, 0, 2.0);
4872 rap_vs_Pt_InM_mixing_29 = new TH1D("rap_vs_Pt_InM_mixing_29",
4873 "rapidity = (1.6-2.0) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
4874 "mass in GeV/c^{2};#",
4875 1000, 0, 2.0);
4877 rap_vs_Pt_InM_mixing_30 = new TH1D("rap_vs_Pt_InM_mixing_30",
4878 "rapidity = (1.6-2.0) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
4879 "mass in GeV/c^{2};#",
4880 1000, 0, 2.0);
4882 rap_vs_Pt_InM_mixing_31 = new TH1D("rap_vs_Pt_InM_mixing_31",
4883 "rapidity = (1.6-2.0) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
4884 "mass in GeV/c^{2};#",
4885 1000, 0, 2.0);
4887 rap_vs_Pt_InM_mixing_32 = new TH1D("rap_vs_Pt_InM_mixing_32",
4888 "rapidity = (1.6-2.0) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
4889 "mass in GeV/c^{2};#",
4890 1000, 0, 2.0);
4892 rap_vs_Pt_InM_mixing_33 = new TH1D("rap_vs_Pt_InM_mixing_33",
4893 "rapidity = (1.6-2.0) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
4894 "mass in GeV/c^{2};#",
4895 1000, 0, 2.0);
4897 rap_vs_Pt_InM_mixing_34 = new TH1D("rap_vs_Pt_InM_mixing_34",
4898 "rapidity = (1.6-2.0) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
4899 "mass in GeV/c^{2};#",
4900 1000, 0, 2.0);
4902 rap_vs_Pt_InM_mixing_35 = new TH1D("rap_vs_Pt_InM_mixing_35",
4903 "rapidity = (1.6-2.0) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
4904 "mass in GeV/c^{2};#",
4905 1000, 0, 2.0);
4907 rap_vs_Pt_InM_mixing_36 = new TH1D("rap_vs_Pt_InM_mixing_36",
4908 "rapidity = (1.6-2.0) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
4909 "mass in GeV/c^{2};#",
4910 1000, 0, 2.0);
4912 rap_vs_Pt_InM_mixing_37 = new TH1D("rap_vs_Pt_InM_mixing_37",
4913 "rapidity = (1.6-2.0) P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant "
4914 "mass in GeV/c^{2};#",
4915 1000, 0, 2.0);
4917 rap_vs_Pt_InM_mixing_38 = new TH1D("rap_vs_Pt_InM_mixing_38",
4918 "rapidity = (1.6-2.0) P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant "
4919 "mass in GeV/c^{2};#",
4920 1000, 0, 2.0);
4922 rap_vs_Pt_InM_mixing_39 = new TH1D("rap_vs_Pt_InM_mixing_39",
4923 "rapidity = (1.6-2.0) P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant "
4924 "mass in GeV/c^{2};#",
4925 1000, 0, 2.0);
4927 rap_vs_Pt_InM_mixing_40 = new TH1D("rap_vs_Pt_InM_mixing_40",
4928 "rapidity = (1.6-2.0) P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant "
4929 "mass in GeV/c^{2};#",
4930 1000, 0, 2.0);
4932 rap_vs_Pt_InM_mixing_41 = new TH1D("rap_vs_Pt_InM_mixing_41",
4933 "rapidity = (2.0-2.4) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
4934 "mass in GeV/c^{2};#",
4935 1000, 0, 2.0);
4937 rap_vs_Pt_InM_mixing_42 = new TH1D("rap_vs_Pt_InM_mixing_42",
4938 "rapidity = (2.0-2.4) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
4939 "mass in GeV/c^{2};#",
4940 1000, 0, 2.0);
4942 rap_vs_Pt_InM_mixing_43 = new TH1D("rap_vs_Pt_InM_mixing_43",
4943 "rapidity = (2.0-2.4) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
4944 "mass in GeV/c^{2};#",
4945 1000, 0, 2.0);
4947 rap_vs_Pt_InM_mixing_44 = new TH1D("rap_vs_Pt_InM_mixing_44",
4948 "rapidity = (2.0-2.4) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
4949 "mass in GeV/c^{2};#",
4950 1000, 0, 2.0);
4952 rap_vs_Pt_InM_mixing_45 = new TH1D("rap_vs_Pt_InM_mixing_45",
4953 "rapidity = (2.0-2.4) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
4954 "mass in GeV/c^{2};#",
4955 1000, 0, 2.0);
4957 rap_vs_Pt_InM_mixing_46 = new TH1D("rap_vs_Pt_InM_mixing_46",
4958 "rapidity = (2.0-2.4) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
4959 "mass in GeV/c^{2};#",
4960 1000, 0, 2.0);
4962 rap_vs_Pt_InM_mixing_47 = new TH1D("rap_vs_Pt_InM_mixing_47",
4963 "rapidity = (2.0-2.4) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
4964 "mass in GeV/c^{2};#",
4965 1000, 0, 2.0);
4967 rap_vs_Pt_InM_mixing_48 = new TH1D("rap_vs_Pt_InM_mixing_48",
4968 "rapidity = (2.0-2.4) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
4969 "mass in GeV/c^{2};#",
4970 1000, 0, 2.0);
4972 rap_vs_Pt_InM_mixing_49 = new TH1D("rap_vs_Pt_InM_mixing_49",
4973 "rapidity = (2.0-2.4) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
4974 "mass in GeV/c^{2};#",
4975 1000, 0, 2.0);
4977 rap_vs_Pt_InM_mixing_50 = new TH1D("rap_vs_Pt_InM_mixing_50",
4978 "rapidity = (2.0-2.4) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
4979 "mass in GeV/c^{2};#",
4980 1000, 0, 2.0);
4982 rap_vs_Pt_InM_mixing_51 = new TH1D("rap_vs_Pt_InM_mixing_51",
4983 "rapidity = (2.0-2.4) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
4984 "mass in GeV/c^{2};#",
4985 1000, 0, 2.0);
4987 rap_vs_Pt_InM_mixing_52 = new TH1D("rap_vs_Pt_InM_mixing_52",
4988 "rapidity = (2.0-2.4) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
4989 "mass in GeV/c^{2};#",
4990 1000, 0, 2.0);
4992 rap_vs_Pt_InM_mixing_53 = new TH1D("rap_vs_Pt_InM_mixing_53",
4993 "rapidity = (2.0-2.4) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
4994 "mass in GeV/c^{2};#",
4995 1000, 0, 2.0);
4997 rap_vs_Pt_InM_mixing_54 = new TH1D("rap_vs_Pt_InM_mixing_54",
4998 "rapidity = (2.0-2.4) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
4999 "mass in GeV/c^{2};#",
5000 1000, 0, 2.0);
5002 rap_vs_Pt_InM_mixing_55 = new TH1D("rap_vs_Pt_InM_mixing_55",
5003 "rapidity = (2.0-2.4) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
5004 "mass in GeV/c^{2};#",
5005 1000, 0, 2.0);
5007 rap_vs_Pt_InM_mixing_56 = new TH1D("rap_vs_Pt_InM_mixing_56",
5008 "rapidity = (2.0-2.4) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
5009 "mass in GeV/c^{2};#",
5010 1000, 0, 2.0);
5012 rap_vs_Pt_InM_mixing_57 = new TH1D("rap_vs_Pt_InM_mixing_57",
5013 "rapidity = (2.0-2.4) P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant "
5014 "mass in GeV/c^{2};#",
5015 1000, 0, 2.0);
5017 rap_vs_Pt_InM_mixing_58 = new TH1D("rap_vs_Pt_InM_mixing_58",
5018 "rapidity = (2.0-2.4) P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant "
5019 "mass in GeV/c^{2};#",
5020 1000, 0, 2.0);
5022 rap_vs_Pt_InM_mixing_59 = new TH1D("rap_vs_Pt_InM_mixing_59",
5023 "rapidity = (2.0-2.4) P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant "
5024 "mass in GeV/c^{2};#",
5025 1000, 0, 2.0);
5027 rap_vs_Pt_InM_mixing_60 = new TH1D("rap_vs_Pt_InM_mixing_60",
5028 "rapidity = (2.0-2.4) P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant "
5029 "mass in GeV/c^{2};#",
5030 1000, 0, 2.0);
5032 rap_vs_Pt_InM_mixing_61 = new TH1D("rap_vs_Pt_InM_mixing_61",
5033 "rapidity = (2.4-2.8) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5034 "mass in GeV/c^{2};#",
5035 1000, 0, 2.0);
5037 rap_vs_Pt_InM_mixing_62 = new TH1D("rap_vs_Pt_InM_mixing_62",
5038 "rapidity = (2.4-2.8) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5039 "mass in GeV/c^{2};#",
5040 1000, 0, 2.0);
5042 rap_vs_Pt_InM_mixing_63 = new TH1D("rap_vs_Pt_InM_mixing_63",
5043 "rapidity = (2.4-2.8) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5044 "mass in GeV/c^{2};#",
5045 1000, 0, 2.0);
5047 rap_vs_Pt_InM_mixing_64 = new TH1D("rap_vs_Pt_InM_mixing_64",
5048 "rapidity = (2.4-2.8) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5049 "mass in GeV/c^{2};#",
5050 1000, 0, 2.0);
5052 rap_vs_Pt_InM_mixing_65 = new TH1D("rap_vs_Pt_InM_mixing_65",
5053 "rapidity = (2.4-2.8) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
5054 "mass in GeV/c^{2};#",
5055 1000, 0, 2.0);
5057 rap_vs_Pt_InM_mixing_66 = new TH1D("rap_vs_Pt_InM_mixing_66",
5058 "rapidity = (2.4-2.8) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
5059 "mass in GeV/c^{2};#",
5060 1000, 0, 2.0);
5062 rap_vs_Pt_InM_mixing_67 = new TH1D("rap_vs_Pt_InM_mixing_67",
5063 "rapidity = (2.4-2.8) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
5064 "mass in GeV/c^{2};#",
5065 1000, 0, 2.0);
5067 rap_vs_Pt_InM_mixing_68 = new TH1D("rap_vs_Pt_InM_mixing_68",
5068 "rapidity = (2.4-2.8) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
5069 "mass in GeV/c^{2};#",
5070 1000, 0, 2.0);
5072 rap_vs_Pt_InM_mixing_69 = new TH1D("rap_vs_Pt_InM_mixing_69",
5073 "rapidity = (2.4-2.8) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
5074 "mass in GeV/c^{2};#",
5075 1000, 0, 2.0);
5077 rap_vs_Pt_InM_mixing_70 = new TH1D("rap_vs_Pt_InM_mixing_70",
5078 "rapidity = (2.4-2.8) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
5079 "mass in GeV/c^{2};#",
5080 1000, 0, 2.0);
5082 rap_vs_Pt_InM_mixing_71 = new TH1D("rap_vs_Pt_InM_mixing_71",
5083 "rapidity = (2.4-2.8) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
5084 "mass in GeV/c^{2};#",
5085 1000, 0, 2.0);
5087 rap_vs_Pt_InM_mixing_72 = new TH1D("rap_vs_Pt_InM_mixing_72",
5088 "rapidity = (2.4-2.8) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
5089 "mass in GeV/c^{2};#",
5090 1000, 0, 2.0);
5092 rap_vs_Pt_InM_mixing_73 = new TH1D("rap_vs_Pt_InM_mixing_73",
5093 "rapidity = (2.4-2.8) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
5094 "mass in GeV/c^{2};#",
5095 1000, 0, 2.0);
5097 rap_vs_Pt_InM_mixing_74 = new TH1D("rap_vs_Pt_InM_mixing_74",
5098 "rapidity = (2.4-2.8) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
5099 "mass in GeV/c^{2};#",
5100 1000, 0, 2.0);
5102 rap_vs_Pt_InM_mixing_75 = new TH1D("rap_vs_Pt_InM_mixing_75",
5103 "rapidity = (2.4-2.8) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
5104 "mass in GeV/c^{2};#",
5105 1000, 0, 2.0);
5107 rap_vs_Pt_InM_mixing_76 = new TH1D("rap_vs_Pt_InM_mixing_76",
5108 "rapidity = (2.4-2.8) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
5109 "mass in GeV/c^{2};#",
5110 1000, 0, 2.0);
5112 rap_vs_Pt_InM_mixing_81 = new TH1D("rap_vs_Pt_InM_mixing_81",
5113 "rapidity = (2.8-3.2) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5114 "mass in GeV/c^{2};#",
5115 1000, 0, 2.0);
5117 rap_vs_Pt_InM_mixing_82 = new TH1D("rap_vs_Pt_InM_mixing_82",
5118 "rapidity = (2.8-3.2) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5119 "mass in GeV/c^{2};#",
5120 1000, 0, 2.0);
5122 rap_vs_Pt_InM_mixing_83 = new TH1D("rap_vs_Pt_InM_mixing_83",
5123 "rapidity = (2.8-3.2) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5124 "mass in GeV/c^{2};#",
5125 1000, 0, 2.0);
5127 rap_vs_Pt_InM_mixing_84 = new TH1D("rap_vs_Pt_InM_mixing_84",
5128 "rapidity = (2.8-3.2) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5129 "mass in GeV/c^{2};#",
5130 1000, 0, 2.0);
5132 rap_vs_Pt_InM_mixing_85 = new TH1D("rap_vs_Pt_InM_mixing_85",
5133 "rapidity = (2.8-3.2) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
5134 "mass in GeV/c^{2};#",
5135 1000, 0, 2.0);
5137 rap_vs_Pt_InM_mixing_86 = new TH1D("rap_vs_Pt_InM_mixing_86",
5138 "rapidity = (2.8-3.2) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
5139 "mass in GeV/c^{2};#",
5140 1000, 0, 2.0);
5142 rap_vs_Pt_InM_mixing_87 = new TH1D("rap_vs_Pt_InM_mixing_87",
5143 "rapidity = (2.8-3.2) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
5144 "mass in GeV/c^{2};#",
5145 1000, 0, 2.0);
5147 rap_vs_Pt_InM_mixing_88 = new TH1D("rap_vs_Pt_InM_mixing_88",
5148 "rapidity = (2.8-3.2) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
5149 "mass in GeV/c^{2};#",
5150 1000, 0, 2.0);
5152 rap_vs_Pt_InM_mixing_89 = new TH1D("rap_vs_Pt_InM_mixing_89",
5153 "rapidity = (2.8-3.2) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
5154 "mass in GeV/c^{2};#",
5155 1000, 0, 2.0);
5157 rap_vs_Pt_InM_mixing_90 = new TH1D("rap_vs_Pt_InM_mixing_90",
5158 "rapidity = (2.8-3.2) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
5159 "mass in GeV/c^{2};#",
5160 1000, 0, 2.0);
5162 rap_vs_Pt_InM_mixing_91 = new TH1D("rap_vs_Pt_InM_mixing_91",
5163 "rapidity = (2.8-3.2) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
5164 "mass in GeV/c^{2};#",
5165 1000, 0, 2.0);
5167 rap_vs_Pt_InM_mixing_92 = new TH1D("rap_vs_Pt_InM_mixing_92",
5168 "rapidity = (2.8-3.2) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
5169 "mass in GeV/c^{2};#",
5170 1000, 0, 2.0);
5172 rap_vs_Pt_InM_mixing_101 = new TH1D("rap_vs_Pt_InM_mixing_101",
5173 "rapidity = (3.2-3.6) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5174 "mass in GeV/c^{2};#",
5175 1000, 0, 2.0);
5177 rap_vs_Pt_InM_mixing_102 = new TH1D("rap_vs_Pt_InM_mixing_102",
5178 "rapidity = (3.2-3.6) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5179 "mass in GeV/c^{2};#",
5180 1000, 0, 2.0);
5182 rap_vs_Pt_InM_mixing_103 = new TH1D("rap_vs_Pt_InM_mixing_103",
5183 "rapidity = (3.2-3.6) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5184 "mass in GeV/c^{2};#",
5185 1000, 0, 2.0);
5187 rap_vs_Pt_InM_mixing_104 = new TH1D("rap_vs_Pt_InM_mixing_104",
5188 "rapidity = (3.2-3.6) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5189 "mass in GeV/c^{2};#",
5190 1000, 0, 2.0);
5192 rap_vs_Pt_InM_mixing_105 = new TH1D("rap_vs_Pt_InM_mixing_105",
5193 "rapidity = (3.2-3.6) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
5194 "mass in GeV/c^{2};#",
5195 1000, 0, 2.0);
5197 rap_vs_Pt_InM_mixing_106 = new TH1D("rap_vs_Pt_InM_mixing_106",
5198 "rapidity = (3.2-3.6) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
5199 "mass in GeV/c^{2};#",
5200 1000, 0, 2.0);
5202 rap_vs_Pt_InM_mixing_107 = new TH1D("rap_vs_Pt_InM_mixing_107",
5203 "rapidity = (3.2-3.6) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
5204 "mass in GeV/c^{2};#",
5205 1000, 0, 2.0);
5207 rap_vs_Pt_InM_mixing_108 = new TH1D("rap_vs_Pt_InM_mixing_108",
5208 "rapidity = (3.2-3.6) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
5209 "mass in GeV/c^{2};#",
5210 1000, 0, 2.0);
5212 rap_vs_Pt_InM_mixing_111 = new TH1D("rap_vs_Pt_InM_mixing_111",
5213 "rapidity = (3.6-4.0) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5214 "mass in GeV/c^{2};#",
5215 1000, 0, 2.0);
5217 rap_vs_Pt_InM_mixing_112 = new TH1D("rap_vs_Pt_InM_mixing_112",
5218 "rapidity = (3.6-4.0) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5219 "mass in GeV/c^{2};#",
5220 1000, 0, 2.0);
5222 rap_vs_Pt_InM_mixing_113 = new TH1D("rap_vs_Pt_InM_mixing_113",
5223 "rapidity = (3.6-4.0) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5224 "mass in GeV/c^{2};#",
5225 1000, 0, 2.0);
5227 rap_vs_Pt_InM_mixing_114 = new TH1D("rap_vs_Pt_InM_mixing_114",
5228 "rapidity = (3.6-4.0) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5229 "mass in GeV/c^{2};#",
5230 1000, 0, 2.0);
5232
5233 // rap_vs_Pt for "All" and "Both" NEW => Pt step = 0.1
5235 rap_vs_Pt_InM_all_1 = new TH1D("rap_vs_Pt_InM_all_1",
5236 "rapidity = (1.2-1.6) P_{t} = (0.0-0.1 "
5237 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5238 1000, 0, 2.0);
5240 rap_vs_Pt_InM_all_2 = new TH1D("rap_vs_Pt_InM_all_2",
5241 "rapidity = (1.2-1.6) P_{t} = (0.1-0.2 "
5242 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5243 1000, 0, 2.0);
5245 rap_vs_Pt_InM_all_3 = new TH1D("rap_vs_Pt_InM_all_3",
5246 "rapidity = (1.2-1.6) P_{t} = (0.2-0.3 "
5247 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5248 1000, 0, 2.0);
5250 rap_vs_Pt_InM_all_4 = new TH1D("rap_vs_Pt_InM_all_4",
5251 "rapidity = (1.2-1.6) P_{t} = (0.3-0.4 "
5252 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5253 1000, 0, 2.0);
5255 rap_vs_Pt_InM_all_5 = new TH1D("rap_vs_Pt_InM_all_5",
5256 "rapidity = (1.2-1.6) P_{t} = (0.4-0.5 "
5257 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5258 1000, 0, 2.0);
5260 rap_vs_Pt_InM_all_6 = new TH1D("rap_vs_Pt_InM_all_6",
5261 "rapidity = (1.2-1.6) P_{t} = (0.5-0.6 "
5262 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5263 1000, 0, 2.0);
5265 rap_vs_Pt_InM_all_7 = new TH1D("rap_vs_Pt_InM_all_7",
5266 "rapidity = (1.2-1.6) P_{t} = (0.6-0.7 "
5267 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5268 1000, 0, 2.0);
5270 rap_vs_Pt_InM_all_8 = new TH1D("rap_vs_Pt_InM_all_8",
5271 "rapidity = (1.2-1.6) P_{t} = (0.7-0.8 "
5272 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5273 1000, 0, 2.0);
5275 rap_vs_Pt_InM_all_9 = new TH1D("rap_vs_Pt_InM_all_9",
5276 "rapidity = (1.2-1.6) P_{t} = (0.8-0.9 "
5277 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5278 1000, 0, 2.0);
5280 rap_vs_Pt_InM_all_10 = new TH1D("rap_vs_Pt_InM_all_10",
5281 "rapidity = (1.2-1.6) P_{t} = (0.9-1.0 "
5282 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5283 1000, 0, 2.0);
5285 rap_vs_Pt_InM_all_11 = new TH1D("rap_vs_Pt_InM_all_11",
5286 "rapidity = (1.2-1.6) P_{t} = (1.0-1.1 "
5287 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5288 1000, 0, 2.0);
5290 rap_vs_Pt_InM_all_12 = new TH1D("rap_vs_Pt_InM_all_12",
5291 "rapidity = (1.2-1.6) P_{t} = (1.1-1.2 "
5292 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5293 1000, 0, 2.0);
5295 rap_vs_Pt_InM_all_13 = new TH1D("rap_vs_Pt_InM_all_13",
5296 "rapidity = (1.2-1.6) P_{t} = (1.2-1.3 "
5297 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5298 1000, 0, 2.0);
5300 rap_vs_Pt_InM_all_14 = new TH1D("rap_vs_Pt_InM_all_14",
5301 "rapidity = (1.2-1.6) P_{t} = (1.3-1.4 "
5302 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5303 1000, 0, 2.0);
5305 rap_vs_Pt_InM_all_15 = new TH1D("rap_vs_Pt_InM_all_15",
5306 "rapidity = (1.2-1.6) P_{t} = (1.4-1.5 "
5307 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5308 1000, 0, 2.0);
5310 rap_vs_Pt_InM_all_16 = new TH1D("rap_vs_Pt_InM_all_16",
5311 "rapidity = (1.2-1.6) P_{t} = (1.5-1.6 "
5312 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5313 1000, 0, 2.0);
5315 rap_vs_Pt_InM_all_17 = new TH1D("rap_vs_Pt_InM_all_17",
5316 "rapidity = (1.2-1.6) P_{t} = (1.6-1.7 "
5317 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5318 1000, 0, 2.0);
5320 rap_vs_Pt_InM_all_18 = new TH1D("rap_vs_Pt_InM_all_18",
5321 "rapidity = (1.2-1.6) P_{t} = (1.7-1.8 "
5322 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5323 1000, 0, 2.0);
5325 rap_vs_Pt_InM_all_19 = new TH1D("rap_vs_Pt_InM_all_19",
5326 "rapidity = (1.2-1.6) P_{t} = (1.8-1.9 "
5327 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5328 1000, 0, 2.0);
5330 rap_vs_Pt_InM_all_20 = new TH1D("rap_vs_Pt_InM_all_20",
5331 "rapidity = (1.2-1.6) P_{t} = (1.9-2.0 "
5332 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5333 1000, 0, 2.0);
5335 rap_vs_Pt_InM_all_21 = new TH1D("rap_vs_Pt_InM_all_21",
5336 "rapidity = (1.6-2.0) P_{t} = (0.0-0.1 "
5337 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5338 1000, 0, 2.0);
5340 rap_vs_Pt_InM_all_22 = new TH1D("rap_vs_Pt_InM_all_22",
5341 "rapidity = (1.6-2.0) P_{t} = (0.1-0.2 "
5342 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5343 1000, 0, 2.0);
5345 rap_vs_Pt_InM_all_23 = new TH1D("rap_vs_Pt_InM_all_23",
5346 "rapidity = (1.6-2.0) P_{t} = (0.2-0.3 "
5347 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5348 1000, 0, 2.0);
5350 rap_vs_Pt_InM_all_24 = new TH1D("rap_vs_Pt_InM_all_24",
5351 "rapidity = (1.6-2.0) P_{t} = (0.3-0.4 "
5352 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5353 1000, 0, 2.0);
5355 rap_vs_Pt_InM_all_25 = new TH1D("rap_vs_Pt_InM_all_25",
5356 "rapidity = (1.6-2.0) P_{t} = (0.4-0.5 "
5357 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5358 1000, 0, 2.0);
5360 rap_vs_Pt_InM_all_26 = new TH1D("rap_vs_Pt_InM_all_26",
5361 "rapidity = (1.6-2.0) P_{t} = (0.5-0.6 "
5362 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5363 1000, 0, 2.0);
5365 rap_vs_Pt_InM_all_27 = new TH1D("rap_vs_Pt_InM_all_27",
5366 "rapidity = (1.6-2.0) P_{t} = (0.6-0.7 "
5367 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5368 1000, 0, 2.0);
5370 rap_vs_Pt_InM_all_28 = new TH1D("rap_vs_Pt_InM_all_28",
5371 "rapidity = (1.6-2.0) P_{t} = (0.7-0.8 "
5372 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5373 1000, 0, 2.0);
5375 rap_vs_Pt_InM_all_29 = new TH1D("rap_vs_Pt_InM_all_29",
5376 "rapidity = (1.6-2.0) P_{t} = (0.8-0.9 "
5377 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5378 1000, 0, 2.0);
5380 rap_vs_Pt_InM_all_30 = new TH1D("rap_vs_Pt_InM_all_30",
5381 "rapidity = (1.6-2.0) P_{t} = (0.9-1.0 "
5382 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5383 1000, 0, 2.0);
5385 rap_vs_Pt_InM_all_31 = new TH1D("rap_vs_Pt_InM_all_31",
5386 "rapidity = (1.6-2.0) P_{t} = (1.0-1.1 "
5387 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5388 1000, 0, 2.0);
5390 rap_vs_Pt_InM_all_32 = new TH1D("rap_vs_Pt_InM_all_32",
5391 "rapidity = (1.6-2.0) P_{t} = (1.1-1.2 "
5392 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5393 1000, 0, 2.0);
5395 rap_vs_Pt_InM_all_33 = new TH1D("rap_vs_Pt_InM_all_33",
5396 "rapidity = (1.6-2.0) P_{t} = (1.2-1.3 "
5397 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5398 1000, 0, 2.0);
5400 rap_vs_Pt_InM_all_34 = new TH1D("rap_vs_Pt_InM_all_34",
5401 "rapidity = (1.6-2.0) P_{t} = (1.3-1.4 "
5402 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5403 1000, 0, 2.0);
5405 rap_vs_Pt_InM_all_35 = new TH1D("rap_vs_Pt_InM_all_35",
5406 "rapidity = (1.6-2.0) P_{t} = (1.4-1.5 "
5407 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5408 1000, 0, 2.0);
5410 rap_vs_Pt_InM_all_36 = new TH1D("rap_vs_Pt_InM_all_36",
5411 "rapidity = (1.6-2.0) P_{t} = (1.5-1.6 "
5412 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5413 1000, 0, 2.0);
5415 rap_vs_Pt_InM_all_37 = new TH1D("rap_vs_Pt_InM_all_37",
5416 "rapidity = (1.6-2.0) P_{t} = (1.6-1.7 "
5417 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5418 1000, 0, 2.0);
5420 rap_vs_Pt_InM_all_38 = new TH1D("rap_vs_Pt_InM_all_38",
5421 "rapidity = (1.6-2.0) P_{t} = (1.7-1.8 "
5422 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5423 1000, 0, 2.0);
5425 rap_vs_Pt_InM_all_39 = new TH1D("rap_vs_Pt_InM_all_39",
5426 "rapidity = (1.6-2.0) P_{t} = (1.8-1.9 "
5427 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5428 1000, 0, 2.0);
5430 rap_vs_Pt_InM_all_40 = new TH1D("rap_vs_Pt_InM_all_40",
5431 "rapidity = (1.6-2.0) P_{t} = (1.9-2.0 "
5432 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5433 1000, 0, 2.0);
5435 rap_vs_Pt_InM_all_41 = new TH1D("rap_vs_Pt_InM_all_41",
5436 "rapidity = (2.0-2.4) P_{t} = (0.0-0.1 "
5437 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5438 1000, 0, 2.0);
5440 rap_vs_Pt_InM_all_42 = new TH1D("rap_vs_Pt_InM_all_42",
5441 "rapidity = (2.0-2.4) P_{t} = (0.1-0.2 "
5442 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5443 1000, 0, 2.0);
5445 rap_vs_Pt_InM_all_43 = new TH1D("rap_vs_Pt_InM_all_43",
5446 "rapidity = (2.0-2.4) P_{t} = (0.2-0.3 "
5447 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5448 1000, 0, 2.0);
5450 rap_vs_Pt_InM_all_44 = new TH1D("rap_vs_Pt_InM_all_44",
5451 "rapidity = (2.0-2.4) P_{t} = (0.3-0.4 "
5452 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5453 1000, 0, 2.0);
5455 rap_vs_Pt_InM_all_45 = new TH1D("rap_vs_Pt_InM_all_45",
5456 "rapidity = (2.0-2.4) P_{t} = (0.4-0.5 "
5457 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5458 1000, 0, 2.0);
5460 rap_vs_Pt_InM_all_46 = new TH1D("rap_vs_Pt_InM_all_46",
5461 "rapidity = (2.0-2.4) P_{t} = (0.5-0.6 "
5462 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5463 1000, 0, 2.0);
5465 rap_vs_Pt_InM_all_47 = new TH1D("rap_vs_Pt_InM_all_47",
5466 "rapidity = (2.0-2.4) P_{t} = (0.6-0.7 "
5467 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5468 1000, 0, 2.0);
5470 rap_vs_Pt_InM_all_48 = new TH1D("rap_vs_Pt_InM_all_48",
5471 "rapidity = (2.0-2.4) P_{t} = (0.7-0.8 "
5472 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5473 1000, 0, 2.0);
5475 rap_vs_Pt_InM_all_49 = new TH1D("rap_vs_Pt_InM_all_49",
5476 "rapidity = (2.0-2.4) P_{t} = (0.8-0.9 "
5477 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5478 1000, 0, 2.0);
5480 rap_vs_Pt_InM_all_50 = new TH1D("rap_vs_Pt_InM_all_50",
5481 "rapidity = (2.0-2.4) P_{t} = (0.9-1.0 "
5482 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5483 1000, 0, 2.0);
5485 rap_vs_Pt_InM_all_51 = new TH1D("rap_vs_Pt_InM_all_51",
5486 "rapidity = (2.0-2.4) P_{t} = (1.0-1.1 "
5487 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5488 1000, 0, 2.0);
5490 rap_vs_Pt_InM_all_52 = new TH1D("rap_vs_Pt_InM_all_52",
5491 "rapidity = (2.0-2.4) P_{t} = (1.1-1.2 "
5492 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5493 1000, 0, 2.0);
5495 rap_vs_Pt_InM_all_53 = new TH1D("rap_vs_Pt_InM_all_53",
5496 "rapidity = (2.0-2.4) P_{t} = (1.2-1.3 "
5497 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5498 1000, 0, 2.0);
5500 rap_vs_Pt_InM_all_54 = new TH1D("rap_vs_Pt_InM_all_54",
5501 "rapidity = (2.0-2.4) P_{t} = (1.3-1.4 "
5502 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5503 1000, 0, 2.0);
5505 rap_vs_Pt_InM_all_55 = new TH1D("rap_vs_Pt_InM_all_55",
5506 "rapidity = (2.0-2.4) P_{t} = (1.4-1.5 "
5507 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5508 1000, 0, 2.0);
5510 rap_vs_Pt_InM_all_56 = new TH1D("rap_vs_Pt_InM_all_56",
5511 "rapidity = (2.0-2.4) P_{t} = (1.5-1.6 "
5512 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5513 1000, 0, 2.0);
5515 rap_vs_Pt_InM_all_57 = new TH1D("rap_vs_Pt_InM_all_57",
5516 "rapidity = (2.0-2.4) P_{t} = (1.6-1.7 "
5517 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5518 1000, 0, 2.0);
5520 rap_vs_Pt_InM_all_58 = new TH1D("rap_vs_Pt_InM_all_58",
5521 "rapidity = (2.0-2.4) P_{t} = (1.7-1.8 "
5522 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5523 1000, 0, 2.0);
5525 rap_vs_Pt_InM_all_59 = new TH1D("rap_vs_Pt_InM_all_59",
5526 "rapidity = (2.0-2.4) P_{t} = (1.8-1.9 "
5527 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5528 1000, 0, 2.0);
5530 rap_vs_Pt_InM_all_60 = new TH1D("rap_vs_Pt_InM_all_60",
5531 "rapidity = (2.0-2.4) P_{t} = (1.9-2.0 "
5532 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5533 1000, 0, 2.0);
5535 rap_vs_Pt_InM_all_61 = new TH1D("rap_vs_Pt_InM_all_61",
5536 "rapidity = (2.4-2.8) P_{t} = (0.0-0.1 "
5537 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5538 1000, 0, 2.0);
5540 rap_vs_Pt_InM_all_62 = new TH1D("rap_vs_Pt_InM_all_62",
5541 "rapidity = (2.4-2.8) P_{t} = (0.1-0.2 "
5542 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5543 1000, 0, 2.0);
5545 rap_vs_Pt_InM_all_63 = new TH1D("rap_vs_Pt_InM_all_63",
5546 "rapidity = (2.4-2.8) P_{t} = (0.2-0.3 "
5547 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5548 1000, 0, 2.0);
5550 rap_vs_Pt_InM_all_64 = new TH1D("rap_vs_Pt_InM_all_64",
5551 "rapidity = (2.4-2.8) P_{t} = (0.3-0.4 "
5552 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5553 1000, 0, 2.0);
5555 rap_vs_Pt_InM_all_65 = new TH1D("rap_vs_Pt_InM_all_65",
5556 "rapidity = (2.4-2.8) P_{t} = (0.4-0.5 "
5557 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5558 1000, 0, 2.0);
5560 rap_vs_Pt_InM_all_66 = new TH1D("rap_vs_Pt_InM_all_66",
5561 "rapidity = (2.4-2.8) P_{t} = (0.5-0.6 "
5562 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5563 1000, 0, 2.0);
5565 rap_vs_Pt_InM_all_67 = new TH1D("rap_vs_Pt_InM_all_67",
5566 "rapidity = (2.4-2.8) P_{t} = (0.6-0.7 "
5567 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5568 1000, 0, 2.0);
5570 rap_vs_Pt_InM_all_68 = new TH1D("rap_vs_Pt_InM_all_68",
5571 "rapidity = (2.4-2.8) P_{t} = (0.7-0.8 "
5572 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5573 1000, 0, 2.0);
5575 rap_vs_Pt_InM_all_69 = new TH1D("rap_vs_Pt_InM_all_69",
5576 "rapidity = (2.4-2.8) P_{t} = (0.8-0.9 "
5577 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5578 1000, 0, 2.0);
5580 rap_vs_Pt_InM_all_70 = new TH1D("rap_vs_Pt_InM_all_70",
5581 "rapidity = (2.4-2.8) P_{t} = (0.9-1.0 "
5582 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5583 1000, 0, 2.0);
5585 rap_vs_Pt_InM_all_71 = new TH1D("rap_vs_Pt_InM_all_71",
5586 "rapidity = (2.4-2.8) P_{t} = (1.0-1.1 "
5587 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5588 1000, 0, 2.0);
5590 rap_vs_Pt_InM_all_72 = new TH1D("rap_vs_Pt_InM_all_72",
5591 "rapidity = (2.4-2.8) P_{t} = (1.1-1.2 "
5592 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5593 1000, 0, 2.0);
5595 rap_vs_Pt_InM_all_73 = new TH1D("rap_vs_Pt_InM_all_73",
5596 "rapidity = (2.4-2.8) P_{t} = (1.2-1.3 "
5597 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5598 1000, 0, 2.0);
5600 rap_vs_Pt_InM_all_74 = new TH1D("rap_vs_Pt_InM_all_74",
5601 "rapidity = (2.4-2.8) P_{t} = (1.3-1.4 "
5602 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5603 1000, 0, 2.0);
5605 rap_vs_Pt_InM_all_75 = new TH1D("rap_vs_Pt_InM_all_75",
5606 "rapidity = (2.4-2.8) P_{t} = (1.4-1.5 "
5607 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5608 1000, 0, 2.0);
5610 rap_vs_Pt_InM_all_76 = new TH1D("rap_vs_Pt_InM_all_76",
5611 "rapidity = (2.4-2.8) P_{t} = (1.5-1.6 "
5612 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5613 1000, 0, 2.0);
5615 rap_vs_Pt_InM_all_81 = new TH1D("rap_vs_Pt_InM_all_81",
5616 "rapidity = (2.8-3.2) P_{t} = (0.0-0.1 "
5617 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5618 1000, 0, 2.0);
5620 rap_vs_Pt_InM_all_82 = new TH1D("rap_vs_Pt_InM_all_82",
5621 "rapidity = (2.8-3.2) P_{t} = (0.1-0.2 "
5622 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5623 1000, 0, 2.0);
5625 rap_vs_Pt_InM_all_83 = new TH1D("rap_vs_Pt_InM_all_83",
5626 "rapidity = (2.8-3.2) P_{t} = (0.2-0.3 "
5627 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5628 1000, 0, 2.0);
5630 rap_vs_Pt_InM_all_84 = new TH1D("rap_vs_Pt_InM_all_84",
5631 "rapidity = (2.8-3.2) P_{t} = (0.3-0.4 "
5632 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5633 1000, 0, 2.0);
5635 rap_vs_Pt_InM_all_85 = new TH1D("rap_vs_Pt_InM_all_85",
5636 "rapidity = (2.8-3.2) P_{t} = (0.4-0.5 "
5637 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5638 1000, 0, 2.0);
5640 rap_vs_Pt_InM_all_86 = new TH1D("rap_vs_Pt_InM_all_86",
5641 "rapidity = (2.8-3.2) P_{t} = (0.5-0.6 "
5642 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5643 1000, 0, 2.0);
5645 rap_vs_Pt_InM_all_87 = new TH1D("rap_vs_Pt_InM_all_87",
5646 "rapidity = (2.8-3.2) P_{t} = (0.6-0.7 "
5647 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5648 1000, 0, 2.0);
5650 rap_vs_Pt_InM_all_88 = new TH1D("rap_vs_Pt_InM_all_88",
5651 "rapidity = (2.8-3.2) P_{t} = (0.7-0.8 "
5652 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5653 1000, 0, 2.0);
5655 rap_vs_Pt_InM_all_89 = new TH1D("rap_vs_Pt_InM_all_89",
5656 "rapidity = (2.8-3.2) P_{t} = (0.8-0.9 "
5657 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5658 1000, 0, 2.0);
5660 rap_vs_Pt_InM_all_90 = new TH1D("rap_vs_Pt_InM_all_90",
5661 "rapidity = (2.8-3.2) P_{t} = (0.9-1.0 "
5662 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5663 1000, 0, 2.0);
5665 rap_vs_Pt_InM_all_91 = new TH1D("rap_vs_Pt_InM_all_91",
5666 "rapidity = (2.8-3.2) P_{t} = (1.0-1.1 "
5667 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5668 1000, 0, 2.0);
5670 rap_vs_Pt_InM_all_92 = new TH1D("rap_vs_Pt_InM_all_92",
5671 "rapidity = (2.8-3.2) P_{t} = (1.1-1.2 "
5672 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5673 1000, 0, 2.0);
5675 rap_vs_Pt_InM_all_101 = new TH1D("rap_vs_Pt_InM_all_101",
5676 "rapidity = (3.2-3.6) P_{t} = (0.0-0.1 "
5677 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5678 1000, 0, 2.0);
5680 rap_vs_Pt_InM_all_102 = new TH1D("rap_vs_Pt_InM_all_102",
5681 "rapidity = (3.2-3.6) P_{t} = (0.1-0.2 "
5682 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5683 1000, 0, 2.0);
5685 rap_vs_Pt_InM_all_103 = new TH1D("rap_vs_Pt_InM_all_103",
5686 "rapidity = (3.2-3.6) P_{t} = (0.2-0.3 "
5687 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5688 1000, 0, 2.0);
5690 rap_vs_Pt_InM_all_104 = new TH1D("rap_vs_Pt_InM_all_104",
5691 "rapidity = (3.2-3.6) P_{t} = (0.3-0.4 "
5692 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5693 1000, 0, 2.0);
5695 rap_vs_Pt_InM_all_105 = new TH1D("rap_vs_Pt_InM_all_105",
5696 "rapidity = (3.2-3.6) P_{t} = (0.4-0.5 "
5697 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5698 1000, 0, 2.0);
5700 rap_vs_Pt_InM_all_106 = new TH1D("rap_vs_Pt_InM_all_106",
5701 "rapidity = (3.2-3.6) P_{t} = (0.5-0.6 "
5702 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5703 1000, 0, 2.0);
5705 rap_vs_Pt_InM_all_107 = new TH1D("rap_vs_Pt_InM_all_107",
5706 "rapidity = (3.2-3.6) P_{t} = (0.6-0.7 "
5707 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5708 1000, 0, 2.0);
5710 rap_vs_Pt_InM_all_108 = new TH1D("rap_vs_Pt_InM_all_108",
5711 "rapidity = (3.2-3.6) P_{t} = (0.7-0.8 "
5712 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5713 1000, 0, 2.0);
5715 rap_vs_Pt_InM_all_111 = new TH1D("rap_vs_Pt_InM_all_111",
5716 "rapidity = (3.6-4.0) P_{t} = (0.0-0.1 "
5717 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5718 1000, 0, 2.0);
5720 rap_vs_Pt_InM_all_112 = new TH1D("rap_vs_Pt_InM_all_112",
5721 "rapidity = (3.6-4.0) P_{t} = (0.1-0.2 "
5722 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5723 1000, 0, 2.0);
5725 rap_vs_Pt_InM_all_113 = new TH1D("rap_vs_Pt_InM_all_113",
5726 "rapidity = (3.6-4.0) P_{t} = (0.2-0.3 "
5727 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5728 1000, 0, 2.0);
5730 rap_vs_Pt_InM_all_114 = new TH1D("rap_vs_Pt_InM_all_114",
5731 "rapidity = (3.6-4.0) P_{t} = (0.3-0.4 "
5732 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5733 1000, 0, 2.0);
5735
5736 rap_vs_Pt_InM_all_mixing_1 = new TH1D("rap_vs_Pt_InM_all_mixing_1",
5737 "rapidity = (1.2-1.6) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5738 "mass in GeV/c^{2};#",
5739 1000, 0, 2.0);
5741 rap_vs_Pt_InM_all_mixing_2 = new TH1D("rap_vs_Pt_InM_all_mixing_2",
5742 "rapidity = (1.2-1.6) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5743 "mass in GeV/c^{2};#",
5744 1000, 0, 2.0);
5746 rap_vs_Pt_InM_all_mixing_3 = new TH1D("rap_vs_Pt_InM_all_mixing_3",
5747 "rapidity = (1.2-1.6) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5748 "mass in GeV/c^{2};#",
5749 1000, 0, 2.0);
5751 rap_vs_Pt_InM_all_mixing_4 = new TH1D("rap_vs_Pt_InM_all_mixing_4",
5752 "rapidity = (1.2-1.6) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5753 "mass in GeV/c^{2};#",
5754 1000, 0, 2.0);
5756 rap_vs_Pt_InM_all_mixing_5 = new TH1D("rap_vs_Pt_InM_all_mixing_5",
5757 "rapidity = (1.2-1.6) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
5758 "mass in GeV/c^{2};#",
5759 1000, 0, 2.0);
5761 rap_vs_Pt_InM_all_mixing_6 = new TH1D("rap_vs_Pt_InM_all_mixing_6",
5762 "rapidity = (1.2-1.6) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
5763 "mass in GeV/c^{2};#",
5764 1000, 0, 2.0);
5766 rap_vs_Pt_InM_all_mixing_7 = new TH1D("rap_vs_Pt_InM_all_mixing_7",
5767 "rapidity = (1.2-1.6) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
5768 "mass in GeV/c^{2};#",
5769 1000, 0, 2.0);
5771 rap_vs_Pt_InM_all_mixing_8 = new TH1D("rap_vs_Pt_InM_all_mixing_8",
5772 "rapidity = (1.2-1.6) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
5773 "mass in GeV/c^{2};#",
5774 1000, 0, 2.0);
5776 rap_vs_Pt_InM_all_mixing_9 = new TH1D("rap_vs_Pt_InM_all_mixing_9",
5777 "rapidity = (1.2-1.6) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
5778 "mass in GeV/c^{2};#",
5779 1000, 0, 2.0);
5781 rap_vs_Pt_InM_all_mixing_10 = new TH1D("rap_vs_Pt_InM_all_mixing_10",
5782 "rapidity = (1.2-1.6) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
5783 "mass in GeV/c^{2};#",
5784 1000, 0, 2.0);
5786 rap_vs_Pt_InM_all_mixing_11 = new TH1D("rap_vs_Pt_InM_all_mixing_11",
5787 "rapidity = (1.2-1.6) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
5788 "mass in GeV/c^{2};#",
5789 1000, 0, 2.0);
5791 rap_vs_Pt_InM_all_mixing_12 = new TH1D("rap_vs_Pt_InM_all_mixing_12",
5792 "rapidity = (1.2-1.6) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
5793 "mass in GeV/c^{2};#",
5794 1000, 0, 2.0);
5796 rap_vs_Pt_InM_all_mixing_13 = new TH1D("rap_vs_Pt_InM_all_mixing_13",
5797 "rapidity = (1.2-1.6) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
5798 "mass in GeV/c^{2};#",
5799 1000, 0, 2.0);
5801 rap_vs_Pt_InM_all_mixing_14 = new TH1D("rap_vs_Pt_InM_all_mixing_14",
5802 "rapidity = (1.2-1.6) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
5803 "mass in GeV/c^{2};#",
5804 1000, 0, 2.0);
5806 rap_vs_Pt_InM_all_mixing_15 = new TH1D("rap_vs_Pt_InM_all_mixing_15",
5807 "rapidity = (1.2-1.6) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
5808 "mass in GeV/c^{2};#",
5809 1000, 0, 2.0);
5811 rap_vs_Pt_InM_all_mixing_16 = new TH1D("rap_vs_Pt_InM_all_mixing_16",
5812 "rapidity = (1.2-1.6) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
5813 "mass in GeV/c^{2};#",
5814 1000, 0, 2.0);
5816 rap_vs_Pt_InM_all_mixing_17 = new TH1D("rap_vs_Pt_InM_all_mixing_17",
5817 "rapidity = (1.2-1.6) P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant "
5818 "mass in GeV/c^{2};#",
5819 1000, 0, 2.0);
5821 rap_vs_Pt_InM_all_mixing_18 = new TH1D("rap_vs_Pt_InM_all_mixing_18",
5822 "rapidity = (1.2-1.6) P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant "
5823 "mass in GeV/c^{2};#",
5824 1000, 0, 2.0);
5826 rap_vs_Pt_InM_all_mixing_19 = new TH1D("rap_vs_Pt_InM_all_mixing_19",
5827 "rapidity = (1.2-1.6) P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant "
5828 "mass in GeV/c^{2};#",
5829 1000, 0, 2.0);
5831 rap_vs_Pt_InM_all_mixing_20 = new TH1D("rap_vs_Pt_InM_all_mixing_20",
5832 "rapidity = (1.2-1.6) P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant "
5833 "mass in GeV/c^{2};#",
5834 1000, 0, 2.0);
5836 rap_vs_Pt_InM_all_mixing_21 = new TH1D("rap_vs_Pt_InM_all_mixing_21",
5837 "rapidity = (1.6-2.0) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5838 "mass in GeV/c^{2};#",
5839 1000, 0, 2.0);
5841 rap_vs_Pt_InM_all_mixing_22 = new TH1D("rap_vs_Pt_InM_all_mixing_22",
5842 "rapidity = (1.6-2.0) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5843 "mass in GeV/c^{2};#",
5844 1000, 0, 2.0);
5846 rap_vs_Pt_InM_all_mixing_23 = new TH1D("rap_vs_Pt_InM_all_mixing_23",
5847 "rapidity = (1.6-2.0) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5848 "mass in GeV/c^{2};#",
5849 1000, 0, 2.0);
5851 rap_vs_Pt_InM_all_mixing_24 = new TH1D("rap_vs_Pt_InM_all_mixing_24",
5852 "rapidity = (1.6-2.0) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5853 "mass in GeV/c^{2};#",
5854 1000, 0, 2.0);
5856 rap_vs_Pt_InM_all_mixing_25 = new TH1D("rap_vs_Pt_InM_all_mixing_25",
5857 "rapidity = (1.6-2.0) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
5858 "mass in GeV/c^{2};#",
5859 1000, 0, 2.0);
5861 rap_vs_Pt_InM_all_mixing_26 = new TH1D("rap_vs_Pt_InM_all_mixing_26",
5862 "rapidity = (1.6-2.0) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
5863 "mass in GeV/c^{2};#",
5864 1000, 0, 2.0);
5866 rap_vs_Pt_InM_all_mixing_27 = new TH1D("rap_vs_Pt_InM_all_mixing_27",
5867 "rapidity = (1.6-2.0) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
5868 "mass in GeV/c^{2};#",
5869 1000, 0, 2.0);
5871 rap_vs_Pt_InM_all_mixing_28 = new TH1D("rap_vs_Pt_InM_all_mixing_28",
5872 "rapidity = (1.6-2.0) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
5873 "mass in GeV/c^{2};#",
5874 1000, 0, 2.0);
5876 rap_vs_Pt_InM_all_mixing_29 = new TH1D("rap_vs_Pt_InM_all_mixing_29",
5877 "rapidity = (1.6-2.0) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
5878 "mass in GeV/c^{2};#",
5879 1000, 0, 2.0);
5881 rap_vs_Pt_InM_all_mixing_30 = new TH1D("rap_vs_Pt_InM_all_mixing_30",
5882 "rapidity = (1.6-2.0) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
5883 "mass in GeV/c^{2};#",
5884 1000, 0, 2.0);
5886 rap_vs_Pt_InM_all_mixing_31 = new TH1D("rap_vs_Pt_InM_all_mixing_31",
5887 "rapidity = (1.6-2.0) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
5888 "mass in GeV/c^{2};#",
5889 1000, 0, 2.0);
5891 rap_vs_Pt_InM_all_mixing_32 = new TH1D("rap_vs_Pt_InM_all_mixing_32",
5892 "rapidity = (1.6-2.0) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
5893 "mass in GeV/c^{2};#",
5894 1000, 0, 2.0);
5896 rap_vs_Pt_InM_all_mixing_33 = new TH1D("rap_vs_Pt_InM_all_mixing_33",
5897 "rapidity = (1.6-2.0) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
5898 "mass in GeV/c^{2};#",
5899 1000, 0, 2.0);
5901 rap_vs_Pt_InM_all_mixing_34 = new TH1D("rap_vs_Pt_InM_all_mixing_34",
5902 "rapidity = (1.6-2.0) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
5903 "mass in GeV/c^{2};#",
5904 1000, 0, 2.0);
5906 rap_vs_Pt_InM_all_mixing_35 = new TH1D("rap_vs_Pt_InM_all_mixing_35",
5907 "rapidity = (1.6-2.0) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
5908 "mass in GeV/c^{2};#",
5909 1000, 0, 2.0);
5911 rap_vs_Pt_InM_all_mixing_36 = new TH1D("rap_vs_Pt_InM_all_mixing_36",
5912 "rapidity = (1.6-2.0) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
5913 "mass in GeV/c^{2};#",
5914 1000, 0, 2.0);
5916 rap_vs_Pt_InM_all_mixing_37 = new TH1D("rap_vs_Pt_InM_all_mixing_37",
5917 "rapidity = (1.6-2.0) P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant "
5918 "mass in GeV/c^{2};#",
5919 1000, 0, 2.0);
5921 rap_vs_Pt_InM_all_mixing_38 = new TH1D("rap_vs_Pt_InM_all_mixing_38",
5922 "rapidity = (1.6-2.0) P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant "
5923 "mass in GeV/c^{2};#",
5924 1000, 0, 2.0);
5926 rap_vs_Pt_InM_all_mixing_39 = new TH1D("rap_vs_Pt_InM_all_mixing_39",
5927 "rapidity = (1.6-2.0) P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant "
5928 "mass in GeV/c^{2};#",
5929 1000, 0, 2.0);
5931 rap_vs_Pt_InM_all_mixing_40 = new TH1D("rap_vs_Pt_InM_all_mixing_40",
5932 "rapidity = (1.6-2.0) P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant "
5933 "mass in GeV/c^{2};#",
5934 1000, 0, 2.0);
5936 rap_vs_Pt_InM_all_mixing_41 = new TH1D("rap_vs_Pt_InM_all_mixing_41",
5937 "rapidity = (2.0-2.4) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5938 "mass in GeV/c^{2};#",
5939 1000, 0, 2.0);
5941 rap_vs_Pt_InM_all_mixing_42 = new TH1D("rap_vs_Pt_InM_all_mixing_42",
5942 "rapidity = (2.0-2.4) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5943 "mass in GeV/c^{2};#",
5944 1000, 0, 2.0);
5946 rap_vs_Pt_InM_all_mixing_43 = new TH1D("rap_vs_Pt_InM_all_mixing_43",
5947 "rapidity = (2.0-2.4) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5948 "mass in GeV/c^{2};#",
5949 1000, 0, 2.0);
5951 rap_vs_Pt_InM_all_mixing_44 = new TH1D("rap_vs_Pt_InM_all_mixing_44",
5952 "rapidity = (2.0-2.4) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5953 "mass in GeV/c^{2};#",
5954 1000, 0, 2.0);
5956 rap_vs_Pt_InM_all_mixing_45 = new TH1D("rap_vs_Pt_InM_all_mixing_45",
5957 "rapidity = (2.0-2.4) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
5958 "mass in GeV/c^{2};#",
5959 1000, 0, 2.0);
5961 rap_vs_Pt_InM_all_mixing_46 = new TH1D("rap_vs_Pt_InM_all_mixing_46",
5962 "rapidity = (2.0-2.4) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
5963 "mass in GeV/c^{2};#",
5964 1000, 0, 2.0);
5966 rap_vs_Pt_InM_all_mixing_47 = new TH1D("rap_vs_Pt_InM_all_mixing_47",
5967 "rapidity = (2.0-2.4) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
5968 "mass in GeV/c^{2};#",
5969 1000, 0, 2.0);
5971 rap_vs_Pt_InM_all_mixing_48 = new TH1D("rap_vs_Pt_InM_all_mixing_48",
5972 "rapidity = (2.0-2.4) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
5973 "mass in GeV/c^{2};#",
5974 1000, 0, 2.0);
5976 rap_vs_Pt_InM_all_mixing_49 = new TH1D("rap_vs_Pt_InM_all_mixing_49",
5977 "rapidity = (2.0-2.4) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
5978 "mass in GeV/c^{2};#",
5979 1000, 0, 2.0);
5981 rap_vs_Pt_InM_all_mixing_50 = new TH1D("rap_vs_Pt_InM_all_mixing_50",
5982 "rapidity = (2.0-2.4) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
5983 "mass in GeV/c^{2};#",
5984 1000, 0, 2.0);
5986 rap_vs_Pt_InM_all_mixing_51 = new TH1D("rap_vs_Pt_InM_all_mixing_51",
5987 "rapidity = (2.0-2.4) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
5988 "mass in GeV/c^{2};#",
5989 1000, 0, 2.0);
5991 rap_vs_Pt_InM_all_mixing_52 = new TH1D("rap_vs_Pt_InM_all_mixing_52",
5992 "rapidity = (2.0-2.4) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
5993 "mass in GeV/c^{2};#",
5994 1000, 0, 2.0);
5996 rap_vs_Pt_InM_all_mixing_53 = new TH1D("rap_vs_Pt_InM_all_mixing_53",
5997 "rapidity = (2.0-2.4) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
5998 "mass in GeV/c^{2};#",
5999 1000, 0, 2.0);
6001 rap_vs_Pt_InM_all_mixing_54 = new TH1D("rap_vs_Pt_InM_all_mixing_54",
6002 "rapidity = (2.0-2.4) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
6003 "mass in GeV/c^{2};#",
6004 1000, 0, 2.0);
6006 rap_vs_Pt_InM_all_mixing_55 = new TH1D("rap_vs_Pt_InM_all_mixing_55",
6007 "rapidity = (2.0-2.4) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
6008 "mass in GeV/c^{2};#",
6009 1000, 0, 2.0);
6011 rap_vs_Pt_InM_all_mixing_56 = new TH1D("rap_vs_Pt_InM_all_mixing_56",
6012 "rapidity = (2.0-2.4) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
6013 "mass in GeV/c^{2};#",
6014 1000, 0, 2.0);
6016 rap_vs_Pt_InM_all_mixing_57 = new TH1D("rap_vs_Pt_InM_all_mixing_57",
6017 "rapidity = (2.0-2.4) P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant "
6018 "mass in GeV/c^{2};#",
6019 1000, 0, 2.0);
6021 rap_vs_Pt_InM_all_mixing_58 = new TH1D("rap_vs_Pt_InM_all_mixing_58",
6022 "rapidity = (2.0-2.4) P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant "
6023 "mass in GeV/c^{2};#",
6024 1000, 0, 2.0);
6026 rap_vs_Pt_InM_all_mixing_59 = new TH1D("rap_vs_Pt_InM_all_mixing_59",
6027 "rapidity = (2.0-2.4) P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant "
6028 "mass in GeV/c^{2};#",
6029 1000, 0, 2.0);
6031 rap_vs_Pt_InM_all_mixing_60 = new TH1D("rap_vs_Pt_InM_all_mixing_60",
6032 "rapidity = (2.0-2.4) P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant "
6033 "mass in GeV/c^{2};#",
6034 1000, 0, 2.0);
6036 rap_vs_Pt_InM_all_mixing_61 = new TH1D("rap_vs_Pt_InM_all_mixing_61",
6037 "rapidity = (2.4-2.8) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
6038 "mass in GeV/c^{2};#",
6039 1000, 0, 2.0);
6041 rap_vs_Pt_InM_all_mixing_62 = new TH1D("rap_vs_Pt_InM_all_mixing_62",
6042 "rapidity = (2.4-2.8) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
6043 "mass in GeV/c^{2};#",
6044 1000, 0, 2.0);
6046 rap_vs_Pt_InM_all_mixing_63 = new TH1D("rap_vs_Pt_InM_all_mixing_63",
6047 "rapidity = (2.4-2.8) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
6048 "mass in GeV/c^{2};#",
6049 1000, 0, 2.0);
6051 rap_vs_Pt_InM_all_mixing_64 = new TH1D("rap_vs_Pt_InM_all_mixing_64",
6052 "rapidity = (2.4-2.8) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
6053 "mass in GeV/c^{2};#",
6054 1000, 0, 2.0);
6056 rap_vs_Pt_InM_all_mixing_65 = new TH1D("rap_vs_Pt_InM_all_mixing_65",
6057 "rapidity = (2.4-2.8) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
6058 "mass in GeV/c^{2};#",
6059 1000, 0, 2.0);
6061 rap_vs_Pt_InM_all_mixing_66 = new TH1D("rap_vs_Pt_InM_all_mixing_66",
6062 "rapidity = (2.4-2.8) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
6063 "mass in GeV/c^{2};#",
6064 1000, 0, 2.0);
6066 rap_vs_Pt_InM_all_mixing_67 = new TH1D("rap_vs_Pt_InM_all_mixing_67",
6067 "rapidity = (2.4-2.8) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
6068 "mass in GeV/c^{2};#",
6069 1000, 0, 2.0);
6071 rap_vs_Pt_InM_all_mixing_68 = new TH1D("rap_vs_Pt_InM_all_mixing_68",
6072 "rapidity = (2.4-2.8) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
6073 "mass in GeV/c^{2};#",
6074 1000, 0, 2.0);
6076 rap_vs_Pt_InM_all_mixing_69 = new TH1D("rap_vs_Pt_InM_all_mixing_69",
6077 "rapidity = (2.4-2.8) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
6078 "mass in GeV/c^{2};#",
6079 1000, 0, 2.0);
6081 rap_vs_Pt_InM_all_mixing_70 = new TH1D("rap_vs_Pt_InM_all_mixing_70",
6082 "rapidity = (2.4-2.8) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
6083 "mass in GeV/c^{2};#",
6084 1000, 0, 2.0);
6086 rap_vs_Pt_InM_all_mixing_71 = new TH1D("rap_vs_Pt_InM_all_mixing_71",
6087 "rapidity = (2.4-2.8) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
6088 "mass in GeV/c^{2};#",
6089 1000, 0, 2.0);
6091 rap_vs_Pt_InM_all_mixing_72 = new TH1D("rap_vs_Pt_InM_all_mixing_72",
6092 "rapidity = (2.4-2.8) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
6093 "mass in GeV/c^{2};#",
6094 1000, 0, 2.0);
6096 rap_vs_Pt_InM_all_mixing_73 = new TH1D("rap_vs_Pt_InM_all_mixing_73",
6097 "rapidity = (2.4-2.8) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
6098 "mass in GeV/c^{2};#",
6099 1000, 0, 2.0);
6101 rap_vs_Pt_InM_all_mixing_74 = new TH1D("rap_vs_Pt_InM_all_mixing_74",
6102 "rapidity = (2.4-2.8) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
6103 "mass in GeV/c^{2};#",
6104 1000, 0, 2.0);
6106 rap_vs_Pt_InM_all_mixing_75 = new TH1D("rap_vs_Pt_InM_all_mixing_75",
6107 "rapidity = (2.4-2.8) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
6108 "mass in GeV/c^{2};#",
6109 1000, 0, 2.0);
6111 rap_vs_Pt_InM_all_mixing_76 = new TH1D("rap_vs_Pt_InM_all_mixing_76",
6112 "rapidity = (2.4-2.8) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
6113 "mass in GeV/c^{2};#",
6114 1000, 0, 2.0);
6116 rap_vs_Pt_InM_all_mixing_81 = new TH1D("rap_vs_Pt_InM_all_mixing_81",
6117 "rapidity = (2.8-3.2) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
6118 "mass in GeV/c^{2};#",
6119 1000, 0, 2.0);
6121 rap_vs_Pt_InM_all_mixing_82 = new TH1D("rap_vs_Pt_InM_all_mixing_82",
6122 "rapidity = (2.8-3.2) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
6123 "mass in GeV/c^{2};#",
6124 1000, 0, 2.0);
6126 rap_vs_Pt_InM_all_mixing_83 = new TH1D("rap_vs_Pt_InM_all_mixing_83",
6127 "rapidity = (2.8-3.2) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
6128 "mass in GeV/c^{2};#",
6129 1000, 0, 2.0);
6131 rap_vs_Pt_InM_all_mixing_84 = new TH1D("rap_vs_Pt_InM_all_mixing_84",
6132 "rapidity = (2.8-3.2) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
6133 "mass in GeV/c^{2};#",
6134 1000, 0, 2.0);
6136 rap_vs_Pt_InM_all_mixing_85 = new TH1D("rap_vs_Pt_InM_all_mixing_85",
6137 "rapidity = (2.8-3.2) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
6138 "mass in GeV/c^{2};#",
6139 1000, 0, 2.0);
6141 rap_vs_Pt_InM_all_mixing_86 = new TH1D("rap_vs_Pt_InM_all_mixing_86",
6142 "rapidity = (2.8-3.2) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
6143 "mass in GeV/c^{2};#",
6144 1000, 0, 2.0);
6146 rap_vs_Pt_InM_all_mixing_87 = new TH1D("rap_vs_Pt_InM_all_mixing_87",
6147 "rapidity = (2.8-3.2) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
6148 "mass in GeV/c^{2};#",
6149 1000, 0, 2.0);
6151 rap_vs_Pt_InM_all_mixing_88 = new TH1D("rap_vs_Pt_InM_all_mixing_88",
6152 "rapidity = (2.8-3.2) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
6153 "mass in GeV/c^{2};#",
6154 1000, 0, 2.0);
6156 rap_vs_Pt_InM_all_mixing_89 = new TH1D("rap_vs_Pt_InM_all_mixing_89",
6157 "rapidity = (2.8-3.2) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
6158 "mass in GeV/c^{2};#",
6159 1000, 0, 2.0);
6161 rap_vs_Pt_InM_all_mixing_90 = new TH1D("rap_vs_Pt_InM_all_mixing_90",
6162 "rapidity = (2.8-3.2) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
6163 "mass in GeV/c^{2};#",
6164 1000, 0, 2.0);
6166 rap_vs_Pt_InM_all_mixing_91 = new TH1D("rap_vs_Pt_InM_all_mixing_91",
6167 "rapidity = (2.8-3.2) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
6168 "mass in GeV/c^{2};#",
6169 1000, 0, 2.0);
6171 rap_vs_Pt_InM_all_mixing_92 = new TH1D("rap_vs_Pt_InM_all_mixing_92",
6172 "rapidity = (2.8-3.2) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
6173 "mass in GeV/c^{2};#",
6174 1000, 0, 2.0);
6176 rap_vs_Pt_InM_all_mixing_101 = new TH1D("rap_vs_Pt_InM_all_mixing_101",
6177 "rapidity = (3.2-3.6) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
6178 "mass in GeV/c^{2};#",
6179 1000, 0, 2.0);
6181 rap_vs_Pt_InM_all_mixing_102 = new TH1D("rap_vs_Pt_InM_all_mixing_102",
6182 "rapidity = (3.2-3.6) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
6183 "mass in GeV/c^{2};#",
6184 1000, 0, 2.0);
6186 rap_vs_Pt_InM_all_mixing_103 = new TH1D("rap_vs_Pt_InM_all_mixing_103",
6187 "rapidity = (3.2-3.6) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
6188 "mass in GeV/c^{2};#",
6189 1000, 0, 2.0);
6191 rap_vs_Pt_InM_all_mixing_104 = new TH1D("rap_vs_Pt_InM_all_mixing_104",
6192 "rapidity = (3.2-3.6) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
6193 "mass in GeV/c^{2};#",
6194 1000, 0, 2.0);
6196 rap_vs_Pt_InM_all_mixing_105 = new TH1D("rap_vs_Pt_InM_all_mixing_105",
6197 "rapidity = (3.2-3.6) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
6198 "mass in GeV/c^{2};#",
6199 1000, 0, 2.0);
6201 rap_vs_Pt_InM_all_mixing_106 = new TH1D("rap_vs_Pt_InM_all_mixing_106",
6202 "rapidity = (3.2-3.6) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
6203 "mass in GeV/c^{2};#",
6204 1000, 0, 2.0);
6206 rap_vs_Pt_InM_all_mixing_107 = new TH1D("rap_vs_Pt_InM_all_mixing_107",
6207 "rapidity = (3.2-3.6) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
6208 "mass in GeV/c^{2};#",
6209 1000, 0, 2.0);
6211 rap_vs_Pt_InM_all_mixing_108 = new TH1D("rap_vs_Pt_InM_all_mixing_108",
6212 "rapidity = (3.2-3.6) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
6213 "mass in GeV/c^{2};#",
6214 1000, 0, 2.0);
6216 rap_vs_Pt_InM_all_mixing_111 = new TH1D("rap_vs_Pt_InM_all_mixing_111",
6217 "rapidity = (3.6-4.0) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
6218 "mass in GeV/c^{2};#",
6219 1000, 0, 2.0);
6221 rap_vs_Pt_InM_all_mixing_112 = new TH1D("rap_vs_Pt_InM_all_mixing_112",
6222 "rapidity = (3.6-4.0) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
6223 "mass in GeV/c^{2};#",
6224 1000, 0, 2.0);
6226 rap_vs_Pt_InM_all_mixing_113 = new TH1D("rap_vs_Pt_InM_all_mixing_113",
6227 "rapidity = (3.6-4.0) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
6228 "mass in GeV/c^{2};#",
6229 1000, 0, 2.0);
6231 rap_vs_Pt_InM_all_mixing_114 = new TH1D("rap_vs_Pt_InM_all_mixing_114",
6232 "rapidity = (3.6-4.0) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
6233 "mass in GeV/c^{2};#",
6234 1000, 0, 2.0);
6236
6237
6238 // Pt separation sith step 0.1 "onetwo"
6240 new TH1D("Pi0_pt_est_onetwo_Both", "P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 20, 0, 2.0);
6242 pt_onetwo_1 = new TH1D("pt_onetwo_1", "P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6244 pt_onetwo_2 = new TH1D("pt_onetwo_2", "P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6246 pt_onetwo_3 = new TH1D("pt_onetwo_3", "P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6248 pt_onetwo_4 = new TH1D("pt_onetwo_4", "P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6250 pt_onetwo_5 = new TH1D("pt_onetwo_5", "P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6252 pt_onetwo_6 = new TH1D("pt_onetwo_6", "P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6254 pt_onetwo_7 = new TH1D("pt_onetwo_7", "P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6256 pt_onetwo_8 = new TH1D("pt_onetwo_8", "P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6258 pt_onetwo_9 = new TH1D("pt_onetwo_9", "P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6260 pt_onetwo_10 = new TH1D("pt_onetwo_10", "P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6262 pt_onetwo_11 = new TH1D("pt_onetwo_11", "P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6264 pt_onetwo_12 = new TH1D("pt_onetwo_12", "P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6266 pt_onetwo_13 = new TH1D("pt_onetwo_13", "P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6268 pt_onetwo_14 = new TH1D("pt_onetwo_14", "P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6270 pt_onetwo_15 = new TH1D("pt_onetwo_15", "P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6272 pt_onetwo_16 = new TH1D("pt_onetwo_16", "P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6274 pt_onetwo_17 = new TH1D("pt_onetwo_17", "P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6276 pt_onetwo_18 = new TH1D("pt_onetwo_18", "P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6278 pt_onetwo_19 = new TH1D("pt_onetwo_19", "P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6280 pt_onetwo_20 = new TH1D("pt_onetwo_20", "P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6282
6284 new TH1D("pt_onetwo_mixing_1", "P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6287 new TH1D("pt_onetwo_mixing_2", "P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6290 new TH1D("pt_onetwo_mixing_3", "P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6293 new TH1D("pt_onetwo_mixing_4", "P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6296 new TH1D("pt_onetwo_mixing_5", "P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6299 new TH1D("pt_onetwo_mixing_6", "P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6302 new TH1D("pt_onetwo_mixing_7", "P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6305 new TH1D("pt_onetwo_mixing_8", "P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6308 new TH1D("pt_onetwo_mixing_9", "P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6311 new TH1D("pt_onetwo_mixing_10", "P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6314 new TH1D("pt_onetwo_mixing_11", "P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6317 new TH1D("pt_onetwo_mixing_12", "P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6320 new TH1D("pt_onetwo_mixing_13", "P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6323 new TH1D("pt_onetwo_mixing_14", "P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6326 new TH1D("pt_onetwo_mixing_15", "P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6329 new TH1D("pt_onetwo_mixing_16", "P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6332 new TH1D("pt_onetwo_mixing_17", "P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6335 new TH1D("pt_onetwo_mixing_18", "P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6338 new TH1D("pt_onetwo_mixing_19", "P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6341 new TH1D("pt_onetwo_mixing_20", "P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6343
6344 // Pt separation sith step 0.1 "all"
6346 new TH1D("Pi0_pt_est_all_Both", "P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 20, 0, 2.0);
6348 pt_all_1 = new TH1D("pt_all_1", "P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6349 fHistoList_pt_all.push_back(pt_all_1);
6350 pt_all_2 = new TH1D("pt_all_2", "P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6351 fHistoList_pt_all.push_back(pt_all_2);
6352 pt_all_3 = new TH1D("pt_all_3", "P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6353 fHistoList_pt_all.push_back(pt_all_3);
6354 pt_all_4 = new TH1D("pt_all_4", "P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6355 fHistoList_pt_all.push_back(pt_all_4);
6356 pt_all_5 = new TH1D("pt_all_5", "P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6357 fHistoList_pt_all.push_back(pt_all_5);
6358 pt_all_6 = new TH1D("pt_all_6", "P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6359 fHistoList_pt_all.push_back(pt_all_6);
6360 pt_all_7 = new TH1D("pt_all_7", "P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6361 fHistoList_pt_all.push_back(pt_all_7);
6362 pt_all_8 = new TH1D("pt_all_8", "P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6363 fHistoList_pt_all.push_back(pt_all_8);
6364 pt_all_9 = new TH1D("pt_all_9", "P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6365 fHistoList_pt_all.push_back(pt_all_9);
6366 pt_all_10 = new TH1D("pt_all_10", "P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6367 fHistoList_pt_all.push_back(pt_all_10);
6368 pt_all_11 = new TH1D("pt_all_11", "P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6369 fHistoList_pt_all.push_back(pt_all_11);
6370 pt_all_12 = new TH1D("pt_all_12", "P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6371 fHistoList_pt_all.push_back(pt_all_12);
6372 pt_all_13 = new TH1D("pt_all_13", "P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6373 fHistoList_pt_all.push_back(pt_all_13);
6374 pt_all_14 = new TH1D("pt_all_14", "P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6375 fHistoList_pt_all.push_back(pt_all_14);
6376 pt_all_15 = new TH1D("pt_all_15", "P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6377 fHistoList_pt_all.push_back(pt_all_15);
6378 pt_all_16 = new TH1D("pt_all_16", "P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6379 fHistoList_pt_all.push_back(pt_all_16);
6380 pt_all_17 = new TH1D("pt_all_17", "P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6381 fHistoList_pt_all.push_back(pt_all_17);
6382 pt_all_18 = new TH1D("pt_all_18", "P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6383 fHistoList_pt_all.push_back(pt_all_18);
6384 pt_all_19 = new TH1D("pt_all_19", "P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6385 fHistoList_pt_all.push_back(pt_all_19);
6386 pt_all_20 = new TH1D("pt_all_20", "P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6387 fHistoList_pt_all.push_back(pt_all_20);
6388
6390 new TH1D("pt_all_mixing_1", "P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6393 new TH1D("pt_all_mixing_2", "P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6396 new TH1D("pt_all_mixing_3", "P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6399 new TH1D("pt_all_mixing_4", "P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6402 new TH1D("pt_all_mixing_5", "P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6405 new TH1D("pt_all_mixing_6", "P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6408 new TH1D("pt_all_mixing_7", "P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6411 new TH1D("pt_all_mixing_8", "P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6414 new TH1D("pt_all_mixing_9", "P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6417 new TH1D("pt_all_mixing_10", "P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6420 new TH1D("pt_all_mixing_11", "P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6423 new TH1D("pt_all_mixing_12", "P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6426 new TH1D("pt_all_mixing_13", "P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6429 new TH1D("pt_all_mixing_14", "P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6432 new TH1D("pt_all_mixing_15", "P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6435 new TH1D("pt_all_mixing_16", "P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6438 new TH1D("pt_all_mixing_17", "P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6441 new TH1D("pt_all_mixing_18", "P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6444 new TH1D("pt_all_mixing_19", "P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6447 new TH1D("pt_all_mixing_20", "P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6449
6450
6451 // BG cases
6452 //Both all
6453 BG1_InM_all_Both = new TH1D("BG1_InM_all_Both", "BG1_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6455 BG2_InM_all_Both = new TH1D("BG2_InM_all_Both", "BG2_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6457 BG3_InM_all_Both = new TH1D("BG3_InM_all_Both", "BG3_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6459 BG4_InM_all_Both = new TH1D("BG4_InM_all_Both", "BG4_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6461 BG5_InM_all_Both = new TH1D("BG5_InM_all_Both", "BG5_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6463 BG6_InM_all_Both = new TH1D("BG6_InM_all_Both", "BG6_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6465 BG7_InM_all_Both = new TH1D("BG7_InM_all_Both", "BG7_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6467 BG8_InM_all_Both = new TH1D("BG8_InM_all_Both", "BG8_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6469 BG9_InM_all_Both = new TH1D("BG9_InM_all_Both", "BG9_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6471 BG10_InM_all_Both = new TH1D("BG10_InM_all_Both", "BG10_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6473 PdgCase8_InM_all_Both = new TH1D("PdgCase8_InM_all_Both", "PdgCase8_InM_all_Both; Id ;#", 5000, -2500, 2500);
6476 new TH1D("PdgCase8mothers_InM_all_Both", "PdgCase8mothers_InM_all_Both; Id ;#", 5000, -2500, 2500);
6479 new TH1D("sameMIDcase8_InM_all_Both", "sameMIDcase8_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6482 new TH1D("sameGRIDcase8_InM_all_Both", "sameGRIDcase8_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6485 new TH2D("Case1ZYPos_InM_all_Both", "Case1ZYPos_InM_all_Both; z[cm]; y[cm]", 400, -1, 200, 200, -50, 50);
6488 new TH1D("sameMIDcase8_mothedPDG_InM_all_Both", "sameMIDcase8_mothedPDG_InM_all_Both; Id ;#", 5000, -2500, 2500);
6491 "PdgCase8NonEComeFromTarget_InM_all_Both", "PdgCase8NonEComeFromTarget_InM_all_Both; Id ;#", 5000, -2500, 2500);
6494 "PdgCase8NonE_NOT_FromTarget_InM_all_Both", "PdgCase8NonE_NOT_FromTarget_InM_all_Both; Id ;#", 5000, -2500, 2500);
6497 new TH1D("PdgCase8motherNonE_InM_all_Both", "PdgCase8motherNonE_InM_all_Both; Id ;#", 5000, -2500, 2500);
6500 "Case8ElFromDalitz_InM_all_Both", "Case8ElFromDalitz_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6503 "Case8NonElFrom_pn_InM_all_Both", "Case8NonElFrom_pn_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6506 "Case8NonElFrom_eta_InM_all_Both", "Case8NonElFrom_eta_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6509 new TH1D("Case8NonElFrom_kaon_InM_all_Both", "Case8NonElFrom_kaon_InM_all_Both; invariant mass in GeV/c^{2};#",
6510 1000, 0, 2.0);
6513 new TH1D("sameMIDcase8NonEPdg_InM_all_Both", "sameMIDcase8NonEPdg_InM_all_Both; Id ;#", 5000, -2500, 2500);
6515 sameMIDcase8NonEMotherPdg_InM_all_Both = new TH1D("sameMIDcase8NonEMotherPdg_InM_all_Both",
6516 "sameMIDcase8NonEMotherPdg_InM_all_Both; Id ;#", 5000, -2500, 2500);
6519 new TH1D("sameMIDcase8NonEMotherIM_InM_all_Both",
6520 "sameMIDcase8NonEMotherIM_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6523 new TH1D("sameMIDcase8NonEPdgFromTarget_InM_all_Both", "sameMIDcase8NonEPdgFromTarget_InM_all_Both; Id ;#", 5000,
6524 -2500, 2500);
6527 new TH1D("sameMIDcase8NonEComeFromTargetIM_InM_all_Both",
6528 "sameMIDcase8NonEComeFromTargetIM_InM_all_Both; invariant mass in "
6529 "GeV/c^{2};#",
6530 1000, 0, 2.0);
6533 new TH1D("sameMIDcase8NonEComeFromTargetP_InM_all_Both",
6534 "sameMIDcase8NonEComeFromTargetP_InM_all_Both; P in GeV/c^{2} ;#", 200, 0, 10);
6537 new TH1D("sameMIDcase8NonEComeFromTargetPt_InM_all_Both",
6538 "sameMIDcase8NonEComeFromTargetPt_InM_all_Both; Pt in GeV/c^{2} ;#", 200, 0, 10);
6540 //Both zero
6541 BG1_InM_zero_Both = new TH1D("BG1_InM_zero_Both", "BG1_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6543 BG2_InM_zero_Both = new TH1D("BG2_InM_zero_Both", "BG2_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6545 BG3_InM_zero_Both = new TH1D("BG3_InM_zero_Both", "BG3_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6547 BG4_InM_zero_Both = new TH1D("BG4_InM_zero_Both", "BG4_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6549 BG5_InM_zero_Both = new TH1D("BG5_InM_zero_Both", "BG5_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6551 BG6_InM_zero_Both = new TH1D("BG6_InM_zero_Both", "BG6_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6553 BG7_InM_zero_Both = new TH1D("BG7_InM_zero_Both", "BG7_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6555 BG8_InM_zero_Both = new TH1D("BG8_InM_zero_Both", "BG8_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6557 BG9_InM_zero_Both = new TH1D("BG9_InM_zero_Both", "BG9_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6560 new TH1D("BG10_InM_zero_Both", "BG10_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6562 PdgCase8_InM_zero_Both = new TH1D("PdgCase8_InM_zero_Both", "PdgCase8_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6565 new TH1D("PdgCase8mothers_InM_zero_Both", "PdgCase8mothers_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6568 new TH1D("sameMIDcase8_InM_zero_Both", "sameMIDcase8_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6571 new TH1D("sameGRIDcase8_InM_zero_Both", "sameGRIDcase8_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6574 new TH2D("Case1ZYPos_InM_zero_Both", "Case1ZYPos_InM_zero_Both; z[cm]; y[cm]", 400, -1, 200, 200, -50, 50);
6577 new TH1D("sameMIDcase8_mothedPDG_InM_zero_Both", "sameMIDcase8_mothedPDG_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6580 "PdgCase8NonEComeFromTarget_InM_zero_Both", "PdgCase8NonEComeFromTarget_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6583 "PdgCase8NonE_NOT_FromTarget_InM_zero_Both", "PdgCase8NonE_NOT_FromTarget_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6586 new TH1D("PdgCase8motherNonE_InM_zero_Both", "PdgCase8motherNonE_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6589 "Case8ElFromDalitz_InM_zero_Both", "Case8ElFromDalitz_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6592 "Case8NonElFrom_pn_InM_zero_Both", "Case8NonElFrom_pn_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6595 new TH1D("Case8NonElFrom_eta_InM_zero_Both", "Case8NonElFrom_eta_InM_zero_Both; invariant mass in GeV/c^{2};#",
6596 1000, 0, 2.0);
6599 new TH1D("Case8NonElFrom_kaon_InM_zero_Both", "Case8NonElFrom_kaon_InM_zero_Both; invariant mass in GeV/c^{2};#",
6600 1000, 0, 2.0);
6603 new TH1D("sameMIDcase8NonEPdg_InM_zero_Both", "sameMIDcase8NonEPdg_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6606 "sameMIDcase8NonEMotherPdg_InM_zero_Both", "sameMIDcase8NonEMotherPdg_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6609 new TH1D("sameMIDcase8NonEMotherIM_InM_zero_Both",
6610 "sameMIDcase8NonEMotherIM_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6613 new TH1D("sameMIDcase8NonEPdgFromTarget_InM_zero_Both", "sameMIDcase8NonEPdgFromTarget_InM_zero_Both; Id ;#", 5000,
6614 -2500, 2500);
6617 new TH1D("sameMIDcase8NonEComeFromTargetIM_InM_zero_Both",
6618 "sameMIDcase8NonEComeFromTargetIM_InM_zero_Both; invariant mass "
6619 "in GeV/c^{2};#",
6620 1000, 0, 2.0);
6623 new TH1D("sameMIDcase8NonEComeFromTargetP_InM_zero_Both",
6624 "sameMIDcase8NonEComeFromTargetP_InM_zero_Both; P in GeV/c^{2} ;#", 200, 0, 10);
6627 new TH1D("sameMIDcase8NonEComeFromTargetPt_InM_zero_Both",
6628 "sameMIDcase8NonEComeFromTargetPt_InM_zero_Both; Pt in GeV/c^{2} ;#", 200, 0, 10);
6630 //Both one
6631 BG1_InM_one_Both = new TH1D("BG1_InM_one_Both", "BG1_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6633 BG2_InM_one_Both = new TH1D("BG2_InM_one_Both", "BG2_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6635 BG3_InM_one_Both = new TH1D("BG3_InM_one_Both", "BG3_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6637 BG4_InM_one_Both = new TH1D("BG4_InM_one_Both", "BG4_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6639 BG5_InM_one_Both = new TH1D("BG5_InM_one_Both", "BG5_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6641 BG6_InM_one_Both = new TH1D("BG6_InM_one_Both", "BG6_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6643 BG7_InM_one_Both = new TH1D("BG7_InM_one_Both", "BG7_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6645 BG8_InM_one_Both = new TH1D("BG8_InM_one_Both", "BG8_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6647 BG9_InM_one_Both = new TH1D("BG9_InM_one_Both", "BG9_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6649 BG10_InM_one_Both = new TH1D("BG10_InM_one_Both", "BG10_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6651 PdgCase8_InM_one_Both = new TH1D("PdgCase8_InM_one_Both", "PdgCase8_InM_one_Both; Id ;#", 5000, -2500, 2500);
6654 new TH1D("PdgCase8mothers_InM_one_Both", "PdgCase8mothers_InM_one_Both; Id ;#", 5000, -2500, 2500);
6657 new TH1D("sameMIDcase8_InM_one_Both", "sameMIDcase8_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6660 new TH1D("sameGRIDcase8_InM_one_Both", "sameGRIDcase8_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6663 new TH2D("Case1ZYPos_InM_one_Both", "Case1ZYPos_InM_one_Both; z[cm]; y[cm]", 400, -1, 200, 200, -50, 50);
6666 new TH1D("sameMIDcase8_mothedPDG_InM_one_Both", "sameMIDcase8_mothedPDG_InM_one_Both; Id ;#", 5000, -2500, 2500);
6669 "PdgCase8NonEComeFromTarget_InM_one_Both", "PdgCase8NonEComeFromTarget_InM_one_Both; Id ;#", 5000, -2500, 2500);
6672 "PdgCase8NonE_NOT_FromTarget_InM_one_Both", "PdgCase8NonE_NOT_FromTarget_InM_one_Both; Id ;#", 5000, -2500, 2500);
6675 new TH1D("PdgCase8motherNonE_InM_one_Both", "PdgCase8motherNonE_InM_one_Both; Id ;#", 5000, -2500, 2500);
6678 "Case8ElFromDalitz_InM_one_Both", "Case8ElFromDalitz_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6681 "Case8NonElFrom_pn_InM_one_Both", "Case8NonElFrom_pn_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6684 "Case8NonElFrom_eta_InM_one_Both", "Case8NonElFrom_eta_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6687 new TH1D("Case8NonElFrom_kaon_InM_one_Both", "Case8NonElFrom_kaon_InM_one_Both; invariant mass in GeV/c^{2};#",
6688 1000, 0, 2.0);
6691 new TH1D("sameMIDcase8NonEPdg_InM_one_Both", "sameMIDcase8NonEPdg_InM_one_Both; Id ;#", 5000, -2500, 2500);
6693 sameMIDcase8NonEMotherPdg_InM_one_Both = new TH1D("sameMIDcase8NonEMotherPdg_InM_one_Both",
6694 "sameMIDcase8NonEMotherPdg_InM_one_Both; Id ;#", 5000, -2500, 2500);
6697 new TH1D("sameMIDcase8NonEMotherIM_InM_one_Both",
6698 "sameMIDcase8NonEMotherIM_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6701 new TH1D("sameMIDcase8NonEPdgFromTarget_InM_one_Both", "sameMIDcase8NonEPdgFromTarget_InM_one_Both; Id ;#", 5000,
6702 -2500, 2500);
6705 new TH1D("sameMIDcase8NonEComeFromTargetIM_InM_one_Both",
6706 "sameMIDcase8NonEComeFromTargetIM_InM_one_Both; invariant mass in "
6707 "GeV/c^{2};#",
6708 1000, 0, 2.0);
6711 new TH1D("sameMIDcase8NonEComeFromTargetP_InM_one_Both",
6712 "sameMIDcase8NonEComeFromTargetP_InM_one_Both; P in GeV/c^{2} ;#", 200, 0, 10);
6715 new TH1D("sameMIDcase8NonEComeFromTargetPt_InM_one_Both",
6716 "sameMIDcase8NonEComeFromTargetPt_InM_one_Both; Pt in GeV/c^{2} ;#", 200, 0, 10);
6718 //Both two
6719 BG1_InM_two_Both = new TH1D("BG1_InM_two_Both", "BG1_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6721 BG2_InM_two_Both = new TH1D("BG2_InM_two_Both", "BG2_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6723 BG3_InM_two_Both = new TH1D("BG3_InM_two_Both", "BG3_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6725 BG4_InM_two_Both = new TH1D("BG4_InM_two_Both", "BG4_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6727 BG5_InM_two_Both = new TH1D("BG5_InM_two_Both", "BG5_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6729 BG6_InM_two_Both = new TH1D("BG6_InM_two_Both", "BG6_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6731 BG7_InM_two_Both = new TH1D("BG7_InM_two_Both", "BG7_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6733 BG8_InM_two_Both = new TH1D("BG8_InM_two_Both", "BG8_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6735 BG9_InM_two_Both = new TH1D("BG9_InM_two_Both", "BG9_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6737 BG10_InM_two_Both = new TH1D("BG10_InM_two_Both", "BG10_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6739 PdgCase8_InM_two_Both = new TH1D("PdgCase8_InM_two_Both", "PdgCase8_InM_two_Both; Id ;#", 5000, -2500, 2500);
6742 new TH1D("PdgCase8mothers_InM_two_Both", "PdgCase8mothers_InM_two_Both; Id ;#", 5000, -2500, 2500);
6745 new TH1D("sameMIDcase8_InM_two_Both", "sameMIDcase8_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6748 new TH1D("sameGRIDcase8_InM_two_Both", "sameGRIDcase8_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6751 new TH2D("Case1ZYPos_InM_two_Both", "Case1ZYPos_InM_two_Both; z[cm]; y[cm]", 400, -1, 200, 200, -50, 50);
6754 new TH1D("sameMIDcase8_mothedPDG_InM_two_Both", "sameMIDcase8_mothedPDG_InM_two_Both; Id ;#", 5000, -2500, 2500);
6757 "PdgCase8NonEComeFromTarget_InM_two_Both", "PdgCase8NonEComeFromTarget_InM_two_Both; Id ;#", 5000, -2500, 2500);
6760 "PdgCase8NonE_NOT_FromTarget_InM_two_Both", "PdgCase8NonE_NOT_FromTarget_InM_two_Both; Id ;#", 5000, -2500, 2500);
6763 new TH1D("PdgCase8motherNonE_InM_two_Both", "PdgCase8motherNonE_InM_two_Both; Id ;#", 5000, -2500, 2500);
6766 "Case8ElFromDalitz_InM_two_Both", "Case8ElFromDalitz_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6769 "Case8NonElFrom_pn_InM_two_Both", "Case8NonElFrom_pn_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6772 "Case8NonElFrom_eta_InM_two_Both", "Case8NonElFrom_eta_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6775 new TH1D("Case8NonElFrom_kaon_InM_two_Both", "Case8NonElFrom_kaon_InM_two_Both; invariant mass in GeV/c^{2};#",
6776 1000, 0, 2.0);
6779 new TH1D("sameMIDcase8NonEPdg_InM_two_Both", "sameMIDcase8NonEPdg_InM_two_Both; Id ;#", 5000, -2500, 2500);
6781 sameMIDcase8NonEMotherPdg_InM_two_Both = new TH1D("sameMIDcase8NonEMotherPdg_InM_two_Both",
6782 "sameMIDcase8NonEMotherPdg_InM_two_Both; Id ;#", 5000, -2500, 2500);
6785 new TH1D("sameMIDcase8NonEMotherIM_InM_two_Both",
6786 "sameMIDcase8NonEMotherIM_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6789 new TH1D("sameMIDcase8NonEPdgFromTarget_InM_two_Both", "sameMIDcase8NonEPdgFromTarget_InM_two_Both; Id ;#", 5000,
6790 -2500, 2500);
6793 new TH1D("sameMIDcase8NonEComeFromTargetIM_InM_two_Both",
6794 "sameMIDcase8NonEComeFromTargetIM_InM_two_Both; invariant mass in "
6795 "GeV/c^{2};#",
6796 1000, 0, 2.0);
6799 new TH1D("sameMIDcase8NonEComeFromTargetP_InM_two_Both",
6800 "sameMIDcase8NonEComeFromTargetP_InM_two_Both; P in GeV/c^{2} ;#", 200, 0, 10);
6803 new TH1D("sameMIDcase8NonEComeFromTargetPt_InM_two_Both",
6804 "sameMIDcase8NonEComeFromTargetPt_InM_two_Both; Pt in GeV/c^{2} ;#", 200, 0, 10);
6806 //Both onetwo
6808 new TH1D("BG1_InM_onetwo_Both", "BG1_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6811 new TH1D("BG2_InM_onetwo_Both", "BG2_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6814 new TH1D("BG3_InM_onetwo_Both", "BG3_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6817 new TH1D("BG4_InM_onetwo_Both", "BG4_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6820 new TH1D("BG5_InM_onetwo_Both", "BG5_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6823 new TH1D("BG6_InM_onetwo_Both", "BG6_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6826 new TH1D("BG7_InM_onetwo_Both", "BG7_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6829 new TH1D("BG8_InM_onetwo_Both", "BG8_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6832 new TH1D("BG9_InM_onetwo_Both", "BG9_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6835 new TH1D("BG10_InM_onetwo_Both", "BG10_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6837 PdgCase8_InM_onetwo_Both = new TH1D("PdgCase8_InM_onetwo_Both", "PdgCase8_InM_onetwo_Both; Id ;#", 5000, -2500, 2500);
6840 new TH1D("PdgCase8mothers_InM_onetwo_Both", "PdgCase8mothers_InM_onetwo_Both; Id ;#", 5000, -2500, 2500);
6842 sameMIDcase8_InM_onetwo_Both = new TH1D("sameMIDcase8_InM_onetwo_Both",
6843 "sameMIDcase8_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6846 "sameGRIDcase8_InM_onetwo_Both", "sameGRIDcase8_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6849 new TH2D("Case1ZYPos_InM_onetwo_Both", "Case1ZYPos_InM_onetwo_Both; z[cm]; y[cm]", 400, -1, 200, 200, -50, 50);
6851 sameMIDcase8_mothedPDG_InM_onetwo_Both = new TH1D("sameMIDcase8_mothedPDG_InM_onetwo_Both",
6852 "sameMIDcase8_mothedPDG_InM_onetwo_Both; Id ;#", 5000, -2500, 2500);
6855 new TH1D("PdgCase8NonEComeFromTarget_InM_onetwo_Both", "PdgCase8NonEComeFromTarget_InM_onetwo_Both; Id ;#", 5000,
6856 -2500, 2500);
6859 new TH1D("PdgCase8NonE_NOT_FromTarget_InM_onetwo_Both", "PdgCase8NonE_NOT_FromTarget_InM_onetwo_Both; Id ;#", 5000,
6860 -2500, 2500);
6863 new TH1D("PdgCase8motherNonE_InM_onetwo_Both", "PdgCase8motherNonE_InM_onetwo_Both; Id ;#", 5000, -2500, 2500);
6866 new TH1D("Case8ElFromDalitz_InM_onetwo_Both", "Case8ElFromDalitz_InM_onetwo_Both; invariant mass in GeV/c^{2};#",
6867 1000, 0, 2.0);
6870 new TH1D("Case8NonElFrom_pn_InM_onetwo_Both", "Case8NonElFrom_pn_InM_onetwo_Both; invariant mass in GeV/c^{2};#",
6871 1000, 0, 2.0);
6874 new TH1D("Case8NonElFrom_eta_InM_onetwo_Both", "Case8NonElFrom_eta_InM_onetwo_Both; invariant mass in GeV/c^{2};#",
6875 1000, 0, 2.0);
6878 new TH1D("Case8NonElFrom_kaon_InM_onetwo_Both",
6879 "Case8NonElFrom_kaon_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6882 new TH1D("sameMIDcase8NonEPdg_InM_onetwo_Both", "sameMIDcase8NonEPdg_InM_onetwo_Both; Id ;#", 5000, -2500, 2500);
6885 "sameMIDcase8NonEMotherPdg_InM_onetwo_Both", "sameMIDcase8NonEMotherPdg_InM_onetwo_Both; Id ;#", 5000, -2500, 2500);
6888 new TH1D("sameMIDcase8NonEMotherIM_InM_onetwo_Both",
6889 "sameMIDcase8NonEMotherIM_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6892 new TH1D("sameMIDcase8NonEPdgFromTarget_InM_onetwo_Both", "sameMIDcase8NonEPdgFromTarget_InM_onetwo_Both; Id ;#",
6893 5000, -2500, 2500);
6896 new TH1D("sameMIDcase8NonEComeFromTargetIM_InM_onetwo_Both",
6897 "sameMIDcase8NonEComeFromTargetIM_InM_onetwo_Both; invariant mass "
6898 "in GeV/c^{2};#",
6899 1000, 0, 2.0);
6902 new TH1D("sameMIDcase8NonEComeFromTargetP_InM_onetwo_Both",
6903 "sameMIDcase8NonEComeFromTargetP_InM_onetwo_Both; P in GeV/c^{2} ;#", 200, 0, 10);
6906 new TH1D("sameMIDcase8NonEComeFromTargetPt_InM_onetwo_Both",
6907 "sameMIDcase8NonEComeFromTargetPt_InM_onetwo_Both; Pt in GeV/c^{2} ;#", 200, 0, 10);
6909
6910 AnnTruePairs = new TH1D("AnnTruePairs", "AnnTruePairs; Ann value ;#", 100, -1.2, 1.2);
6912 AnnFalsePairs = new TH1D("AnnFalsePairs", "AnnFalsePairs; Ann value ;#", 100, -1.2, 1.2);
6914 AnnTruePairs_AfterCuts = new TH1D("AnnTruePairs_AfterCuts", "AnnTruePairs; Ann value ;#", 100, -1.2, 1.2);
6917 new TH1D("AnnFalsePairs_AfterCuts", "AnnFalsePairs_AfterCuts; Ann value ;#", 100, -1.2, 1.2);
6919
6920
6921 // WAC
6923 new TH1D("Pi0InvMassReco_WAC", "Pi0InvMassReco_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6925 EMT_InvMass_WAC = new TH1D("EMT_InvMass_WAC", "EMT_InvMass_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6928 new TH2D("Pi0_pt_vs_rap_WAC", "Pi0_pt_vs_rap_WAC; rapidity y; p_{t} in GeV/c ", 90, -2., 7., 60, -1., 5.);
6931 new TH2D("Pi0_pt_vs_rap_est_WAC", "Pi0_pt_vs_rap_est_WAC; rapidity y; p_{t} in GeV/c ", 10, 0., 4., 40, 0., 4.);
6933 DalitzPi0_WAC = new TH1D("DalitzPi0_WAC", "DalitzPi0_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6935 PhotonsPi0_WAC = new TH1D("PhotonsPi0_WAC", "PhotonsPi0_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6938 new TH2D("MultiplicityGamma_WAC", "MultiplicityGamma_WAC; Nof gammas in event; invariant mass in GeV/c^{2};#", 400,
6939 0, 30, 1000, 0, 2.0);
6941 MultiplicityChargedParticles_WAC = new TH2D("MultiplicityChargedParticles_WAC",
6942 "MultiplicityChargedParticles_WAC; Nof charged particles in "
6943 "event; invariant mass in GeV/c^{2};#",
6944 1000, 0, 1000, 1000, 0, 2.0);
6946 BG1_InM_WAC = new TH1D("BG1_InM_WAC", "BG1_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6948 BG2_InM_WAC = new TH1D("BG2_InM_WAC", "BG2_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6950 BG3_InM_WAC = new TH1D("BG3_InM_WAC", "BG3_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6952 BG4_InM_WAC = new TH1D("BG4_InM_WAC", "BG4_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6954 BG5_InM_WAC = new TH1D("BG5_InM_WAC", "BG5_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6956 BG6_InM_WAC = new TH1D("BG6_InM_WAC", "BG6_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6958 BG7_InM_WAC = new TH1D("BG7_InM_WAC", "BG7_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6960 BG8_InM_WAC = new TH1D("BG8_InM_WAC", "BG8_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6962 BG9_InM_WAC = new TH1D("BG9_InM_WAC", "BG9_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6964 BG10_InM_WAC = new TH1D("BG10_InM_WAC", "BG10_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6966 PdgCase8_InM_WAC = new TH1D("PdgCase8_InM_WAC", "PdgCase8_InM_WAC; Id ;#", 5000, -2500, 2500);
6968 PdgCase8mothers_InM_WAC = new TH1D("PdgCase8mothers_InM_WAC", "PdgCase8mothers_InM_WAC; Id ;#", 5000, -2500, 2500);
6971 new TH1D("sameMIDcase8_InM_WAC", "sameMIDcase8_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6974 new TH1D("sameGRIDcase8_InM_WAC", "sameGRIDcase8_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6976 Case1ZYPos_InM_WAC = new TH2D("Case1ZYPos_InM_WAC", "Case1ZYPos_InM_WAC; z[cm]; y[cm]", 400, -1, 200, 200, -50, 50);
6979 new TH1D("sameMIDcase8_mothedPDG_InM_WAC", "sameMIDcase8_mothedPDG_InM_WAC; Id ;#", 5000, -2500, 2500);
6982 new TH1D("PdgCase8NonEComeFromTarget_InM_WAC", "PdgCase8NonEComeFromTarget_InM_WAC; Id ;#", 5000, -2500, 2500);
6985 new TH1D("PdgCase8NonE_NOT_FromTarget_InM_WAC", "PdgCase8NonE_NOT_FromTarget_InM_WAC; Id ;#", 5000, -2500, 2500);
6988 new TH1D("PdgCase8motherNonE_InM_WAC", "PdgCase8motherNonE_InM_WAC; Id ;#", 5000, -2500, 2500);
6991 new TH1D("Case8ElFromDalitz_InM_WAC", "Case8ElFromDalitz_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6994 new TH1D("Case8NonElFrom_pn_InM_WAC", "Case8NonElFrom_pn_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6997 new TH1D("Case8NonElFrom_eta_InM_WAC", "Case8NonElFrom_eta_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
7000 new TH1D("Case8NonElFrom_kaon_InM_WAC", "Case8NonElFrom_kaon_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
7003 new TH1D("sameMIDcase8NonEPdg_InM_WAC", "sameMIDcase8NonEPdg_InM_WAC; Id ;#", 5000, -2500, 2500);
7006 new TH1D("sameMIDcase8NonEMotherPdg_InM_WAC", "sameMIDcase8NonEMotherPdg_InM_WAC; Id ;#", 5000, -2500, 2500);
7009 new TH1D("sameMIDcase8NonEMotherIM_InM_WAC", "sameMIDcase8NonEMotherIM_InM_WAC; invariant mass in GeV/c^{2};#",
7010 1000, 0, 2.0);
7012 sameMIDcase8NonEPdgFromTarget_InM_WAC = new TH1D("sameMIDcase8NonEPdgFromTarget_InM_WAC",
7013 "sameMIDcase8NonEPdgFromTarget_InM_WAC; Id ;#", 5000, -2500, 2500);
7016 new TH1D("sameMIDcase8NonEComeFromTargetIM_InM_WAC",
7017 "sameMIDcase8NonEComeFromTargetIM_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
7020 new TH1D("sameMIDcase8NonEComeFromTargetP_InM_WAC", "sameMIDcase8NonEComeFromTargetP_InM_WAC; P in GeV/c^{2} ;#",
7021 200, 0, 10);
7024 new TH1D("sameMIDcase8NonEComeFromTargetPt_InM_WAC", "sameMIDcase8NonEComeFromTargetPt_InM_WAC; Pt in GeV/c^{2} ;#",
7025 200, 0, 10);
7027
7028
7029 Chi2_for_Primary = new TH1D("Chi2_for_Primary", "Chi2_for_Primary; #chi^{2};entries", 200, 0, 20);
7031 Chi2_for_Secondary = new TH1D("Chi2_for_Secondary", "Chi2_for_Secondary; #chi^{2};entries", 200, 0, 20);
7033}
Here the ring is fitted with Taubin algorithm from A. Ayriyan, G. Ososkov, N. Chernov.
Data class for a reconstructed hit in the STS.
Data class for STS tracks.
int32_t GetStsTrackIndex() const
int32_t GetRichRingIndex() const
double GetZ() const
Definition CbmHit.h:71
static void SetKFParticleFromStsTrack(CbmStsTrack *track, KFParticle *particle, Int_t pdg=211, Bool_t firstPoint=kTRUE)
Double_t & GetRefZ()
Definition CbmKFVertex.h:27
Double_t & GetRefX()
Definition CbmKFVertex.h:25
Double_t & GetRefY()
Definition CbmKFVertex.h:26
void Exec(CbmMCTrack *mctrack1, CbmMCTrack *mctrack2, CbmMCTrack *mctrack3, CbmMCTrack *mctrack4, Double_t invmassRecoPi0, vector< TH1 * > BGCases)
std::vector< int > VStsIndex_plus_Target
std::vector< std::vector< int > > Gammas_MCIndex_all_Target
std::vector< std::vector< int > > Gammas_stsIndex_onetwo_Both
std::vector< std::vector< int > > Gammas_stsIndex_zero_Target
vector< TVector3 > VMomenta_minus_Target
std::vector< std::vector< int > > Gammas_stsIndex_all_Outside
vector< TH1 * > fHistoList_bg_InM_zero_Outside
std::vector< std::vector< int > > Gammas_MCIndex_WAC
std::vector< std::vector< int > > Gammas_MCIndex_two_Target
double CalculatePlaneAngle_last(CbmStsTrack *Sts_1, CbmStsTrack *Sts_2)
vector< TVector3 > VMomenta_plus_Target
std::vector< std::vector< int > > Gammas_stsIndex_two_Outside
std::vector< std::vector< int > > Gammas_stsIndex_onetwo_Outside
std::vector< int > EMT_man_NofRings_Target
std::vector< int > VRings_minus_Target
vector< TH1 * > fHistoList_bg_InM_zero_Target
vector< CbmMCTrack * > VMCtracks_plus_Target
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_two_Target
std::vector< int > VStsIndex_plus_Outside
std::vector< std::vector< int > > Gammas_MCIndex_two_Outside
std::vector< int > EMT_man_Event_Both
std::vector< int > EMT_man_Event_Outside
std::vector< std::vector< TVector3 > > EMT_man_pair_momenta_Outside
std::vector< std::vector< TVector3 > > Gammas_two_Outside
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_two_Outside
std::vector< std::vector< TVector3 > > Gammas_onetwo_Outside
std::vector< std::vector< int > > Gammas_MCIndex_all_Both
std::vector< std::vector< int > > Gammas_stsIndex_onetwo_Target
std::vector< int > VRings_minus_Outside
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_zero_Outside
std::vector< std::vector< int > > Gammas_MCIndex_two_Both
vector< CbmRichRing * > VRichRing_plus_Target
std::vector< int > EMT_man_NofRings_Outside
vector< CbmRichRing * > VRichRing_plus_Outside
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_one_Both
vector< TH1 * > fHistoList_bg_InM_onetwo_Target
std::vector< std::vector< TVector3 > > Gammas_onetwo_Target
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_all_Outside
std::vector< int > VRings_plus_Target
vector< TH1 * > fHistoList_multiplicity_man_Target
std::vector< std::vector< TVector3 > > Gammas_all_Both
vector< TH1 * > fHistoList_man_cuts_Outside
std::vector< std::vector< int > > Gammas_stsIndex_one_Outside
std::vector< std::vector< int > > Gammas_stsIndex_zero_Both
std::vector< std::vector< int > > Gammas_stsIndex_all_Target
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_all_Target
vector< TH1 * > fHistoList_bg_InM_two_Outside
std::vector< std::vector< int > > Gammas_MCIndex_one_Both
vector< CbmStsTrack * > VStsTrack_plus_Target
std::vector< std::vector< int > > Gammas_MCIndex_zero_Outside
double CalculatePlaneAngle_first(CbmStsTrack *Sts_1, CbmStsTrack *Sts_2)
std::vector< std::vector< TVector3 > > Gammas_one_Outside
std::vector< std::vector< int > > Gammas_MCIndex_onetwo_Target
std::vector< std::vector< TVector3 > > EMT_man_pair_momenta_Both
void SaveTargetTracks(CbmMCTrack *mcTrack1, CbmStsTrack *stsTrack, TVector3 refmom, double charge, int stsInd, int richInd, int stsMcTrackId, CbmRichRing *RING)
vector< TH1 * > fHistoList_rap_vs_pt_InM_all
std::vector< std::vector< TVector3 > > Gammas_onetwo_Both
vector< CbmMCTrack * > VMCtracks_minus_Target
int FindInRich(int richInd, int stsMcTrackId)
vector< CbmStsTrack * > VStsTrack_plus_Outside
std::vector< std::vector< int > > Gammas_stsIndex_two_Target
vector< TH1 * > fHistoList_man_onetwo_Target
void FindGammasOutside(int EventNumMan, double AngleCut, double InvMassCut, int RealPID, vector< CbmMCTrack * > MCtracks_minus_Outside, vector< CbmMCTrack * > MCtracks_plus_Outside, vector< CbmStsTrack * > StsTrack_minus_Outside, vector< CbmStsTrack * > StsTrack_plus_Outside, std::vector< int > Rings_minus_Outside, std::vector< int > Rings_plus_Outside, std::vector< int > stsIndex_minus_Outside, std::vector< int > stsIndex_plus_Outside, vector< CbmRichRing * > richRing_minus_Outside, vector< CbmRichRing * > richRing_plus_Outside, vector< Int_t > MCIndex_minus_Outside, vector< Int_t > MCIndex_plus_Outside)
vector< TH1 * > fHistoList_multiplicity_man_Outside
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_all_Both
std::vector< std::vector< int > > Gammas_MCIndex_onetwo_Both
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_one_Outside
vector< TH1 * > fHistoList_man_zero_Outside
std::vector< std::vector< TVector3 > > Gammas_all_Target
std::vector< std::vector< int > > Gammas_stsIndex_zero_Outside
vector< CbmRichRing * > VRichRing_minus_Target
void FindGammasTarget(int EventNumMan, double AngleCut, double InvMassCut, int RealPID, vector< CbmMCTrack * > MCtracks_minus, vector< CbmMCTrack * > MCtracks_plus, vector< CbmStsTrack * > StsTrack_minus, vector< CbmStsTrack * > StsTrack_plus, vector< TVector3 > Momenta_minus, vector< TVector3 > Momenta_plus, std::vector< int > Rings_minus, std::vector< int > Rings_plus, std::vector< int > stsIndex_minus, std::vector< int > stsIndex_plus, vector< CbmRichRing * > richRing_minus, vector< CbmRichRing * > richRing_plus, vector< Int_t > MCIndex_minus, vector< Int_t > MCIndex_plus)
std::vector< std::vector< TVector3 > > Gammas_all_Outside
std::vector< std::vector< int > > Gammas_stsIndex_all_Both
std::vector< std::vector< TVector3 > > Gammas_two_Both
CbmRichRingFitterEllipseTau * fTauFit
std::vector< int > VStsIndex_minus_Outside
vector< TH1 * > fHistoList_man_onetwo_Outside
vector< CbmMCTrack * > VMCtracks_minus_Outside
vector< CbmRichRing * > VRichRing_minus_Outside
std::vector< std::vector< TVector3 > > EMT_man_pair_momenta_Target
std::vector< std::vector< TVector3 > > Gammas_zero_Outside
std::vector< std::vector< TVector3 > > Gammas_one_Target
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_WAC
void Exec(int fEventNumMan, double OpeningAngleCut, double GammaInvMassCut, int RealPID)
std::vector< std::vector< TVector3 > > Gammas_two_Target
vector< CbmStsTrack * > VStsTrack_minus_Outside
std::vector< std::vector< int > > Gammas_MCIndex_one_Outside
vector< TH1 * > fHistoList_multiplicity_man_Both
std::vector< std::vector< int > > Gammas_stsIndex_one_Target
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_onetwo_Outside
vector< CbmMCTrack * > VMCtracks_plus_Outside
vector< TH1 * > fHistoList_bg_InM_onetwo_Both
vector< TH1 * > fHistoList_bg_InM_onetwo_Outside
void SaveOutsideTracks(CbmMCTrack *mcTrack1, CbmStsTrack *stsTrack, double charge, int stsInd, int richInd, int stsMcTrackId, CbmRichRing *RING)
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_zero_Both
vector< TH1 * > fHistoList_bg_InM_one_Outside
std::vector< std::vector< int > > Gammas_stsIndex_WAC
std::vector< std::vector< TVector3 > > EMT_man_pair_momenta_WAC
std::vector< std::vector< int > > Gammas_MCIndex_onetwo_Outside
std::vector< int > EMT_man_Event_Target
std::vector< std::vector< TVector3 > > Gammas_zero_Both
std::vector< int > VRings_plus_Outside
std::vector< CbmMCTrack * > fMCtracks
int CheckIfElectron(CbmRichRing *ring, double momentum)
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_zero_Target
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_one_Target
std::vector< std::vector< int > > Gammas_MCIndex_zero_Target
vector< TH1 * > fHistoList_bg_InM_all_Outside
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_onetwo_Both
std::vector< int > VStsIndex_minus_Target
std::vector< std::vector< TVector3 > > Gammas_zero_Target
std::vector< std::vector< TVector3 > > Gammas_one_Both
std::vector< std::vector< int > > Gammas_stsIndex_two_Both
vector< CbmStsTrack * > VStsTrack_minus_Target
std::vector< std::vector< int > > Gammas_MCIndex_one_Target
std::vector< std::vector< int > > Gammas_MCIndex_zero_Both
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_two_Both
std::vector< int > EMT_man_NofRings_Both
std::vector< int > EMT_man_NofRings_WAC
std::vector< std::vector< CbmMCTrack * > > Gammas_MC_onetwo_Target
std::vector< std::vector< TVector3 > > Gamma_WAC
void FindPi0(TString mod, TString position, vector< vector< TVector3 > > Gammas, vector< vector< int > > StsIndex, vector< vector< int > > MCIndex, vector< vector< CbmMCTrack * > > GammasMC, TH1D *Pi0InvMassReco, TH2D *Pi0_pt_vs_rap, TH2D *Pi0_pt_vs_rap_est, TH2D *MultiplicityGamma, TH2D *MultiplicityChargedParticles, vector< TH1 * > BGCases, TH1D *DalitzPi0, TH1D *PhotonsPi0)
std::vector< std::vector< int > > Gammas_MCIndex_all_Outside
std::vector< std::vector< int > > Gammas_stsIndex_one_Both
static TVector3 FitToVertexAndGetChi(CbmStsTrack *stsTrack, double x, double y, double z, double &chi)
static Double_t CalculateOpeningAngle_Reco(TVector3 electron1, TVector3 electron2)
static LmvmKinePar CalculateKinematicParams_4particles(const TVector3 part1, const TVector3 part2, const TVector3 part3, const TVector3 part4)
static double Invmass_2particles_RECO(const TVector3 part1, const TVector3 part2)
static TVector3 FitToVertex(CbmStsTrack *stsTrack, double x, double y, double z)
double DoSelect(double InvariantMass, double OpeningAngle, double PlaneAngle_last, double ZPos, TVector3 Momentum1, TVector3 Momentum2)
void Exec(int event, int IdForANN, double InvariantMass, double OpeningAngle, double PlaneAngle_last, double ZPos, TVector3 Momentum1, TVector3 Momentum2)
double GetP() const
Definition CbmMCTrack.h:98
double GetStartZ() const
Definition CbmMCTrack.h:75
int32_t GetMotherId() const
Definition CbmMCTrack.h:69
int32_t GetPdgCode() const
Definition CbmMCTrack.h:68
int32_t GetNofLinks() const
Definition CbmMatch.h:42
const CbmLink & GetMatchedLink() const
Definition CbmMatch.h:41
double GetY() const
Definition CbmPixelHit.h:74
double GetX() const
Definition CbmPixelHit.h:73
Here the ring is fitted with Taubin algorithm from A. Ayriyan, G. Ososkov, N. Chernov.
virtual void DoFit(CbmRichRingLight *ring)
Inherited from CbmRichRingFitterBase.
float GetAaxis() const
float GetBaxis() const
void AddHit(CbmRichHitLight hit)
Add new hit to the ring.
uint32_t GetHit(int32_t i) const
Definition CbmRichRing.h:39
int32_t GetNofHits() const
Definition CbmRichRing.h:37
static double GetRingTrackDistance(int globalTrackId)
data class for a reconstructed 3-d hit in the STS
Definition CbmStsHit.h:35
int32_t GetNofMvdHits() const
Definition CbmStsTrack.h:87
int32_t GetMvdHitIndex(int32_t iHit) const
Definition CbmStsTrack.h:75
int32_t GetStsHitIndex(int32_t iHit) const
int32_t GetNofStsHits() const
Definition CbmStsTrack.h:93
const FairTrackParam * GetParamFirst() const
Definition CbmTrack.h:68
Double_t fMinv
Definition LmvmKinePar.h:22
Double_t fPt
Definition LmvmKinePar.h:20
Double_t fRapidity
Definition LmvmKinePar.h:21
Hash for CbmL1LinkKey.