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
19
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#include "FairRootManager.h"
38#include "KFParticle/KFParticle.h"
39
40#include <iostream>
41
42using namespace std;
43
45 : fTrain(nullptr)
46 , AnnTrain(0)
47 , fAnnSelection(nullptr)
48 , UseAnn()
49 , fMcTracks(nullptr)
50 , fGlobalTracks(nullptr)
51 , fStsTracks(nullptr)
52 , fStsTrackMatches(nullptr)
53 , fRichProjections(nullptr)
54 , fRichRings(nullptr)
55 , fRichRingMatches(nullptr)
56 , fRichHits(nullptr)
57 , fArrayMvdHit(nullptr)
58 , fArrayStsHit(nullptr)
59 , fPrimVertex(nullptr)
60 , fKFVertex()
61 , fTauFit(nullptr)
62 , fAnaBG(nullptr)
89 , frefmomenta()
90 , frefId()
91 , fMCId()
92 , fMCtracks()
162 , Gamma_WAC()
165 , Gammas_MC_WAC()
173 , GammasOA_candidates_Both(nullptr)
175 , GammasOA_fromPi0_Both(nullptr)
186 , GammasOA_fromPi0_Target(nullptr)
197 , GammasOA_fromPi0_Outside(nullptr)
205 , Pdg_all_Target(nullptr)
206 , P_reco_all_Target(nullptr)
207 , Pt_reco_all_Target(nullptr)
209 , EMT_InvMass_all_Target(nullptr)
210 , Pi0_pt_vs_rap_all_Target(nullptr)
212 , DalitzPi0_all_Target(nullptr)
213 , PhotonsPi0_all_Target(nullptr)
217 , Pdg_zero_Target(nullptr)
218 , P_reco_zero_Target(nullptr)
219 , Pt_reco_zero_Target(nullptr)
221 , EMT_InvMass_zero_Target(nullptr)
224 , DalitzPi0_zero_Target(nullptr)
225 , PhotonsPi0_zero_Target(nullptr)
229 , Pdg_one_Target(nullptr)
230 , P_reco_one_Target(nullptr)
231 , Pt_reco_one_Target(nullptr)
233 , EMT_InvMass_one_Target(nullptr)
234 , Pi0_pt_vs_rap_one_Target(nullptr)
236 , DalitzPi0_one_Target(nullptr)
237 , PhotonsPi0_one_Target(nullptr)
241 , Pdg_two_Target(nullptr)
242 , P_reco_two_Target(nullptr)
243 , Pt_reco_two_Target(nullptr)
245 , EMT_InvMass_two_Target(nullptr)
246 , Pi0_pt_vs_rap_two_Target(nullptr)
248 , DalitzPi0_two_Target(nullptr)
249 , PhotonsPi0_two_Target(nullptr)
253 , Pdg_onetwo_Target(nullptr)
254 , P_reco_onetwo_Target(nullptr)
255 , Pt_reco_onetwo_Target(nullptr)
260 , DalitzPi0_onetwo_Target(nullptr)
261 , PhotonsPi0_onetwo_Target(nullptr)
265 , Pdg_all_Outside(nullptr)
266 , P_reco_all_Outside(nullptr)
267 , Pt_reco_all_Outside(nullptr)
269 , EMT_InvMass_all_Outside(nullptr)
272 , DalitzPi0_all_Outside(nullptr)
273 , PhotonsPi0_all_Outside(nullptr)
277 , Pdg_zero_Outside(nullptr)
278 , P_reco_zero_Outside(nullptr)
279 , Pt_reco_zero_Outside(nullptr)
281 , EMT_InvMass_zero_Outside(nullptr)
284 , DalitzPi0_zero_Outside(nullptr)
285 , PhotonsPi0_zero_Outside(nullptr)
289 , Pdg_one_Outside(nullptr)
290 , P_reco_one_Outside(nullptr)
291 , Pt_reco_one_Outside(nullptr)
293 , EMT_InvMass_one_Outside(nullptr)
296 , DalitzPi0_one_Outside(nullptr)
297 , PhotonsPi0_one_Outside(nullptr)
301 , Pdg_two_Outside(nullptr)
302 , P_reco_two_Outside(nullptr)
303 , Pt_reco_two_Outside(nullptr)
305 , EMT_InvMass_two_Outside(nullptr)
308 , DalitzPi0_two_Outside(nullptr)
309 , PhotonsPi0_two_Outside(nullptr)
313 , Pdg_onetwo_Outside(nullptr)
314 , P_reco_onetwo_Outside(nullptr)
315 , Pt_reco_onetwo_Outside(nullptr)
320 , DalitzPi0_onetwo_Outside(nullptr)
325 , Pdg_all_Both(nullptr)
326 , P_reco_all_Both(nullptr)
327 , Pt_reco_all_Both(nullptr)
328 , Pi0InvMassReco_all_Both(nullptr)
329 , EMT_InvMass_all_Both(nullptr)
330 , Pi0_pt_vs_rap_all_Both(nullptr)
332 , DalitzPi0_all_Both(nullptr)
333 , PhotonsPi0_all_Both(nullptr)
337 , Pdg_zero_Both(nullptr)
338 , P_reco_zero_Both(nullptr)
339 , Pt_reco_zero_Both(nullptr)
340 , Pi0InvMassReco_zero_Both(nullptr)
341 , EMT_InvMass_zero_Both(nullptr)
342 , Pi0_pt_vs_rap_zero_Both(nullptr)
344 , DalitzPi0_zero_Both(nullptr)
345 , PhotonsPi0_zero_Both(nullptr)
349 , Pdg_one_Both(nullptr)
350 , P_reco_one_Both(nullptr)
351 , Pt_reco_one_Both(nullptr)
352 , Pi0InvMassReco_one_Both(nullptr)
353 , EMT_InvMass_one_Both(nullptr)
354 , Pi0_pt_vs_rap_one_Both(nullptr)
356 , DalitzPi0_one_Both(nullptr)
357 , PhotonsPi0_one_Both(nullptr)
361 , Pdg_two_Both(nullptr)
362 , P_reco_two_Both(nullptr)
363 , Pt_reco_two_Both(nullptr)
364 , Pi0InvMassReco_two_Both(nullptr)
365 , EMT_InvMass_two_Both(nullptr)
366 , Pi0_pt_vs_rap_two_Both(nullptr)
368 , DalitzPi0_two_Both(nullptr)
369 , PhotonsPi0_two_Both(nullptr)
373 , Pdg_onetwo_Both(nullptr)
374 , P_reco_onetwo_Both(nullptr)
375 , Pt_reco_onetwo_Both(nullptr)
377 , EMT_InvMass_onetwo_Both(nullptr)
380 , DalitzPi0_onetwo_Both(nullptr)
381 , PhotonsPi0_onetwo_Both(nullptr)
383 , Pdg_vs_Distance(nullptr)
384 , P_vs_Distance(nullptr)
419 , rap_vs_Pt_InM_1(nullptr)
420 , rap_vs_Pt_InM_2(nullptr)
421 , rap_vs_Pt_InM_3(nullptr)
422 , rap_vs_Pt_InM_4(nullptr)
423 , rap_vs_Pt_InM_5(nullptr)
424 , rap_vs_Pt_InM_6(nullptr)
425 , rap_vs_Pt_InM_7(nullptr)
426 , rap_vs_Pt_InM_8(nullptr)
427 , rap_vs_Pt_InM_9(nullptr)
428 , rap_vs_Pt_InM_10(nullptr)
429 , rap_vs_Pt_InM_11(nullptr)
430 , rap_vs_Pt_InM_12(nullptr)
431 , rap_vs_Pt_InM_13(nullptr)
432 , rap_vs_Pt_InM_14(nullptr)
433 , rap_vs_Pt_InM_15(nullptr)
434 , rap_vs_Pt_InM_16(nullptr)
435 , rap_vs_Pt_InM_17(nullptr)
436 , rap_vs_Pt_InM_18(nullptr)
437 , rap_vs_Pt_InM_19(nullptr)
438 , rap_vs_Pt_InM_20(nullptr)
439 , rap_vs_Pt_InM_21(nullptr)
440 , rap_vs_Pt_InM_22(nullptr)
441 , rap_vs_Pt_InM_23(nullptr)
442 , rap_vs_Pt_InM_24(nullptr)
443 , rap_vs_Pt_InM_25(nullptr)
444 , rap_vs_Pt_InM_26(nullptr)
445 , rap_vs_Pt_InM_27(nullptr)
446 , rap_vs_Pt_InM_28(nullptr)
447 , rap_vs_Pt_InM_29(nullptr)
448 , rap_vs_Pt_InM_30(nullptr)
449 , rap_vs_Pt_InM_31(nullptr)
450 , rap_vs_Pt_InM_32(nullptr)
451 , rap_vs_Pt_InM_33(nullptr)
452 , rap_vs_Pt_InM_34(nullptr)
453 , rap_vs_Pt_InM_35(nullptr)
454 , rap_vs_Pt_InM_36(nullptr)
455 , rap_vs_Pt_InM_37(nullptr)
456 , rap_vs_Pt_InM_38(nullptr)
457 , rap_vs_Pt_InM_39(nullptr)
458 , rap_vs_Pt_InM_40(nullptr)
459 , rap_vs_Pt_InM_41(nullptr)
460 , rap_vs_Pt_InM_42(nullptr)
461 , rap_vs_Pt_InM_43(nullptr)
462 , rap_vs_Pt_InM_44(nullptr)
463 , rap_vs_Pt_InM_45(nullptr)
464 , rap_vs_Pt_InM_46(nullptr)
465 , rap_vs_Pt_InM_47(nullptr)
466 , rap_vs_Pt_InM_48(nullptr)
467 , rap_vs_Pt_InM_49(nullptr)
468 , rap_vs_Pt_InM_50(nullptr)
469 , rap_vs_Pt_InM_51(nullptr)
470 , rap_vs_Pt_InM_52(nullptr)
471 , rap_vs_Pt_InM_53(nullptr)
472 , rap_vs_Pt_InM_54(nullptr)
473 , rap_vs_Pt_InM_55(nullptr)
474 , rap_vs_Pt_InM_56(nullptr)
475 , rap_vs_Pt_InM_57(nullptr)
476 , rap_vs_Pt_InM_58(nullptr)
477 , rap_vs_Pt_InM_59(nullptr)
478 , rap_vs_Pt_InM_60(nullptr)
479 , rap_vs_Pt_InM_61(nullptr)
480 , rap_vs_Pt_InM_62(nullptr)
481 , rap_vs_Pt_InM_63(nullptr)
482 , rap_vs_Pt_InM_64(nullptr)
483 , rap_vs_Pt_InM_65(nullptr)
484 , rap_vs_Pt_InM_66(nullptr)
485 , rap_vs_Pt_InM_67(nullptr)
486 , rap_vs_Pt_InM_68(nullptr)
487 , rap_vs_Pt_InM_69(nullptr)
488 , rap_vs_Pt_InM_70(nullptr)
489 , rap_vs_Pt_InM_71(nullptr)
490 , rap_vs_Pt_InM_72(nullptr)
491 , rap_vs_Pt_InM_73(nullptr)
492 , rap_vs_Pt_InM_74(nullptr)
493 , rap_vs_Pt_InM_75(nullptr)
494 , rap_vs_Pt_InM_76(nullptr)
495 , rap_vs_Pt_InM_81(nullptr)
496 , rap_vs_Pt_InM_82(nullptr)
497 , rap_vs_Pt_InM_83(nullptr)
498 , rap_vs_Pt_InM_84(nullptr)
499 , rap_vs_Pt_InM_85(nullptr)
500 , rap_vs_Pt_InM_86(nullptr)
501 , rap_vs_Pt_InM_87(nullptr)
502 , rap_vs_Pt_InM_88(nullptr)
503 , rap_vs_Pt_InM_89(nullptr)
504 , rap_vs_Pt_InM_90(nullptr)
505 , rap_vs_Pt_InM_91(nullptr)
506 , rap_vs_Pt_InM_92(nullptr)
507 , rap_vs_Pt_InM_101(nullptr)
508 , rap_vs_Pt_InM_102(nullptr)
509 , rap_vs_Pt_InM_103(nullptr)
510 , rap_vs_Pt_InM_104(nullptr)
511 , rap_vs_Pt_InM_105(nullptr)
512 , rap_vs_Pt_InM_106(nullptr)
513 , rap_vs_Pt_InM_107(nullptr)
514 , rap_vs_Pt_InM_108(nullptr)
515 , rap_vs_Pt_InM_111(nullptr)
516 , rap_vs_Pt_InM_112(nullptr)
517 , rap_vs_Pt_InM_113(nullptr)
518 , rap_vs_Pt_InM_114(nullptr)
519 , rap_vs_Pt_InM_mixing_1(nullptr)
520 , rap_vs_Pt_InM_mixing_2(nullptr)
521 , rap_vs_Pt_InM_mixing_3(nullptr)
522 , rap_vs_Pt_InM_mixing_4(nullptr)
523 , rap_vs_Pt_InM_mixing_5(nullptr)
524 , rap_vs_Pt_InM_mixing_6(nullptr)
525 , rap_vs_Pt_InM_mixing_7(nullptr)
526 , rap_vs_Pt_InM_mixing_8(nullptr)
527 , rap_vs_Pt_InM_mixing_9(nullptr)
528 , rap_vs_Pt_InM_mixing_10(nullptr)
529 , rap_vs_Pt_InM_mixing_11(nullptr)
530 , rap_vs_Pt_InM_mixing_12(nullptr)
531 , rap_vs_Pt_InM_mixing_13(nullptr)
532 , rap_vs_Pt_InM_mixing_14(nullptr)
533 , rap_vs_Pt_InM_mixing_15(nullptr)
534 , rap_vs_Pt_InM_mixing_16(nullptr)
535 , rap_vs_Pt_InM_mixing_17(nullptr)
536 , rap_vs_Pt_InM_mixing_18(nullptr)
537 , rap_vs_Pt_InM_mixing_19(nullptr)
538 , rap_vs_Pt_InM_mixing_20(nullptr)
539 , rap_vs_Pt_InM_mixing_21(nullptr)
540 , rap_vs_Pt_InM_mixing_22(nullptr)
541 , rap_vs_Pt_InM_mixing_23(nullptr)
542 , rap_vs_Pt_InM_mixing_24(nullptr)
543 , rap_vs_Pt_InM_mixing_25(nullptr)
544 , rap_vs_Pt_InM_mixing_26(nullptr)
545 , rap_vs_Pt_InM_mixing_27(nullptr)
546 , rap_vs_Pt_InM_mixing_28(nullptr)
547 , rap_vs_Pt_InM_mixing_29(nullptr)
548 , rap_vs_Pt_InM_mixing_30(nullptr)
549 , rap_vs_Pt_InM_mixing_31(nullptr)
550 , rap_vs_Pt_InM_mixing_32(nullptr)
551 , rap_vs_Pt_InM_mixing_33(nullptr)
552 , rap_vs_Pt_InM_mixing_34(nullptr)
553 , rap_vs_Pt_InM_mixing_35(nullptr)
554 , rap_vs_Pt_InM_mixing_36(nullptr)
555 , rap_vs_Pt_InM_mixing_37(nullptr)
556 , rap_vs_Pt_InM_mixing_38(nullptr)
557 , rap_vs_Pt_InM_mixing_39(nullptr)
558 , rap_vs_Pt_InM_mixing_40(nullptr)
559 , rap_vs_Pt_InM_mixing_41(nullptr)
560 , rap_vs_Pt_InM_mixing_42(nullptr)
561 , rap_vs_Pt_InM_mixing_43(nullptr)
562 , rap_vs_Pt_InM_mixing_44(nullptr)
563 , rap_vs_Pt_InM_mixing_45(nullptr)
564 , rap_vs_Pt_InM_mixing_46(nullptr)
565 , rap_vs_Pt_InM_mixing_47(nullptr)
566 , rap_vs_Pt_InM_mixing_48(nullptr)
567 , rap_vs_Pt_InM_mixing_49(nullptr)
568 , rap_vs_Pt_InM_mixing_50(nullptr)
569 , rap_vs_Pt_InM_mixing_51(nullptr)
570 , rap_vs_Pt_InM_mixing_52(nullptr)
571 , rap_vs_Pt_InM_mixing_53(nullptr)
572 , rap_vs_Pt_InM_mixing_54(nullptr)
573 , rap_vs_Pt_InM_mixing_55(nullptr)
574 , rap_vs_Pt_InM_mixing_56(nullptr)
575 , rap_vs_Pt_InM_mixing_57(nullptr)
576 , rap_vs_Pt_InM_mixing_58(nullptr)
577 , rap_vs_Pt_InM_mixing_59(nullptr)
578 , rap_vs_Pt_InM_mixing_60(nullptr)
579 , rap_vs_Pt_InM_mixing_61(nullptr)
580 , rap_vs_Pt_InM_mixing_62(nullptr)
581 , rap_vs_Pt_InM_mixing_63(nullptr)
582 , rap_vs_Pt_InM_mixing_64(nullptr)
583 , rap_vs_Pt_InM_mixing_65(nullptr)
584 , rap_vs_Pt_InM_mixing_66(nullptr)
585 , rap_vs_Pt_InM_mixing_67(nullptr)
586 , rap_vs_Pt_InM_mixing_68(nullptr)
587 , rap_vs_Pt_InM_mixing_69(nullptr)
588 , rap_vs_Pt_InM_mixing_70(nullptr)
589 , rap_vs_Pt_InM_mixing_71(nullptr)
590 , rap_vs_Pt_InM_mixing_72(nullptr)
591 , rap_vs_Pt_InM_mixing_73(nullptr)
592 , rap_vs_Pt_InM_mixing_74(nullptr)
593 , rap_vs_Pt_InM_mixing_75(nullptr)
594 , rap_vs_Pt_InM_mixing_76(nullptr)
595 , rap_vs_Pt_InM_mixing_81(nullptr)
596 , rap_vs_Pt_InM_mixing_82(nullptr)
597 , rap_vs_Pt_InM_mixing_83(nullptr)
598 , rap_vs_Pt_InM_mixing_84(nullptr)
599 , rap_vs_Pt_InM_mixing_85(nullptr)
600 , rap_vs_Pt_InM_mixing_86(nullptr)
601 , rap_vs_Pt_InM_mixing_87(nullptr)
602 , rap_vs_Pt_InM_mixing_88(nullptr)
603 , rap_vs_Pt_InM_mixing_89(nullptr)
604 , rap_vs_Pt_InM_mixing_90(nullptr)
605 , rap_vs_Pt_InM_mixing_91(nullptr)
606 , rap_vs_Pt_InM_mixing_92(nullptr)
607 , rap_vs_Pt_InM_mixing_101(nullptr)
608 , rap_vs_Pt_InM_mixing_102(nullptr)
609 , rap_vs_Pt_InM_mixing_103(nullptr)
610 , rap_vs_Pt_InM_mixing_104(nullptr)
611 , rap_vs_Pt_InM_mixing_105(nullptr)
612 , rap_vs_Pt_InM_mixing_106(nullptr)
613 , rap_vs_Pt_InM_mixing_107(nullptr)
614 , rap_vs_Pt_InM_mixing_108(nullptr)
615 , rap_vs_Pt_InM_mixing_111(nullptr)
616 , rap_vs_Pt_InM_mixing_112(nullptr)
617 , rap_vs_Pt_InM_mixing_113(nullptr)
618 , rap_vs_Pt_InM_mixing_114(nullptr)
620 , rap_vs_Pt_InM_all_1(nullptr)
621 , rap_vs_Pt_InM_all_2(nullptr)
622 , rap_vs_Pt_InM_all_3(nullptr)
623 , rap_vs_Pt_InM_all_4(nullptr)
624 , rap_vs_Pt_InM_all_5(nullptr)
625 , rap_vs_Pt_InM_all_6(nullptr)
626 , rap_vs_Pt_InM_all_7(nullptr)
627 , rap_vs_Pt_InM_all_8(nullptr)
628 , rap_vs_Pt_InM_all_9(nullptr)
629 , rap_vs_Pt_InM_all_10(nullptr)
630 , rap_vs_Pt_InM_all_11(nullptr)
631 , rap_vs_Pt_InM_all_12(nullptr)
632 , rap_vs_Pt_InM_all_13(nullptr)
633 , rap_vs_Pt_InM_all_14(nullptr)
634 , rap_vs_Pt_InM_all_15(nullptr)
635 , rap_vs_Pt_InM_all_16(nullptr)
636 , rap_vs_Pt_InM_all_17(nullptr)
637 , rap_vs_Pt_InM_all_18(nullptr)
638 , rap_vs_Pt_InM_all_19(nullptr)
639 , rap_vs_Pt_InM_all_20(nullptr)
640 , rap_vs_Pt_InM_all_21(nullptr)
641 , rap_vs_Pt_InM_all_22(nullptr)
642 , rap_vs_Pt_InM_all_23(nullptr)
643 , rap_vs_Pt_InM_all_24(nullptr)
644 , rap_vs_Pt_InM_all_25(nullptr)
645 , rap_vs_Pt_InM_all_26(nullptr)
646 , rap_vs_Pt_InM_all_27(nullptr)
647 , rap_vs_Pt_InM_all_28(nullptr)
648 , rap_vs_Pt_InM_all_29(nullptr)
649 , rap_vs_Pt_InM_all_30(nullptr)
650 , rap_vs_Pt_InM_all_31(nullptr)
651 , rap_vs_Pt_InM_all_32(nullptr)
652 , rap_vs_Pt_InM_all_33(nullptr)
653 , rap_vs_Pt_InM_all_34(nullptr)
654 , rap_vs_Pt_InM_all_35(nullptr)
655 , rap_vs_Pt_InM_all_36(nullptr)
656 , rap_vs_Pt_InM_all_37(nullptr)
657 , rap_vs_Pt_InM_all_38(nullptr)
658 , rap_vs_Pt_InM_all_39(nullptr)
659 , rap_vs_Pt_InM_all_40(nullptr)
660 , rap_vs_Pt_InM_all_41(nullptr)
661 , rap_vs_Pt_InM_all_42(nullptr)
662 , rap_vs_Pt_InM_all_43(nullptr)
663 , rap_vs_Pt_InM_all_44(nullptr)
664 , rap_vs_Pt_InM_all_45(nullptr)
665 , rap_vs_Pt_InM_all_46(nullptr)
666 , rap_vs_Pt_InM_all_47(nullptr)
667 , rap_vs_Pt_InM_all_48(nullptr)
668 , rap_vs_Pt_InM_all_49(nullptr)
669 , rap_vs_Pt_InM_all_50(nullptr)
670 , rap_vs_Pt_InM_all_51(nullptr)
671 , rap_vs_Pt_InM_all_52(nullptr)
672 , rap_vs_Pt_InM_all_53(nullptr)
673 , rap_vs_Pt_InM_all_54(nullptr)
674 , rap_vs_Pt_InM_all_55(nullptr)
675 , rap_vs_Pt_InM_all_56(nullptr)
676 , rap_vs_Pt_InM_all_57(nullptr)
677 , rap_vs_Pt_InM_all_58(nullptr)
678 , rap_vs_Pt_InM_all_59(nullptr)
679 , rap_vs_Pt_InM_all_60(nullptr)
680 , rap_vs_Pt_InM_all_61(nullptr)
681 , rap_vs_Pt_InM_all_62(nullptr)
682 , rap_vs_Pt_InM_all_63(nullptr)
683 , rap_vs_Pt_InM_all_64(nullptr)
684 , rap_vs_Pt_InM_all_65(nullptr)
685 , rap_vs_Pt_InM_all_66(nullptr)
686 , rap_vs_Pt_InM_all_67(nullptr)
687 , rap_vs_Pt_InM_all_68(nullptr)
688 , rap_vs_Pt_InM_all_69(nullptr)
689 , rap_vs_Pt_InM_all_70(nullptr)
690 , rap_vs_Pt_InM_all_71(nullptr)
691 , rap_vs_Pt_InM_all_72(nullptr)
692 , rap_vs_Pt_InM_all_73(nullptr)
693 , rap_vs_Pt_InM_all_74(nullptr)
694 , rap_vs_Pt_InM_all_75(nullptr)
695 , rap_vs_Pt_InM_all_76(nullptr)
696 , rap_vs_Pt_InM_all_81(nullptr)
697 , rap_vs_Pt_InM_all_82(nullptr)
698 , rap_vs_Pt_InM_all_83(nullptr)
699 , rap_vs_Pt_InM_all_84(nullptr)
700 , rap_vs_Pt_InM_all_85(nullptr)
701 , rap_vs_Pt_InM_all_86(nullptr)
702 , rap_vs_Pt_InM_all_87(nullptr)
703 , rap_vs_Pt_InM_all_88(nullptr)
704 , rap_vs_Pt_InM_all_89(nullptr)
705 , rap_vs_Pt_InM_all_90(nullptr)
706 , rap_vs_Pt_InM_all_91(nullptr)
707 , rap_vs_Pt_InM_all_92(nullptr)
708 , rap_vs_Pt_InM_all_101(nullptr)
709 , rap_vs_Pt_InM_all_102(nullptr)
710 , rap_vs_Pt_InM_all_103(nullptr)
711 , rap_vs_Pt_InM_all_104(nullptr)
712 , rap_vs_Pt_InM_all_105(nullptr)
713 , rap_vs_Pt_InM_all_106(nullptr)
714 , rap_vs_Pt_InM_all_107(nullptr)
715 , rap_vs_Pt_InM_all_108(nullptr)
716 , rap_vs_Pt_InM_all_111(nullptr)
717 , rap_vs_Pt_InM_all_112(nullptr)
718 , rap_vs_Pt_InM_all_113(nullptr)
719 , rap_vs_Pt_InM_all_114(nullptr)
821 , Pi0_pt_est_onetwo_Both(nullptr)
822 , pt_onetwo_1(nullptr)
823 , pt_onetwo_2(nullptr)
824 , pt_onetwo_3(nullptr)
825 , pt_onetwo_4(nullptr)
826 , pt_onetwo_5(nullptr)
827 , pt_onetwo_6(nullptr)
828 , pt_onetwo_7(nullptr)
829 , pt_onetwo_8(nullptr)
830 , pt_onetwo_9(nullptr)
831 , pt_onetwo_10(nullptr)
832 , pt_onetwo_11(nullptr)
833 , pt_onetwo_12(nullptr)
834 , pt_onetwo_13(nullptr)
835 , pt_onetwo_14(nullptr)
836 , pt_onetwo_15(nullptr)
837 , pt_onetwo_16(nullptr)
838 , pt_onetwo_17(nullptr)
839 , pt_onetwo_18(nullptr)
840 , pt_onetwo_19(nullptr)
841 , pt_onetwo_20(nullptr)
842 , pt_onetwo_mixing_1(nullptr)
843 , pt_onetwo_mixing_2(nullptr)
844 , pt_onetwo_mixing_3(nullptr)
845 , pt_onetwo_mixing_4(nullptr)
846 , pt_onetwo_mixing_5(nullptr)
847 , pt_onetwo_mixing_6(nullptr)
848 , pt_onetwo_mixing_7(nullptr)
849 , pt_onetwo_mixing_8(nullptr)
850 , pt_onetwo_mixing_9(nullptr)
851 , pt_onetwo_mixing_10(nullptr)
852 , pt_onetwo_mixing_11(nullptr)
853 , pt_onetwo_mixing_12(nullptr)
854 , pt_onetwo_mixing_13(nullptr)
855 , pt_onetwo_mixing_14(nullptr)
856 , pt_onetwo_mixing_15(nullptr)
857 , pt_onetwo_mixing_16(nullptr)
858 , pt_onetwo_mixing_17(nullptr)
859 , pt_onetwo_mixing_18(nullptr)
860 , pt_onetwo_mixing_19(nullptr)
861 , pt_onetwo_mixing_20(nullptr)
863 , Pi0_pt_est_all_Both(nullptr)
864 , pt_all_1(nullptr)
865 , pt_all_2(nullptr)
866 , pt_all_3(nullptr)
867 , pt_all_4(nullptr)
868 , pt_all_5(nullptr)
869 , pt_all_6(nullptr)
870 , pt_all_7(nullptr)
871 , pt_all_8(nullptr)
872 , pt_all_9(nullptr)
873 , pt_all_10(nullptr)
874 , pt_all_11(nullptr)
875 , pt_all_12(nullptr)
876 , pt_all_13(nullptr)
877 , pt_all_14(nullptr)
878 , pt_all_15(nullptr)
879 , pt_all_16(nullptr)
880 , pt_all_17(nullptr)
881 , pt_all_18(nullptr)
882 , pt_all_19(nullptr)
883 , pt_all_20(nullptr)
884 , pt_all_mixing_1(nullptr)
885 , pt_all_mixing_2(nullptr)
886 , pt_all_mixing_3(nullptr)
887 , pt_all_mixing_4(nullptr)
888 , pt_all_mixing_5(nullptr)
889 , pt_all_mixing_6(nullptr)
890 , pt_all_mixing_7(nullptr)
891 , pt_all_mixing_8(nullptr)
892 , pt_all_mixing_9(nullptr)
893 , pt_all_mixing_10(nullptr)
894 , pt_all_mixing_11(nullptr)
895 , pt_all_mixing_12(nullptr)
896 , pt_all_mixing_13(nullptr)
897 , pt_all_mixing_14(nullptr)
898 , pt_all_mixing_15(nullptr)
899 , pt_all_mixing_16(nullptr)
900 , pt_all_mixing_17(nullptr)
901 , pt_all_mixing_18(nullptr)
902 , pt_all_mixing_19(nullptr)
903 , pt_all_mixing_20(nullptr)
915 , BG1_InM_all_Both(nullptr)
916 , BG2_InM_all_Both(nullptr)
917 , BG3_InM_all_Both(nullptr)
918 , BG4_InM_all_Both(nullptr)
919 , BG5_InM_all_Both(nullptr)
920 , BG6_InM_all_Both(nullptr)
921 , BG7_InM_all_Both(nullptr)
922 , BG8_InM_all_Both(nullptr)
923 , BG9_InM_all_Both(nullptr)
924 , BG10_InM_all_Both(nullptr)
925 , PdgCase8_InM_all_Both(nullptr)
929 , Case1ZYPos_InM_all_Both(nullptr)
946 , BG1_InM_zero_Both(nullptr)
947 , BG2_InM_zero_Both(nullptr)
948 , BG3_InM_zero_Both(nullptr)
949 , BG4_InM_zero_Both(nullptr)
950 , BG5_InM_zero_Both(nullptr)
951 , BG6_InM_zero_Both(nullptr)
952 , BG7_InM_zero_Both(nullptr)
953 , BG8_InM_zero_Both(nullptr)
954 , BG9_InM_zero_Both(nullptr)
955 , BG10_InM_zero_Both(nullptr)
956 , PdgCase8_InM_zero_Both(nullptr)
960 , Case1ZYPos_InM_zero_Both(nullptr)
977 , BG1_InM_one_Both(nullptr)
978 , BG2_InM_one_Both(nullptr)
979 , BG3_InM_one_Both(nullptr)
980 , BG4_InM_one_Both(nullptr)
981 , BG5_InM_one_Both(nullptr)
982 , BG6_InM_one_Both(nullptr)
983 , BG7_InM_one_Both(nullptr)
984 , BG8_InM_one_Both(nullptr)
985 , BG9_InM_one_Both(nullptr)
986 , BG10_InM_one_Both(nullptr)
987 , PdgCase8_InM_one_Both(nullptr)
991 , Case1ZYPos_InM_one_Both(nullptr)
1008 , BG1_InM_two_Both(nullptr)
1009 , BG2_InM_two_Both(nullptr)
1010 , BG3_InM_two_Both(nullptr)
1011 , BG4_InM_two_Both(nullptr)
1012 , BG5_InM_two_Both(nullptr)
1013 , BG6_InM_two_Both(nullptr)
1014 , BG7_InM_two_Both(nullptr)
1015 , BG8_InM_two_Both(nullptr)
1016 , BG9_InM_two_Both(nullptr)
1017 , BG10_InM_two_Both(nullptr)
1018 , PdgCase8_InM_two_Both(nullptr)
1020 , sameMIDcase8_InM_two_Both(nullptr)
1022 , Case1ZYPos_InM_two_Both(nullptr)
1039 , BG1_InM_onetwo_Both(nullptr)
1040 , BG2_InM_onetwo_Both(nullptr)
1041 , BG3_InM_onetwo_Both(nullptr)
1042 , BG4_InM_onetwo_Both(nullptr)
1043 , BG5_InM_onetwo_Both(nullptr)
1044 , BG6_InM_onetwo_Both(nullptr)
1045 , BG7_InM_onetwo_Both(nullptr)
1046 , BG8_InM_onetwo_Both(nullptr)
1047 , BG9_InM_onetwo_Both(nullptr)
1048 , BG10_InM_onetwo_Both(nullptr)
1049 , PdgCase8_InM_onetwo_Both(nullptr)
1069 , AnnTruePairs(nullptr)
1070 , AnnFalsePairs(nullptr)
1071 , AnnTruePairs_AfterCuts(nullptr)
1072 , AnnFalsePairs_AfterCuts(nullptr)
1074 , Pi0InvMassReco_WAC(nullptr)
1075 , EMT_InvMass_WAC(nullptr)
1076 , Pi0_pt_vs_rap_WAC(nullptr)
1077 , Pi0_pt_vs_rap_est_WAC(nullptr)
1078 , DalitzPi0_WAC(nullptr)
1079 , PhotonsPi0_WAC(nullptr)
1080 , MultiplicityGamma_WAC(nullptr)
1083 , BG1_InM_WAC(nullptr)
1084 , BG2_InM_WAC(nullptr)
1085 , BG3_InM_WAC(nullptr)
1086 , BG4_InM_WAC(nullptr)
1087 , BG5_InM_WAC(nullptr)
1088 , BG6_InM_WAC(nullptr)
1089 , BG7_InM_WAC(nullptr)
1090 , BG8_InM_WAC(nullptr)
1091 , BG9_InM_WAC(nullptr)
1092 , BG10_InM_WAC(nullptr)
1093 , PdgCase8_InM_WAC(nullptr)
1094 , PdgCase8mothers_InM_WAC(nullptr)
1095 , sameMIDcase8_InM_WAC(nullptr)
1096 , sameGRIDcase8_InM_WAC(nullptr)
1097 , Case1ZYPos_InM_WAC(nullptr)
1102 , Case8ElFromDalitz_InM_WAC(nullptr)
1103 , Case8NonElFrom_pn_InM_WAC(nullptr)
1114 , Chi2_for_Primary(nullptr)
1115 , Chi2_for_Secondary(nullptr)
1116{
1117}
1118
1120
1122{
1123 FairRootManager* ioman = FairRootManager::Instance();
1124 if (nullptr == ioman) { Fatal("CbmKresConversionManual::Init", "RootManager not instantised!"); }
1125
1126 fMcTracks = (TClonesArray*) ioman->GetObject("MCTrack");
1127 if (nullptr == fMcTracks) { Fatal("CbmKresConversionManual::Init", "No MCTrack array!"); }
1128
1129 fPrimVertex = dynamic_cast<CbmVertex*>(ioman->GetObject("PrimaryVertex."));
1130 if (nullptr == fPrimVertex) { fPrimVertex = dynamic_cast<CbmVertex*>(ioman->GetObject("PrimaryVertex")); }
1131 if (nullptr == fPrimVertex) { LOG(fatal) << "CbmKresConversionManual::Init No PrimaryVertex array!"; }
1132
1133 fGlobalTracks = (TClonesArray*) ioman->GetObject("GlobalTrack");
1134 if (nullptr == fGlobalTracks) { Fatal("CbmKresConversionManual::Init", "No GlobalTrack array!"); }
1135
1136 fStsTracks = (TClonesArray*) ioman->GetObject("StsTrack");
1137 if (nullptr == fStsTracks) { Fatal("CbmKresConversionManual::Init", "No StsTrack array!"); }
1138
1139 fStsTrackMatches = (TClonesArray*) ioman->GetObject("StsTrackMatch");
1140 if (nullptr == fStsTrackMatches) { Fatal("CbmKresConversionManual::Init", "No StsTrackMatch array!"); }
1141
1142 fRichProjections = (TClonesArray*) ioman->GetObject("RichProjection");
1143 if (nullptr == fRichProjections) { Fatal("CbmKresConversionManual::Init", "No RichProjection array!"); }
1144
1145 fRichRings = (TClonesArray*) ioman->GetObject("RichRing");
1146 if (nullptr == fRichRings) { Fatal("CbmKresConversionManual::Init", "No RichRing array!"); }
1147
1148 fRichRingMatches = (TClonesArray*) ioman->GetObject("RichRingMatch");
1149 if (nullptr == fRichRingMatches) { Fatal("CbmKresConversionManual::Init", "No RichRingMatch array!"); }
1150
1151 fRichHits = (TClonesArray*) ioman->GetObject("RichHit");
1152 if (nullptr == fRichHits) { Fatal("CbmKresConversionManual::Init", "No RichHit array!"); }
1153
1154 fArrayMvdHit = (TClonesArray*) ioman->GetObject("MvdHit");
1155 if (nullptr == fArrayMvdHit) { Fatal("CbmKresConversionManual::Init", "No MvdHit array!"); }
1156
1157 fArrayStsHit = (TClonesArray*) ioman->GetObject("StsHit");
1158 if (nullptr == fArrayStsHit) { Fatal("CbmKresConversionManual::Init", "No StsHit array!"); }
1159
1160
1162
1164
1166 fAnaBG->Init();
1167
1168
1169 AnnTrain =
1170 0; // identificator for artificial neural network. Either it used of trained. not both together at the same time
1171
1172 UseAnn = 1 - AnnTrain;
1173
1174 if (AnnTrain == 1) {
1175 fTrain = new CbmKresTrainAnn();
1176 fTrain->Init();
1177 cout << endl;
1178 cout << "\t *** CbmKresTrainAnn ==> is "
1179 "activated"
1180 << endl;
1181 }
1182
1183 if (UseAnn == 1) {
1185 fAnnSelection->Init();
1186 cout << endl;
1187 cout << "\t *** CbmKresSelectAnn ==> is "
1188 "activated"
1189 << endl;
1190 }
1191}
1192
1193
1194void CbmKresConversionManual::Exec(int fEventNumMan, double OpeningAngleCut, double GammaInvMassCut, int RealPID)
1195{
1196 // cout << "CbmKresConversionManual, event No. " << fEventNumMan << endl;
1197
1198 if (fPrimVertex != nullptr) { fKFVertex = CbmKFVertex(*fPrimVertex); }
1199 else {
1200 Fatal("CbmKresConversionManual::Exec", "No PrimaryVertex array here!");
1201 }
1202
1203
1204 Gammas_all_Target.clear();
1205 Gammas_one_Target.clear();
1206 Gammas_two_Target.clear();
1207 Gammas_zero_Target.clear();
1208 Gammas_onetwo_Target.clear();
1219 Gammas_MC_all_Target.clear();
1220 Gammas_MC_one_Target.clear();
1221 Gammas_MC_two_Target.clear();
1222 Gammas_MC_zero_Target.clear();
1224 Gammas_all_Outside.clear();
1225 Gammas_one_Outside.clear();
1226 Gammas_two_Outside.clear();
1227 Gammas_zero_Outside.clear();
1228 Gammas_onetwo_Outside.clear();
1239 Gammas_MC_all_Outside.clear();
1240 Gammas_MC_one_Outside.clear();
1241 Gammas_MC_two_Outside.clear();
1242 Gammas_MC_zero_Outside.clear();
1244 Gammas_all_Both.clear();
1245 Gammas_one_Both.clear();
1246 Gammas_two_Both.clear();
1247 Gammas_zero_Both.clear();
1248 Gammas_onetwo_Both.clear();
1259 Gammas_MC_all_Both.clear();
1260 Gammas_MC_one_Both.clear();
1261 Gammas_MC_two_Both.clear();
1262 Gammas_MC_zero_Both.clear();
1263 Gammas_MC_onetwo_Both.clear();
1264
1265
1268 VRings_minus_Outside.clear();
1271 VMCIndex_minus_Outside.clear();
1272 VMCtracks_plus_Outside.clear();
1273 VStsTrack_plus_Outside.clear();
1274 VRings_plus_Outside.clear();
1275 VStsIndex_plus_Outside.clear();
1276 VRichRing_plus_Outside.clear();
1277 VMCIndex_plus_Outside.clear();
1278
1279 VMCtracks_minus_Target.clear();
1280 VMomenta_minus_Target.clear();
1281 VStsTrack_minus_Target.clear();
1282 VRings_minus_Target.clear();
1283 VStsIndex_minus_Target.clear();
1284 VRichRing_minus_Target.clear();
1285 VMCIndex_minus_Target.clear();
1286 VMCtracks_plus_Target.clear();
1287 VStsTrack_plus_Target.clear();
1288 VMomenta_plus_Target.clear();
1289 VRings_plus_Target.clear();
1290 VStsIndex_plus_Target.clear();
1291 VRichRing_plus_Target.clear();
1292 VMCIndex_plus_Target.clear();
1293
1294 //WAC - > WithAdditionalCuts
1295 Gamma_WAC.clear();
1296 Gammas_stsIndex_WAC.clear();
1297 Gammas_MCIndex_WAC.clear();
1298 Gammas_MC_WAC.clear();
1299
1300
1301 Int_t ngTracks = fGlobalTracks->GetEntriesFast();
1302 for (Int_t i = 0; i < ngTracks; i++) {
1303 CbmGlobalTrack* gTrack = (CbmGlobalTrack*) fGlobalTracks->At(i);
1304 if (nullptr == gTrack) continue;
1305 Int_t stsInd = gTrack->GetStsTrackIndex();
1306 Int_t richInd = gTrack->GetRichRingIndex();
1307
1308 if (stsInd < 0) continue;
1309 CbmStsTrack* stsTrack = (CbmStsTrack*) fStsTracks->At(stsInd);
1310 if (stsTrack == nullptr) continue;
1311 CbmTrackMatchNew* stsMatch = (CbmTrackMatchNew*) fStsTrackMatches->At(stsInd);
1312 if (stsMatch == nullptr) continue;
1313 if (stsMatch->GetNofLinks() <= 0) continue;
1314 Int_t stsMcTrackId = stsMatch->GetMatchedLink().GetIndex();
1315 if (stsMcTrackId < 0) continue;
1316 CbmMCTrack* mcTrack = (CbmMCTrack*) fMcTracks->At(stsMcTrackId);
1317 if (mcTrack == nullptr) continue;
1318
1319
1320 FairTrackParam* proj = (FairTrackParam*) fRichProjections->At(i);
1321 if (richInd < 0 && proj->GetX() > -115 && proj->GetX() < 115
1322 && ((proj->GetY() < -120 && proj->GetY() > -200) || (proj->GetY() > 120 && proj->GetY() < 200)))
1323 continue;
1324 CbmRichRing* Ring = nullptr;
1325 if (richInd > -1) {
1326 Ring = static_cast<CbmRichRing*>(fRichRings->At(richInd));
1327 Pdg_vs_Distance->Fill(TMath::Abs(mcTrack->GetPdgCode()), CbmRichUtil::GetRingTrackDistance(i));
1328 if (TMath::Abs(mcTrack->GetPdgCode()) == 11)
1330 }
1331
1332
1333 // Doing fit with Fit To primary Vertex and calculate chi2 to primary vertex
1334 double chi2 = 0;
1335 TVector3 Momentum = CbmKresFunctions::FitToVertexAndGetChi(stsTrack, fKFVertex.GetRefX(), fKFVertex.GetRefY(),
1336 fKFVertex.GetRefZ(), chi2);
1337 const FairTrackParam* track_par = stsTrack->GetParamFirst();
1338 double charge = track_par->GetQp();
1339
1340
1341 // Doing refit of momenta with electron assumption
1342 /*CbmL1PFFitter fPFFitter_electron;
1343 vector<CbmStsTrack> stsTracks_electron;
1344 stsTracks_electron.resize(1);
1345 stsTracks_electron[0] = *stsTrack;
1346 vector<CbmL1PFFitter::PFFieldRegion> vField_electron;
1347 vector<float> chiPrim_electron;
1348 vector<int> pidHypo_electron;
1349 pidHypo_electron.push_back(11);
1350 fPFFitter_electron.Fit(stsTracks_electron, pidHypo_electron);
1351 fPFFitter_electron.GetChiToVertex(stsTracks_electron, vField_electron, chiPrim_electron, fKFVertex, 3e6);
1352
1353 TVector3 Momentum;
1354 const FairTrackParam* vtxTrack_electron = stsTracks_electron[0].GetParamFirst();
1355 vtxTrack_electron->Momentum(Momentum);
1356 double charge = vtxTrack_electron->GetQp()*Momentum.Mag();
1357 float chi2 = chiPrim_electron[0];*/
1358
1359
1360 if (chi2 != chi2) continue;
1361 if (chi2 == 0) continue;
1362
1363 if (mcTrack->GetStartZ() < 3.) Chi2_for_Primary->Fill(chi2);
1364 if (mcTrack->GetStartZ() > 3.) Chi2_for_Secondary->Fill(chi2);
1365
1366 if (chi2 > 3) { SaveOutsideTracks(mcTrack, stsTrack, charge, stsInd, richInd, stsMcTrackId, Ring); }
1367 if (chi2 > 3) continue;
1368
1369 SaveTargetTracks(mcTrack, stsTrack, Momentum, charge, stsInd, richInd, stsMcTrackId, Ring);
1370 }
1371
1372
1373 FindGammasTarget(fEventNumMan, OpeningAngleCut, GammaInvMassCut, RealPID, VMCtracks_minus_Target,
1378
1379 FindGammasOutside(fEventNumMan, OpeningAngleCut, GammaInvMassCut, RealPID, VMCtracks_minus_Outside,
1383
1385
1387
1388
1409
1431
1449
1450
1454
1455
1456 int numformix = 500;
1457 if (fEventNumMan % numformix == 0) {
1468 Mixing_Both();
1469 EMT_man_Event_Both.clear();
1471 EMT_man_NofRings_Both.clear();
1472 }
1473
1474 if (fEventNumMan % numformix == 0) {
1475 Mixing_WAC();
1476 EMT_man_Event_WAC.clear();
1478 EMT_man_NofRings_WAC.clear();
1479 }
1480
1481 if (fEventNumMan % numformix == 0) {
1482 Mixing_Target();
1483 EMT_man_Event_Target.clear();
1486 }
1487
1488 if (fEventNumMan % numformix == 0) {
1490 EMT_man_Event_Outside.clear();
1493 }
1494}
1495
1496
1497void CbmKresConversionManual::SaveOutsideTracks(CbmMCTrack* mcTrack1, CbmStsTrack* stsTrack, double charge, int stsInd,
1498 int richInd, int stsMcTrackId, CbmRichRing* RING)
1499{
1500 int InRich = FindInRich(richInd, stsMcTrackId);
1501 if (charge < 0) {
1502 VMCtracks_minus_Outside.push_back(mcTrack1);
1503 VStsTrack_minus_Outside.push_back(stsTrack);
1504 VRings_minus_Outside.push_back(InRich);
1505 VStsIndex_minus_Outside.push_back(stsInd);
1506 VRichRing_minus_Outside.push_back(RING);
1507 VMCIndex_minus_Outside.push_back(stsMcTrackId);
1508 }
1509 if (charge > 0) {
1510 VMCtracks_plus_Outside.push_back(mcTrack1);
1511 VStsTrack_plus_Outside.push_back(stsTrack);
1512 VRings_plus_Outside.push_back(InRich);
1513 VStsIndex_plus_Outside.push_back(stsInd);
1514 VRichRing_plus_Outside.push_back(RING);
1515 VMCIndex_plus_Outside.push_back(stsMcTrackId);
1516 }
1517}
1518
1519void CbmKresConversionManual::SaveTargetTracks(CbmMCTrack* mcTrack1, CbmStsTrack* stsTrack, TVector3 refmom,
1520 double charge, int stsInd, int richInd, int stsMcTrackId,
1521 CbmRichRing* RING)
1522{
1523 int InRich = FindInRich(richInd, stsMcTrackId);
1524 if (charge < 0) {
1525 VMCtracks_minus_Target.push_back(mcTrack1);
1526 VStsTrack_minus_Target.push_back(stsTrack);
1527 VMomenta_minus_Target.push_back(refmom);
1528 VRings_minus_Target.push_back(InRich);
1529 VStsIndex_minus_Target.push_back(stsInd);
1530 VRichRing_minus_Target.push_back(RING);
1531 VMCIndex_minus_Target.push_back(stsMcTrackId);
1532 }
1533 if (charge > 0) {
1534 VMCtracks_plus_Target.push_back(mcTrack1);
1535 VStsTrack_plus_Target.push_back(stsTrack);
1536 VMomenta_plus_Target.push_back(refmom);
1537 VRings_plus_Target.push_back(InRich);
1538 VStsIndex_plus_Target.push_back(stsInd);
1539 VRichRing_plus_Target.push_back(RING);
1540 VMCIndex_plus_Target.push_back(stsMcTrackId);
1541 }
1542}
1543
1544
1545void CbmKresConversionManual::FindGammasTarget(int EventNumMan, double AngleCut, double InvMassCut, int RealPID,
1546 vector<CbmMCTrack*> MCtracks_minus, vector<CbmMCTrack*> MCtracks_plus,
1547 vector<CbmStsTrack*> StsTrack_minus, vector<CbmStsTrack*> StsTrack_plus,
1548 vector<TVector3> Momenta_minus, vector<TVector3> Momenta_plus,
1549 std::vector<int> Rings_minus, std::vector<int> Rings_plus,
1550 std::vector<int> stsIndex_minus, std::vector<int> stsIndex_plus,
1551 vector<CbmRichRing*> richRing_minus, vector<CbmRichRing*> richRing_plus,
1552 vector<Int_t> MCIndex_minus, vector<Int_t> MCIndex_plus)
1553{
1554 for (size_t i = 0; i < Momenta_minus.size(); i++) {
1555 for (size_t j = 0; j < Momenta_plus.size(); j++) {
1556
1557 CbmStsTrack* sts1 = StsTrack_minus.at(i);
1558 CbmStsTrack* sts2 = StsTrack_plus.at(j);
1559
1560 TVector3 part1 = Momenta_minus[i];
1561 TVector3 part2 = Momenta_plus[j];
1562 CbmMCTrack* part1MC = MCtracks_minus[i];
1563 CbmMCTrack* part2MC = MCtracks_plus[j];
1564
1565 int richcheck_0 = 0;
1566 int richcheck_1 = 0;
1567 if (RealPID == 1) {
1568 // Real PID
1569 richcheck_0 = CheckIfElectron(richRing_minus[i], Momenta_minus[i].Mag());
1570 richcheck_1 = CheckIfElectron(richRing_plus[j], Momenta_plus[j].Mag());
1571 }
1572 else {
1573 // MC PID
1574 richcheck_0 = Rings_minus[i];
1575 richcheck_1 = Rings_plus[j];
1576 }
1577 int richcheck = richcheck_0 + richcheck_1;
1578
1579 Double_t InvmassReco = CbmKresFunctions::Invmass_2particles_RECO(part1, part2);
1580 Double_t OpeningAngle = CbmKresFunctions::CalculateOpeningAngle_Reco(part1, part2);
1581
1582 InvMass_vs_OA_candidates_Target->Fill(InvmassReco, OpeningAngle);
1583 InvMass_vs_OA_candidates_Both->Fill(InvmassReco, OpeningAngle);
1584 GammasInvMass_candidates_Target->Fill(InvmassReco);
1585 GammasInvMass_candidates_Both->Fill(InvmassReco);
1586 GammasOA_candidates_Target->Fill(OpeningAngle);
1587 GammasOA_candidates_Both->Fill(OpeningAngle);
1588
1589 double PlaneAngle_last = CalculatePlaneAngle_last(sts1, sts2);
1590 double PlaneAngle_first = CalculatePlaneAngle_first(sts1, sts2);
1591
1592
1593 int IdForANN = 0; // 0 - means wrong pair combination; 1 - means correct pair
1594 if (part1MC->GetMotherId() == part2MC->GetMotherId() && part1MC->GetMotherId() != -1) {
1595 CbmMCTrack* mcTrackmama = (CbmMCTrack*) fMcTracks->At(part1MC->GetMotherId());
1596 if (mcTrackmama->GetMotherId() != -1 && mcTrackmama->GetPdgCode() == 22) {
1597 CbmMCTrack* mcTrackgrmama = (CbmMCTrack*) fMcTracks->At(mcTrackmama->GetMotherId());
1598 //IdForANN = 1;
1599 if (mcTrackgrmama->GetPdgCode() == 111) {
1600 GammasInvMass_fromPi0_Target->Fill(InvmassReco);
1601 GammasInvMass_fromPi0_Both->Fill(InvmassReco);
1602 GammasOA_fromPi0_Target->Fill(OpeningAngle);
1603 GammasOA_fromPi0_Both->Fill(OpeningAngle);
1604 InvMass_vs_OA_fromPi0_Target->Fill(InvmassReco, OpeningAngle);
1605 InvMass_vs_OA_fromPi0_Both->Fill(InvmassReco, OpeningAngle);
1606 PlaneAngles_last_fromPi0_Target->Fill(PlaneAngle_last);
1607 PlaneAngles_last_fromPi0_Both->Fill(PlaneAngle_last);
1608 PlaneAngles_first_fromPi0_Target->Fill(PlaneAngle_first);
1609 PlaneAngles_first_fromPi0_Both->Fill(PlaneAngle_first);
1610 IdForANN = 1;
1611 }
1612 }
1613 }
1614
1615 // run ANN
1616 if (AnnTrain == 1) {
1617 fTrain->Exec(EventNumMan, IdForANN, InvmassReco, OpeningAngle, PlaneAngle_last, fKFVertex.GetRefZ(), part1,
1618 part2);
1619 continue;
1620 }
1621
1622 double AnnValue = 999;
1623 if (UseAnn == 1) {
1624 AnnValue =
1625 fAnnSelection->DoSelect(InvmassReco, OpeningAngle, PlaneAngle_last, fKFVertex.GetRefZ(), part1, part2);
1626 if (IdForANN == 1) AnnTruePairs->Fill(AnnValue);
1627 if (IdForANN == 0) AnnFalsePairs->Fill(AnnValue);
1628 }
1629
1630
1631 PlaneAngles_last_candidates_Target->Fill(PlaneAngle_last);
1632 PlaneAngles_last_candidates_Both->Fill(PlaneAngle_last);
1633 PlaneAngles_first_candidates_Target->Fill(PlaneAngle_first);
1634 PlaneAngles_first_candidates_Both->Fill(PlaneAngle_first);
1635
1636 // cuts
1637 if (TMath::Abs(OpeningAngle) > AngleCut) continue;
1638 if (TMath::Abs(InvmassReco) > InvMassCut) continue;
1639 // if (AnnValue < 0.9) continue;
1640
1641 if (IdForANN == 1) AnnTruePairs_AfterCuts->Fill(AnnValue);
1642 if (IdForANN == 0) AnnFalsePairs_AfterCuts->Fill(AnnValue);
1643
1644 frefmomenta.clear();
1645 frefmomenta.push_back(part1);
1646 frefmomenta.push_back(part2);
1647 frefId.clear();
1648 frefId.push_back(stsIndex_minus[i]);
1649 frefId.push_back(stsIndex_plus[j]);
1650 fMCId.clear();
1651 fMCId.push_back(MCIndex_minus[i]);
1652 fMCId.push_back(MCIndex_plus[j]);
1653 fMCtracks.clear();
1654 fMCtracks.push_back(part1MC);
1655 fMCtracks.push_back(part2MC);
1656
1657 // for event mixing
1658 EMT_man_Event_Target.push_back(EventNumMan);
1660 EMT_man_NofRings_Target.push_back(richcheck);
1661
1662
1663 // everything (RICH == 0, RICH == 1, RICH == 2) together
1664 if (richcheck == 0 || richcheck == 1 || richcheck == 2) {
1665 Gammas_all_Target.push_back(frefmomenta);
1669 GammaInvMassReco_all_Target->Fill(InvmassReco);
1670 GammaOpeningAngleReco_all_Target->Fill(OpeningAngle);
1671 Pdg_all_Target->Fill(TMath::Abs(part1MC->GetPdgCode()));
1672 Pdg_all_Target->Fill(TMath::Abs(part2MC->GetPdgCode()));
1673 P_reco_all_Target->Fill(part1.Mag());
1674 P_reco_all_Target->Fill(part2.Mag());
1675 Pt_reco_all_Target->Fill(part1.Perp());
1676 Pt_reco_all_Target->Fill(part2.Perp());
1677 GammaInvMassReco_all_Both->Fill(InvmassReco);
1678 GammaOpeningAngleReco_all_Both->Fill(OpeningAngle);
1679 Pdg_all_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1680 Pdg_all_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1681 P_reco_all_Both->Fill(part1.Mag());
1682 P_reco_all_Both->Fill(part2.Mag());
1683 Pt_reco_all_Both->Fill(part1.Perp());
1684 Pt_reco_all_Both->Fill(part2.Perp());
1685 }
1686
1687 // only cases, when RICH == 0
1688 if (richcheck == 0) {
1693 GammaInvMassReco_zero_Target->Fill(InvmassReco);
1694 GammaOpeningAngleReco_zero_Target->Fill(OpeningAngle);
1695 Pdg_zero_Target->Fill(TMath::Abs(part1MC->GetPdgCode()));
1696 Pdg_zero_Target->Fill(TMath::Abs(part2MC->GetPdgCode()));
1697 P_reco_zero_Target->Fill(part1.Mag());
1698 P_reco_zero_Target->Fill(part2.Mag());
1699 Pt_reco_zero_Target->Fill(part1.Perp());
1700 Pt_reco_zero_Target->Fill(part2.Perp());
1701 GammaInvMassReco_zero_Both->Fill(InvmassReco);
1702 GammaOpeningAngleReco_zero_Both->Fill(OpeningAngle);
1703 Pdg_zero_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1704 Pdg_zero_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1705 P_reco_zero_Both->Fill(part1.Mag());
1706 P_reco_zero_Both->Fill(part2.Mag());
1707 Pt_reco_zero_Both->Fill(part1.Perp());
1708 Pt_reco_zero_Both->Fill(part2.Perp());
1709 }
1710
1711 // only cases, when RICH == 1
1712 if (richcheck == 1) {
1713 Gammas_one_Target.push_back(frefmomenta);
1717 GammaInvMassReco_one_Target->Fill(InvmassReco);
1718 GammaOpeningAngleReco_one_Target->Fill(OpeningAngle);
1719 Pdg_one_Target->Fill(TMath::Abs(part1MC->GetPdgCode()));
1720 Pdg_one_Target->Fill(TMath::Abs(part2MC->GetPdgCode()));
1721 P_reco_one_Target->Fill(part1.Mag());
1722 P_reco_one_Target->Fill(part2.Mag());
1723 Pt_reco_one_Target->Fill(part1.Perp());
1724 Pt_reco_one_Target->Fill(part2.Perp());
1725 GammaInvMassReco_one_Both->Fill(InvmassReco);
1726 GammaOpeningAngleReco_one_Both->Fill(OpeningAngle);
1727 Pdg_one_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1728 Pdg_one_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1729 P_reco_one_Both->Fill(part1.Mag());
1730 P_reco_one_Both->Fill(part2.Mag());
1731 Pt_reco_one_Both->Fill(part1.Perp());
1732 Pt_reco_one_Both->Fill(part2.Perp());
1733 }
1734
1735 // only cases, when RICH == 2
1736 if (richcheck == 2) {
1737 Gammas_two_Target.push_back(frefmomenta);
1741 GammaInvMassReco_two_Target->Fill(InvmassReco);
1742 GammaOpeningAngleReco_two_Target->Fill(OpeningAngle);
1743 Pdg_two_Target->Fill(TMath::Abs(part1MC->GetPdgCode()));
1744 Pdg_two_Target->Fill(TMath::Abs(part2MC->GetPdgCode()));
1745 P_reco_two_Target->Fill(part1.Mag());
1746 P_reco_two_Target->Fill(part2.Mag());
1747 Pt_reco_two_Target->Fill(part1.Perp());
1748 Pt_reco_two_Target->Fill(part2.Perp());
1749 GammaInvMassReco_two_Both->Fill(InvmassReco);
1750 GammaOpeningAngleReco_two_Both->Fill(OpeningAngle);
1751 Pdg_two_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1752 Pdg_two_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1753 P_reco_two_Both->Fill(part1.Mag());
1754 P_reco_two_Both->Fill(part2.Mag());
1755 Pt_reco_two_Both->Fill(part1.Perp());
1756 Pt_reco_two_Both->Fill(part2.Perp());
1757
1758 // WAC event mixing
1759 EMT_man_Event_WAC.push_back(EventNumMan);
1761 EMT_man_NofRings_WAC.push_back(richcheck);
1762 }
1763
1764 // cases, when RICH == 1 or RICH == 2 together
1765 if (richcheck == 1 || richcheck == 2) {
1770 GammaInvMassReco_onetwo_Target->Fill(InvmassReco);
1771 GammaOpeningAngleReco_onetwo_Target->Fill(OpeningAngle);
1772 Pdg_onetwo_Target->Fill(TMath::Abs(part1MC->GetPdgCode()));
1773 Pdg_onetwo_Target->Fill(TMath::Abs(part2MC->GetPdgCode()));
1774 P_reco_onetwo_Target->Fill(part1.Mag());
1775 P_reco_onetwo_Target->Fill(part2.Mag());
1776 Pt_reco_onetwo_Target->Fill(part1.Perp());
1777 Pt_reco_onetwo_Target->Fill(part2.Perp());
1778 GammaInvMassReco_onetwo_Both->Fill(InvmassReco);
1779 GammaOpeningAngleReco_onetwo_Both->Fill(OpeningAngle);
1780 Pdg_onetwo_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1781 Pdg_onetwo_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1782 P_reco_onetwo_Both->Fill(part1.Mag());
1783 P_reco_onetwo_Both->Fill(part2.Mag());
1784 Pt_reco_onetwo_Both->Fill(part1.Perp());
1785 Pt_reco_onetwo_Both->Fill(part2.Perp());
1786 }
1787 }
1788 }
1789
1790 //cout << "number of gammas Target with 0-2 electron identified in RICH = " << Gammas_all_Target.size() << endl;
1791 //cout << "number of gammas Target with 0 electron identified in RICH = " << Gammas_zero_Target.size() << endl;
1792 //cout << "number of gammas Target with 1 electron identified in RICH = " << Gammas_one_Target.size() << endl;
1793 //cout << "number of gammas Target with 2 electron identified in RICH = " << Gammas_two_Target.size() << endl;
1794 //cout << "number of gammas Target with 1-2 electron identified in RICH = " << Gammas_onetwo_Target.size() << endl;
1795}
1796
1797
1799 int EventNumMan, double AngleCut, double InvMassCut, int RealPID, vector<CbmMCTrack*> MCtracks_minus_Outside,
1800 vector<CbmMCTrack*> MCtracks_plus_Outside, vector<CbmStsTrack*> StsTrack_minus_Outside,
1801 vector<CbmStsTrack*> StsTrack_plus_Outside, std::vector<int> Rings_minus_Outside, std::vector<int> Rings_plus_Outside,
1802 std::vector<int> stsIndex_minus_Outside, std::vector<int> stsIndex_plus_Outside,
1803 vector<CbmRichRing*> richRing_minus_Outside, vector<CbmRichRing*> richRing_plus_Outside,
1804 vector<Int_t> MCIndex_minus_Outside, vector<Int_t> MCIndex_plus_Outside)
1805{
1806 for (size_t i = 0; i < StsTrack_minus_Outside.size(); i++) {
1807 for (size_t j = 0; j < StsTrack_plus_Outside.size(); j++) {
1808
1809 CbmStsTrack* part1STS = StsTrack_minus_Outside[i];
1810 CbmStsTrack* part2STS = StsTrack_plus_Outside[j];
1811 CbmMCTrack* part1MC = MCtracks_minus_Outside[i];
1812 CbmMCTrack* part2MC = MCtracks_plus_Outside[j];
1813
1814 KFParticle electron;
1816 KFParticle positron;
1817 CbmKFParticleInterface::SetKFParticleFromStsTrack(part2STS, &positron, -11);
1818 const KFParticle* daughters[2] = {&electron, &positron};
1819 KFParticle intersection;
1820 intersection.Construct(daughters, 2);
1821
1822 if (intersection.GetZ() > 75 || intersection.GetZ() < -5) continue; // kick weird intersections
1823
1824 // fit to the vertex fitter
1825 TVector3 part1 =
1826 CbmKresFunctions::FitToVertex(part1STS, intersection.GetX(), intersection.GetY(), intersection.GetZ());
1827 TVector3 part2 =
1828 CbmKresFunctions::FitToVertex(part2STS, intersection.GetX(), intersection.GetY(), intersection.GetZ());
1829
1830 // From maksym program
1831 //TVector3 part1(electron.KFParticleBase::Px(), electron.KFParticleBase::Py(), electron.KFParticleBase::Pz());
1832 //TVector3 part2(positron.KFParticleBase::Px(), positron.KFParticleBase::Py(), positron.KFParticleBase::Pz());
1833
1834
1835 //cout << "=================" << endl;
1836 //cout << "FitToVertex part1: px = " << part1.X() << "; \t py = " << part1.Y() << "; \t pz = " << part1.Z() << endl;
1837 //cout << "FitToVertex part2: px = " << part2.X() << "; \t py = " << part2.Y() << "; \t pz = " << part2.Z() << endl;
1838 //cout << "KFParticle part1: px = " << electron.KFParticleBase::Px() << "; \t py = " << electron.KFParticleBase::Py() << "; \t pz = " << electron.KFParticleBase::Pz() << endl;
1839 //cout << "KFParticle part2: px = " << positron.KFParticleBase::Px() << "; \t py = " << positron.KFParticleBase::Py() << "; \t pz = " << positron.KFParticleBase::Pz() << endl;
1840
1841
1842 int richcheck = 0;
1843 int richcheck_0 = 0;
1844 int richcheck_1 = 0;
1845 if (RealPID == 1) {
1846 // Real PID
1847 richcheck_0 = CheckIfElectron(richRing_minus_Outside[i], part1.Mag());
1848 richcheck_1 = CheckIfElectron(richRing_plus_Outside[j], part2.Mag());
1849 richcheck = richcheck_0 + richcheck_1;
1850 }
1851 else {
1852 // MC PID
1853 richcheck = Rings_minus_Outside[i] + Rings_plus_Outside[j];
1854 }
1855
1856
1857 Double_t InvmassReco = CbmKresFunctions::Invmass_2particles_RECO(part1, part2);
1858 Double_t OpeningAngle = CbmKresFunctions::CalculateOpeningAngle_Reco(part1, part2);
1859
1860 InvMass_vs_OA_candidates_Outside->Fill(InvmassReco, OpeningAngle);
1861 InvMass_vs_OA_candidates_Both->Fill(InvmassReco, OpeningAngle);
1862 GammasInvMass_candidates_Outside->Fill(InvmassReco);
1863 GammasInvMass_candidates_Both->Fill(InvmassReco);
1864 GammasOA_candidates_Outside->Fill(OpeningAngle);
1865 GammasOA_candidates_Both->Fill(OpeningAngle);
1866
1867 double PlaneAngle_last = CalculatePlaneAngle_last(part1STS, part2STS);
1868 double PlaneAngle_first = CalculatePlaneAngle_first(part1STS, part2STS);
1869
1870
1871 int IdForANN = 0; // 0 - means wrong pair combination; 1 - means correct pair
1872 if (part1MC->GetMotherId() == part2MC->GetMotherId() && part1MC->GetMotherId() != -1) {
1873 CbmMCTrack* mcTrackmama = (CbmMCTrack*) fMcTracks->At(part1MC->GetMotherId());
1874 if (mcTrackmama->GetMotherId() != -1 && mcTrackmama->GetPdgCode() == 22) {
1875 CbmMCTrack* mcTrackgrmama = (CbmMCTrack*) fMcTracks->At(mcTrackmama->GetMotherId());
1876 // IdForANN = 1;
1877 if (mcTrackgrmama->GetPdgCode() == 111) {
1878 GammasInvMass_fromPi0_Outside->Fill(InvmassReco);
1879 GammasInvMass_fromPi0_Both->Fill(InvmassReco);
1880 GammasOA_fromPi0_Outside->Fill(OpeningAngle);
1881 GammasOA_fromPi0_Both->Fill(OpeningAngle);
1882 InvMass_vs_OA_fromPi0_Outside->Fill(InvmassReco, OpeningAngle);
1883 InvMass_vs_OA_fromPi0_Both->Fill(InvmassReco, OpeningAngle);
1884 PlaneAngles_last_fromPi0_Outside->Fill(PlaneAngle_last);
1885 PlaneAngles_last_fromPi0_Both->Fill(PlaneAngle_last);
1886 PlaneAngles_first_fromPi0_Outside->Fill(PlaneAngle_first);
1887 PlaneAngles_first_fromPi0_Both->Fill(PlaneAngle_first);
1888 IdForANN = 1;
1889 }
1890 }
1891 }
1892
1893 // run ANN
1894 if (AnnTrain == 1) {
1895 fTrain->Exec(EventNumMan, IdForANN, InvmassReco, OpeningAngle, PlaneAngle_last, intersection.GetZ(), part1,
1896 part2);
1897 continue;
1898 }
1899
1900 double AnnValue = 999;
1901 if (UseAnn == 1) {
1902 AnnValue =
1903 fAnnSelection->DoSelect(InvmassReco, OpeningAngle, PlaneAngle_last, intersection.GetZ(), part1, part2);
1904 if (IdForANN == 1) AnnTruePairs->Fill(AnnValue);
1905 if (IdForANN == 0) AnnFalsePairs->Fill(AnnValue);
1906 }
1907
1908 PlaneAngles_last_candidates_Outside->Fill(PlaneAngle_last);
1909 PlaneAngles_last_candidates_Both->Fill(PlaneAngle_last);
1910 PlaneAngles_first_candidates_Outside->Fill(PlaneAngle_first);
1911 PlaneAngles_first_candidates_Both->Fill(PlaneAngle_first);
1912
1913 // cuts
1914 if (TMath::Abs(OpeningAngle) > AngleCut) continue;
1915 if (TMath::Abs(InvmassReco) > InvMassCut) continue;
1916 // if (AnnValue < 0.9) continue;
1917
1918 if (IdForANN == 1) AnnTruePairs_AfterCuts->Fill(AnnValue);
1919 if (IdForANN == 0) AnnFalsePairs_AfterCuts->Fill(AnnValue);
1920
1921 frefmomenta.clear();
1922 frefmomenta.push_back(part1);
1923 frefmomenta.push_back(part2);
1924
1925 frefId.clear();
1926 frefId.push_back(stsIndex_minus_Outside[i]);
1927 frefId.push_back(stsIndex_plus_Outside[j]);
1928 fMCtracks.clear();
1929 fMCtracks.push_back(part1MC);
1930 fMCtracks.push_back(part2MC);
1931 fMCId.clear();
1932 fMCId.push_back(MCIndex_minus_Outside[i]);
1933 fMCId.push_back(MCIndex_plus_Outside[j]);
1934
1935
1936 // for event mixing
1937 EMT_man_Event_Outside.push_back(EventNumMan);
1939 EMT_man_NofRings_Outside.push_back(richcheck);
1940
1941 // WAC event mixing
1942 EMT_man_Event_WAC.push_back(EventNumMan);
1944 EMT_man_NofRings_WAC.push_back(richcheck);
1945
1946
1947 // everything (RICH == 0, RICH == 1, RICH == 2) together
1948 if (richcheck == 0 || richcheck == 1 || richcheck == 2) {
1953 GammaInvMassReco_all_Outside->Fill(InvmassReco);
1954 GammaOpeningAngleReco_all_Outside->Fill(OpeningAngle);
1955 Pdg_all_Outside->Fill(TMath::Abs(part1MC->GetPdgCode()));
1956 Pdg_all_Outside->Fill(TMath::Abs(part2MC->GetPdgCode()));
1957 P_reco_all_Outside->Fill(part1.Mag());
1958 P_reco_all_Outside->Fill(part2.Mag());
1959 Pt_reco_all_Outside->Fill(part1.Perp());
1960 Pt_reco_all_Outside->Fill(part2.Perp());
1961 GammaInvMassReco_all_Both->Fill(InvmassReco);
1962 GammaOpeningAngleReco_all_Both->Fill(OpeningAngle);
1963 Pdg_all_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1964 Pdg_all_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1965 P_reco_all_Both->Fill(part1.Mag());
1966 P_reco_all_Both->Fill(part2.Mag());
1967 Pt_reco_all_Both->Fill(part1.Perp());
1968 Pt_reco_all_Both->Fill(part2.Perp());
1969 }
1970
1971 // only cases, when RICH == 0
1972 if (richcheck == 0) {
1977 GammaInvMassReco_zero_Outside->Fill(InvmassReco);
1978 GammaOpeningAngleReco_zero_Outside->Fill(OpeningAngle);
1979 Pdg_zero_Outside->Fill(TMath::Abs(part1MC->GetPdgCode()));
1980 Pdg_zero_Outside->Fill(TMath::Abs(part2MC->GetPdgCode()));
1981 P_reco_zero_Outside->Fill(part1.Mag());
1982 P_reco_zero_Outside->Fill(part2.Mag());
1983 Pt_reco_zero_Outside->Fill(part1.Perp());
1984 Pt_reco_zero_Outside->Fill(part2.Perp());
1985 GammaInvMassReco_zero_Both->Fill(InvmassReco);
1986 GammaOpeningAngleReco_zero_Both->Fill(OpeningAngle);
1987 Pdg_zero_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
1988 Pdg_zero_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
1989 P_reco_zero_Both->Fill(part1.Mag());
1990 P_reco_zero_Both->Fill(part2.Mag());
1991 Pt_reco_zero_Both->Fill(part1.Perp());
1992 Pt_reco_zero_Both->Fill(part2.Perp());
1993 }
1994
1995 // only cases, when RICH == 1
1996 if (richcheck == 1) {
2001 GammaInvMassReco_one_Outside->Fill(InvmassReco);
2002 GammaOpeningAngleReco_one_Outside->Fill(OpeningAngle);
2003 Pdg_one_Outside->Fill(TMath::Abs(part1MC->GetPdgCode()));
2004 Pdg_one_Outside->Fill(TMath::Abs(part2MC->GetPdgCode()));
2005 P_reco_one_Outside->Fill(part1.Mag());
2006 P_reco_one_Outside->Fill(part2.Mag());
2007 Pt_reco_one_Outside->Fill(part1.Perp());
2008 Pt_reco_one_Outside->Fill(part2.Perp());
2009 GammaInvMassReco_one_Both->Fill(InvmassReco);
2010 GammaOpeningAngleReco_one_Both->Fill(OpeningAngle);
2011 Pdg_one_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
2012 Pdg_one_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
2013 P_reco_one_Both->Fill(part1.Mag());
2014 P_reco_one_Both->Fill(part2.Mag());
2015 Pt_reco_one_Both->Fill(part1.Perp());
2016 Pt_reco_one_Both->Fill(part2.Perp());
2017 }
2018
2019 // only cases, when RICH == 2
2020 if (richcheck == 2) {
2025 GammaInvMassReco_two_Outside->Fill(InvmassReco);
2026 GammaOpeningAngleReco_two_Outside->Fill(OpeningAngle);
2027 Pdg_two_Outside->Fill(TMath::Abs(part1MC->GetPdgCode()));
2028 Pdg_two_Outside->Fill(TMath::Abs(part2MC->GetPdgCode()));
2029 P_reco_two_Outside->Fill(part1.Mag());
2030 P_reco_two_Outside->Fill(part2.Mag());
2031 Pt_reco_two_Outside->Fill(part1.Perp());
2032 Pt_reco_two_Outside->Fill(part2.Perp());
2033 GammaInvMassReco_two_Both->Fill(InvmassReco);
2034 GammaOpeningAngleReco_two_Both->Fill(OpeningAngle);
2035 Pdg_two_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
2036 Pdg_two_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
2037 P_reco_two_Both->Fill(part1.Mag());
2038 P_reco_two_Both->Fill(part2.Mag());
2039 Pt_reco_two_Both->Fill(part1.Perp());
2040 Pt_reco_two_Both->Fill(part2.Perp());
2041 }
2042
2043 // cases, when RICH == 1 or RICH == 2 together
2044 if (richcheck == 1 || richcheck == 2) {
2049 GammaInvMassReco_onetwo_Outside->Fill(InvmassReco);
2050 GammaOpeningAngleReco_onetwo_Outside->Fill(OpeningAngle);
2051 Pdg_onetwo_Outside->Fill(TMath::Abs(part1MC->GetPdgCode()));
2052 Pdg_onetwo_Outside->Fill(TMath::Abs(part2MC->GetPdgCode()));
2053 P_reco_onetwo_Outside->Fill(part1.Mag());
2054 P_reco_onetwo_Outside->Fill(part2.Mag());
2055 Pt_reco_onetwo_Outside->Fill(part1.Perp());
2056 Pt_reco_onetwo_Outside->Fill(part2.Perp());
2057 GammaInvMassReco_onetwo_Both->Fill(InvmassReco);
2058 GammaOpeningAngleReco_onetwo_Both->Fill(OpeningAngle);
2059 Pdg_onetwo_Both->Fill(TMath::Abs(part1MC->GetPdgCode()));
2060 Pdg_onetwo_Both->Fill(TMath::Abs(part2MC->GetPdgCode()));
2061 P_reco_onetwo_Both->Fill(part1.Mag());
2062 P_reco_onetwo_Both->Fill(part2.Mag());
2063 Pt_reco_onetwo_Both->Fill(part1.Perp());
2064 Pt_reco_onetwo_Both->Fill(part2.Perp());
2065 }
2066 }
2067 }
2068
2069 //cout << "number of gammas Outside with 0-2 electron identified in RICH = " << Gammas_all_Outside.size() << endl;
2070 //cout << "number of gammas Outside with 0 electron identified in RICH = " << Gammas_zero_Outside.size() << endl;
2071 //cout << "number of gammas Outside with 1 electron identified in RICH = " << Gammas_one_Outside.size() << endl;
2072 //cout << "number of gammas Outside with 2 electron identified in RICH = " << Gammas_two_Outside.size() << endl;
2073 //cout << "number of gammas Outside with 1-2 electron identified in RICH = " << Gammas_onetwo_Outside.size() << endl;
2074}
2075
2076
2078{
2089
2110
2131
2144
2145 //cout << "number of gammas Both with 0-2 electron identified in RICH = " << Gammas_all_Both.size() << endl;
2146 //cout << "number of gammas Both with 0 electron identified in RICH = " << Gammas_zero_Both.size() << endl;
2147 //cout << "number of gammas Both with 1 electron identified in RICH = " << Gammas_one_Both.size() << endl;
2148 //cout << "number of gammas Both with 2 electron identified in RICH = " << Gammas_two_Both.size() << endl;
2149 //cout << "number of gammas Both with 1-2 electron identified in RICH = " << Gammas_onetwo_Both.size() << endl;
2150}
2151
2152
2154{
2155 // from target should be always 2 particles identified like electrons. From outside 0,1,2 --> target (two) + outside (all)
2156 Gamma_WAC.insert(Gamma_WAC.end(), Gammas_two_Target.begin(), Gammas_two_Target.end());
2157 Gamma_WAC.insert(Gamma_WAC.end(), Gammas_all_Outside.begin(), Gammas_all_Outside.end());
2168}
2169
2170
2171void CbmKresConversionManual::FindPi0(TString mod, TString position, vector<vector<TVector3>> Gammas,
2172 vector<vector<int>> StsIndex, vector<vector<int>> MCIndex,
2173 vector<vector<CbmMCTrack*>> GammasMC, TH1D* Pi0InvMassReco, TH2D* Pi0_pt_vs_rap,
2174 TH2D* Pi0_pt_vs_rap_est, TH2D* MultiplicityGamma,
2175 TH2D* MultiplicityChargedParticles, vector<TH1*> BGCases, TH1D* DalitzPi0,
2176 TH1D* PhotonsPi0)
2177{
2178 // combine all gamma in pi0 --> calculate inv mass for gammas and pi0 // not the case, when one particle used twice for different gammas
2179 if (Gammas.size() < 2) return; // min 2 gammas to form pi0 are required
2180 for (size_t gamma1 = 0; gamma1 < Gammas.size() - 1; gamma1++) {
2181 for (size_t gamma2 = gamma1 + 1; gamma2 < Gammas.size(); gamma2++) {
2182 // 4 reconstructed particles from gammas
2183 TVector3 e11 = Gammas[gamma1][0];
2184 TVector3 e12 = Gammas[gamma1][1];
2185 TVector3 e21 = Gammas[gamma2][0];
2186 TVector3 e22 = Gammas[gamma2][1];
2187
2188 // MC true data for this particles
2189 CbmMCTrack* mcTrack1 = GammasMC[gamma1][0];
2190 CbmMCTrack* mcTrack2 = GammasMC[gamma1][1];
2191 CbmMCTrack* mcTrack3 = GammasMC[gamma2][0];
2192 CbmMCTrack* mcTrack4 = GammasMC[gamma2][1];
2193
2194 if (StsIndex[gamma1][0] == StsIndex[gamma2][0] || StsIndex[gamma1][0] == StsIndex[gamma2][1]
2195 || StsIndex[gamma1][1] == StsIndex[gamma2][0] || StsIndex[gamma1][1] == StsIndex[gamma2][1])
2196 continue; // particles are not used twice --> different
2197
2199
2202 // Double_t OA1 = CbmKresFunctions::CalculateOpeningAngle_Reco(e11, e12);
2203 // Double_t OA2 = CbmKresFunctions::CalculateOpeningAngle_Reco(e21, e22);
2204 //if (params.fRapidity > 2.8 && params.fRapidity <= 3.6 && params.fPt > 0.0 && params.fPt <= 0.4 && OA1 > 1 && OA2 > 1) continue;
2205
2206 Pi0InvMassReco->Fill(params.fMinv);
2207 MultiplicityGamma->Fill(Gammas.size(), params.fMinv);
2208 MultiplicityChargedParticles->Fill(fGlobalTracks->GetEntriesFast(), params.fMinv);
2209
2210 // separate by rap and Pt only for onetwo
2211 if (mod == "OneTwo" && position == "Both") {
2212
2213 // only pt
2214 if (params.fPt > 0.0 && params.fPt <= 0.1) pt_onetwo_1->Fill(params.fMinv);
2215 if (params.fPt > 0.1 && params.fPt <= 0.2) pt_onetwo_2->Fill(params.fMinv);
2216 if (params.fPt > 0.2 && params.fPt <= 0.3) pt_onetwo_3->Fill(params.fMinv);
2217 if (params.fPt > 0.3 && params.fPt <= 0.4) pt_onetwo_4->Fill(params.fMinv);
2218 if (params.fPt > 0.4 && params.fPt <= 0.5) pt_onetwo_5->Fill(params.fMinv);
2219 if (params.fPt > 0.5 && params.fPt <= 0.6) pt_onetwo_6->Fill(params.fMinv);
2220 if (params.fPt > 0.6 && params.fPt <= 0.7) pt_onetwo_7->Fill(params.fMinv);
2221 if (params.fPt > 0.7 && params.fPt <= 0.8) pt_onetwo_8->Fill(params.fMinv);
2222 if (params.fPt > 0.8 && params.fPt <= 0.9) pt_onetwo_9->Fill(params.fMinv);
2223 if (params.fPt > 0.9 && params.fPt <= 1.0) pt_onetwo_10->Fill(params.fMinv);
2224 if (params.fPt > 1.0 && params.fPt <= 1.1) pt_onetwo_11->Fill(params.fMinv);
2225 if (params.fPt > 1.1 && params.fPt <= 1.2) pt_onetwo_12->Fill(params.fMinv);
2226 if (params.fPt > 1.2 && params.fPt <= 1.3) pt_onetwo_13->Fill(params.fMinv);
2227 if (params.fPt > 1.3 && params.fPt <= 1.4) pt_onetwo_14->Fill(params.fMinv);
2228 if (params.fPt > 1.4 && params.fPt <= 1.5) pt_onetwo_15->Fill(params.fMinv);
2229 if (params.fPt > 1.5 && params.fPt <= 1.6) pt_onetwo_16->Fill(params.fMinv);
2230 if (params.fPt > 1.6 && params.fPt <= 1.7) pt_onetwo_17->Fill(params.fMinv);
2231 if (params.fPt > 1.7 && params.fPt <= 1.8) pt_onetwo_18->Fill(params.fMinv);
2232 if (params.fPt > 1.8 && params.fPt <= 1.9) pt_onetwo_19->Fill(params.fMinv);
2233 if (params.fPt > 1.9 && params.fPt <= 2.0) pt_onetwo_20->Fill(params.fMinv);
2234
2235 if (params.fRapidity > 1.2 && params.fRapidity <= 1.6) {
2236 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_1->Fill(params.fMinv);
2237 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_2->Fill(params.fMinv);
2238 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_3->Fill(params.fMinv);
2239 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_4->Fill(params.fMinv);
2240 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_5->Fill(params.fMinv);
2241 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_6->Fill(params.fMinv);
2242 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_7->Fill(params.fMinv);
2243 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_8->Fill(params.fMinv);
2244 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_9->Fill(params.fMinv);
2245 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_10->Fill(params.fMinv);
2246 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_11->Fill(params.fMinv);
2247 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_12->Fill(params.fMinv);
2248 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_13->Fill(params.fMinv);
2249 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_14->Fill(params.fMinv);
2250 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_15->Fill(params.fMinv);
2251 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_16->Fill(params.fMinv);
2252 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_17->Fill(params.fMinv);
2253 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_18->Fill(params.fMinv);
2254 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_19->Fill(params.fMinv);
2255 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_20->Fill(params.fMinv);
2256 }
2257 if (params.fRapidity > 1.6 && params.fRapidity <= 2.0) {
2258 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_21->Fill(params.fMinv);
2259 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_22->Fill(params.fMinv);
2260 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_23->Fill(params.fMinv);
2261 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_24->Fill(params.fMinv);
2262 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_25->Fill(params.fMinv);
2263 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_26->Fill(params.fMinv);
2264 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_27->Fill(params.fMinv);
2265 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_28->Fill(params.fMinv);
2266 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_29->Fill(params.fMinv);
2267 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_30->Fill(params.fMinv);
2268 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_31->Fill(params.fMinv);
2269 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_32->Fill(params.fMinv);
2270 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_33->Fill(params.fMinv);
2271 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_34->Fill(params.fMinv);
2272 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_35->Fill(params.fMinv);
2273 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_36->Fill(params.fMinv);
2274 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_37->Fill(params.fMinv);
2275 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_38->Fill(params.fMinv);
2276 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_39->Fill(params.fMinv);
2277 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_40->Fill(params.fMinv);
2278 }
2279 if (params.fRapidity > 2.0 && params.fRapidity <= 2.4) {
2280 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_41->Fill(params.fMinv);
2281 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_42->Fill(params.fMinv);
2282 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_43->Fill(params.fMinv);
2283 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_44->Fill(params.fMinv);
2284 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_45->Fill(params.fMinv);
2285 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_46->Fill(params.fMinv);
2286 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_47->Fill(params.fMinv);
2287 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_48->Fill(params.fMinv);
2288 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_49->Fill(params.fMinv);
2289 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_50->Fill(params.fMinv);
2290 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_51->Fill(params.fMinv);
2291 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_52->Fill(params.fMinv);
2292 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_53->Fill(params.fMinv);
2293 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_54->Fill(params.fMinv);
2294 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_55->Fill(params.fMinv);
2295 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_56->Fill(params.fMinv);
2296 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_57->Fill(params.fMinv);
2297 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_58->Fill(params.fMinv);
2298 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_59->Fill(params.fMinv);
2299 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_60->Fill(params.fMinv);
2300 }
2301 if (params.fRapidity > 2.4 && params.fRapidity <= 2.8) {
2302 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_61->Fill(params.fMinv);
2303 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_62->Fill(params.fMinv);
2304 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_63->Fill(params.fMinv);
2305 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_64->Fill(params.fMinv);
2306 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_65->Fill(params.fMinv);
2307 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_66->Fill(params.fMinv);
2308 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_67->Fill(params.fMinv);
2309 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_68->Fill(params.fMinv);
2310 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_69->Fill(params.fMinv);
2311 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_70->Fill(params.fMinv);
2312 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_71->Fill(params.fMinv);
2313 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_72->Fill(params.fMinv);
2314 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_73->Fill(params.fMinv);
2315 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_74->Fill(params.fMinv);
2316 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_75->Fill(params.fMinv);
2317 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_76->Fill(params.fMinv);
2318 }
2319 if (params.fRapidity > 2.8 && params.fRapidity <= 3.2) {
2320 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_81->Fill(params.fMinv);
2321 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_82->Fill(params.fMinv);
2322 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_83->Fill(params.fMinv);
2323 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_84->Fill(params.fMinv);
2324 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_85->Fill(params.fMinv);
2325 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_86->Fill(params.fMinv);
2326 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_87->Fill(params.fMinv);
2327 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_88->Fill(params.fMinv);
2328 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_89->Fill(params.fMinv);
2329 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_90->Fill(params.fMinv);
2330 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_91->Fill(params.fMinv);
2331 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_92->Fill(params.fMinv);
2332 }
2333 if (params.fRapidity > 3.2 && params.fRapidity <= 3.6) {
2334 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_101->Fill(params.fMinv);
2335 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_102->Fill(params.fMinv);
2336 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_103->Fill(params.fMinv);
2337 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_104->Fill(params.fMinv);
2338 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_105->Fill(params.fMinv);
2339 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_106->Fill(params.fMinv);
2340 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_107->Fill(params.fMinv);
2341 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_108->Fill(params.fMinv);
2342 }
2343 if (params.fRapidity > 3.6 && params.fRapidity <= 4.0) {
2344 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_111->Fill(params.fMinv);
2345 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_112->Fill(params.fMinv);
2346 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_113->Fill(params.fMinv);
2347 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_114->Fill(params.fMinv);
2348 }
2349 }
2350
2351
2352 // separate by rap and Pt only for onetwo
2353 if (mod == "All" && position == "Both") {
2354
2355 // only pt
2356 if (params.fPt > 0.0 && params.fPt <= 0.1) pt_all_1->Fill(params.fMinv);
2357 if (params.fPt > 0.1 && params.fPt <= 0.2) pt_all_2->Fill(params.fMinv);
2358 if (params.fPt > 0.2 && params.fPt <= 0.3) pt_all_3->Fill(params.fMinv);
2359 if (params.fPt > 0.3 && params.fPt <= 0.4) pt_all_4->Fill(params.fMinv);
2360 if (params.fPt > 0.4 && params.fPt <= 0.5) pt_all_5->Fill(params.fMinv);
2361 if (params.fPt > 0.5 && params.fPt <= 0.6) pt_all_6->Fill(params.fMinv);
2362 if (params.fPt > 0.6 && params.fPt <= 0.7) pt_all_7->Fill(params.fMinv);
2363 if (params.fPt > 0.7 && params.fPt <= 0.8) pt_all_8->Fill(params.fMinv);
2364 if (params.fPt > 0.8 && params.fPt <= 0.9) pt_all_9->Fill(params.fMinv);
2365 if (params.fPt > 0.9 && params.fPt <= 1.0) pt_all_10->Fill(params.fMinv);
2366 if (params.fPt > 1.0 && params.fPt <= 1.1) pt_all_11->Fill(params.fMinv);
2367 if (params.fPt > 1.1 && params.fPt <= 1.2) pt_all_12->Fill(params.fMinv);
2368 if (params.fPt > 1.2 && params.fPt <= 1.3) pt_all_13->Fill(params.fMinv);
2369 if (params.fPt > 1.3 && params.fPt <= 1.4) pt_all_14->Fill(params.fMinv);
2370 if (params.fPt > 1.4 && params.fPt <= 1.5) pt_all_15->Fill(params.fMinv);
2371 if (params.fPt > 1.5 && params.fPt <= 1.6) pt_all_16->Fill(params.fMinv);
2372 if (params.fPt > 1.6 && params.fPt <= 1.7) pt_all_17->Fill(params.fMinv);
2373 if (params.fPt > 1.7 && params.fPt <= 1.8) pt_all_18->Fill(params.fMinv);
2374 if (params.fPt > 1.8 && params.fPt <= 1.9) pt_all_19->Fill(params.fMinv);
2375 if (params.fPt > 1.9 && params.fPt <= 2.0) pt_all_20->Fill(params.fMinv);
2376
2377 if (params.fRapidity > 1.2 && params.fRapidity <= 1.6) {
2378 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_1->Fill(params.fMinv);
2379 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_2->Fill(params.fMinv);
2380 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_3->Fill(params.fMinv);
2381 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_4->Fill(params.fMinv);
2382 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_5->Fill(params.fMinv);
2383 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_6->Fill(params.fMinv);
2384 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_7->Fill(params.fMinv);
2385 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_8->Fill(params.fMinv);
2386 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_9->Fill(params.fMinv);
2387 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_10->Fill(params.fMinv);
2388 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_11->Fill(params.fMinv);
2389 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_12->Fill(params.fMinv);
2390 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_13->Fill(params.fMinv);
2391 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_14->Fill(params.fMinv);
2392 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_15->Fill(params.fMinv);
2393 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_16->Fill(params.fMinv);
2394 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_all_17->Fill(params.fMinv);
2395 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_all_18->Fill(params.fMinv);
2396 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_all_19->Fill(params.fMinv);
2397 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_all_20->Fill(params.fMinv);
2398 }
2399 if (params.fRapidity > 1.6 && params.fRapidity <= 2.0) {
2400 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_21->Fill(params.fMinv);
2401 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_22->Fill(params.fMinv);
2402 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_23->Fill(params.fMinv);
2403 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_24->Fill(params.fMinv);
2404 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_25->Fill(params.fMinv);
2405 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_26->Fill(params.fMinv);
2406 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_27->Fill(params.fMinv);
2407 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_28->Fill(params.fMinv);
2408 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_29->Fill(params.fMinv);
2409 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_30->Fill(params.fMinv);
2410 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_31->Fill(params.fMinv);
2411 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_32->Fill(params.fMinv);
2412 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_33->Fill(params.fMinv);
2413 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_34->Fill(params.fMinv);
2414 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_35->Fill(params.fMinv);
2415 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_36->Fill(params.fMinv);
2416 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_all_37->Fill(params.fMinv);
2417 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_all_38->Fill(params.fMinv);
2418 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_all_39->Fill(params.fMinv);
2419 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_all_40->Fill(params.fMinv);
2420 }
2421 if (params.fRapidity > 2.0 && params.fRapidity <= 2.4) {
2422 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_41->Fill(params.fMinv);
2423 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_42->Fill(params.fMinv);
2424 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_43->Fill(params.fMinv);
2425 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_44->Fill(params.fMinv);
2426 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_45->Fill(params.fMinv);
2427 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_46->Fill(params.fMinv);
2428 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_47->Fill(params.fMinv);
2429 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_48->Fill(params.fMinv);
2430 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_49->Fill(params.fMinv);
2431 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_50->Fill(params.fMinv);
2432 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_51->Fill(params.fMinv);
2433 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_52->Fill(params.fMinv);
2434 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_53->Fill(params.fMinv);
2435 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_54->Fill(params.fMinv);
2436 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_55->Fill(params.fMinv);
2437 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_56->Fill(params.fMinv);
2438 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_all_57->Fill(params.fMinv);
2439 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_all_58->Fill(params.fMinv);
2440 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_all_59->Fill(params.fMinv);
2441 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_all_60->Fill(params.fMinv);
2442 }
2443 if (params.fRapidity > 2.4 && params.fRapidity <= 2.8) {
2444 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_61->Fill(params.fMinv);
2445 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_62->Fill(params.fMinv);
2446 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_63->Fill(params.fMinv);
2447 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_64->Fill(params.fMinv);
2448 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_65->Fill(params.fMinv);
2449 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_66->Fill(params.fMinv);
2450 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_67->Fill(params.fMinv);
2451 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_68->Fill(params.fMinv);
2452 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_69->Fill(params.fMinv);
2453 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_70->Fill(params.fMinv);
2454 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_71->Fill(params.fMinv);
2455 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_72->Fill(params.fMinv);
2456 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_73->Fill(params.fMinv);
2457 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_74->Fill(params.fMinv);
2458 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_75->Fill(params.fMinv);
2459 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_76->Fill(params.fMinv);
2460 }
2461 if (params.fRapidity > 2.8 && params.fRapidity <= 3.2) {
2462 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_81->Fill(params.fMinv);
2463 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_82->Fill(params.fMinv);
2464 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_83->Fill(params.fMinv);
2465 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_84->Fill(params.fMinv);
2466 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_85->Fill(params.fMinv);
2467 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_86->Fill(params.fMinv);
2468 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_87->Fill(params.fMinv);
2469 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_88->Fill(params.fMinv);
2470 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_89->Fill(params.fMinv);
2471 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_90->Fill(params.fMinv);
2472 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_91->Fill(params.fMinv);
2473 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_92->Fill(params.fMinv);
2474 }
2475 if (params.fRapidity > 3.2 && params.fRapidity <= 3.6) {
2476 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_101->Fill(params.fMinv);
2477 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_102->Fill(params.fMinv);
2478 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_103->Fill(params.fMinv);
2479 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_104->Fill(params.fMinv);
2480 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_105->Fill(params.fMinv);
2481 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_106->Fill(params.fMinv);
2482 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_107->Fill(params.fMinv);
2483 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_108->Fill(params.fMinv);
2484 }
2485 if (params.fRapidity > 3.6 && params.fRapidity <= 4.0) {
2486 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_111->Fill(params.fMinv);
2487 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_112->Fill(params.fMinv);
2488 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_113->Fill(params.fMinv);
2489 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_114->Fill(params.fMinv);
2490 }
2491 }
2492
2493
2494 if (position == "Both") fAnaBG->Exec(mcTrack1, mcTrack2, mcTrack3, mcTrack4, params.fMinv, BGCases);
2495
2496
2497 int STSmcId1 = MCIndex[gamma1][0];
2498 int STSmcId2 = MCIndex[gamma1][1];
2499 int STSmcId3 = MCIndex[gamma2][0];
2500 int STSmcId4 = MCIndex[gamma2][1];
2501 if (STSmcId1 == STSmcId2 || STSmcId1 == STSmcId3 || STSmcId1 == STSmcId4 || STSmcId2 == STSmcId3
2502 || STSmcId2 == STSmcId4 || STSmcId3 == STSmcId4)
2503 continue; // particle is not used twice
2504
2505 // fill histos with rapidity and Pt for correctly reconstructed pi0(dalitz) and pi0(g+g)
2506 if (nullptr == mcTrack1 || nullptr == mcTrack2 || nullptr == mcTrack3 || nullptr == mcTrack4) continue;
2507 if (TMath::Abs(mcTrack1->GetPdgCode()) != 11 || TMath::Abs(mcTrack2->GetPdgCode()) != 11
2508 || TMath::Abs(mcTrack3->GetPdgCode()) != 11 || TMath::Abs(mcTrack4->GetPdgCode()) != 11)
2509 continue;
2510 if (mcTrack1->GetPdgCode() + mcTrack2->GetPdgCode() != 0) continue;
2511 if (mcTrack3->GetPdgCode() + mcTrack4->GetPdgCode() != 0) continue;
2512 int motherId1 = mcTrack1->GetMotherId();
2513 int motherId2 = mcTrack2->GetMotherId();
2514 int motherId3 = mcTrack3->GetMotherId();
2515 int motherId4 = mcTrack4->GetMotherId();
2516 if (motherId1 == -1 || motherId2 == -1 || motherId3 == -1 || motherId4 == -1) continue;
2517 if (motherId1 != motherId2 || motherId3 != motherId4) continue;
2518 CbmMCTrack* mother1 = (CbmMCTrack*) fMcTracks->At(motherId1);
2519 CbmMCTrack* mother2 = (CbmMCTrack*) fMcTracks->At(motherId2);
2520 CbmMCTrack* mother3 = (CbmMCTrack*) fMcTracks->At(motherId3);
2521 CbmMCTrack* mother4 = (CbmMCTrack*) fMcTracks->At(motherId4);
2522 if (nullptr == mother1 || nullptr == mother2 || nullptr == mother3 || nullptr == mother4) continue;
2523 int mcMotherPdg1 = mother1->GetPdgCode();
2524 int mcMotherPdg2 = mother2->GetPdgCode();
2525 int mcMotherPdg3 = mother3->GetPdgCode();
2526 int mcMotherPdg4 = mother4->GetPdgCode();
2527 int grandmotherId1 = mother1->GetMotherId();
2528 int grandmotherId2 = mother2->GetMotherId();
2529 int grandmotherId3 = mother3->GetMotherId();
2530 int grandmotherId4 = mother4->GetMotherId();
2531
2532 if (mcMotherPdg1 == 22 && mcMotherPdg2 == 22 && mcMotherPdg3 == 111 && mcMotherPdg4 == 111) {
2533 if (grandmotherId1 != motherId3) continue;
2534 Pi0_pt_vs_rap->Fill(params.fRapidity, params.fPt);
2535 Pi0_pt_vs_rap_est->Fill(params.fRapidity, params.fPt);
2536 if (mod == "OneTwo" && position == "Both") Pi0_pt_est_onetwo_Both->Fill(params.fPt);
2537 if (mod == "All" && position == "Both") Pi0_pt_est_all_Both->Fill(params.fPt);
2538 DalitzPi0->Fill(params.fMinv);
2539 }
2540
2541 if (mcMotherPdg1 == 111 && mcMotherPdg2 == 111 && mcMotherPdg3 == 22 && mcMotherPdg4 == 22) {
2542 if (grandmotherId3 != motherId1) continue;
2543 Pi0_pt_vs_rap->Fill(params.fRapidity, params.fPt);
2544 Pi0_pt_vs_rap_est->Fill(params.fRapidity, params.fPt);
2545 if (mod == "OneTwo" && position == "Both") Pi0_pt_est_onetwo_Both->Fill(params.fPt);
2546 if (mod == "All" && position == "Both") Pi0_pt_est_all_Both->Fill(params.fPt);
2547 DalitzPi0->Fill(params.fMinv);
2548 }
2549
2550 if (mcMotherPdg1 == 22 && mcMotherPdg2 == 22 && mcMotherPdg3 == 22 && mcMotherPdg4 == 22) {
2551 if (grandmotherId1 != grandmotherId2 || grandmotherId3 != grandmotherId4 || grandmotherId1 != grandmotherId3)
2552 continue;
2553 if (grandmotherId1 == -1) continue;
2554 CbmMCTrack* grandmother1 = (CbmMCTrack*) fMcTracks->At(grandmotherId1);
2555 if (nullptr == grandmother1) continue;
2556 int mcGrandMotherPdg1 = grandmother1->GetPdgCode();
2557 if (mcGrandMotherPdg1 != 111) continue;
2558 Pi0_pt_vs_rap->Fill(params.fRapidity, params.fPt);
2559 Pi0_pt_vs_rap_est->Fill(params.fRapidity, params.fPt);
2560 if (mod == "OneTwo" && position == "Both") Pi0_pt_est_onetwo_Both->Fill(params.fPt);
2561 if (mod == "All" && position == "Both") Pi0_pt_est_all_Both->Fill(params.fPt);
2562 PhotonsPi0->Fill(params.fMinv);
2563 }
2564 }
2565 }
2566}
2567
2568
2570// TARGET
2571{
2572 Int_t nof_Target = EMT_man_Event_Target.size();
2573 cout << "Mixing in Manual(Target) - nof entries " << nof_Target << endl;
2574 for (Int_t a = 0; a < nof_Target - 1; a++) {
2575 for (Int_t b = a + 1; b < nof_Target; b++) {
2577 continue; // to make sure that the photons are from two different events
2578 TVector3 e11 = EMT_man_pair_momenta_Target[a][0];
2579 TVector3 e12 = EMT_man_pair_momenta_Target[a][1];
2580 TVector3 e21 = EMT_man_pair_momenta_Target[b][0];
2581 TVector3 e22 = EMT_man_pair_momenta_Target[b][1];
2583
2584 EMT_InvMass_all_Target->Fill(params.fMinv);
2585 if (EMT_man_NofRings_Target[a] == 0 && EMT_man_NofRings_Target[b] == 0)
2586 EMT_InvMass_zero_Target->Fill(params.fMinv);
2587 if (EMT_man_NofRings_Target[a] == 1 && EMT_man_NofRings_Target[b] == 1)
2588 EMT_InvMass_one_Target->Fill(params.fMinv);
2589 if (EMT_man_NofRings_Target[a] == 2 && EMT_man_NofRings_Target[b] == 2)
2590 EMT_InvMass_two_Target->Fill(params.fMinv);
2591 if ((EMT_man_NofRings_Target[a] == 1 || EMT_man_NofRings_Target[a] == 2)
2592 && (EMT_man_NofRings_Target[b] == 1 || EMT_man_NofRings_Target[b] == 2))
2593 EMT_InvMass_onetwo_Target->Fill(params.fMinv);
2594 }
2595 }
2596}
2597
2598
2600// OUTSIDE
2601{
2602 Int_t nof_Outside = EMT_man_Event_Outside.size();
2603 cout << "Mixing in Manual(Outside) - nof entries " << nof_Outside << endl;
2604 for (Int_t a = 0; a < nof_Outside - 1; a++) {
2605 for (Int_t b = a + 1; b < nof_Outside; b++) {
2607 continue; // to make sure that the photons are from two different events
2608 TVector3 e11 = EMT_man_pair_momenta_Outside[a][0];
2609 TVector3 e12 = EMT_man_pair_momenta_Outside[a][1];
2610 TVector3 e21 = EMT_man_pair_momenta_Outside[b][0];
2611 TVector3 e22 = EMT_man_pair_momenta_Outside[b][1];
2613
2614 EMT_InvMass_all_Outside->Fill(params.fMinv);
2616 EMT_InvMass_zero_Outside->Fill(params.fMinv);
2618 EMT_InvMass_one_Outside->Fill(params.fMinv);
2620 EMT_InvMass_two_Outside->Fill(params.fMinv);
2621 if ((EMT_man_NofRings_Outside[a] == 1 || EMT_man_NofRings_Outside[a] == 2)
2622 && (EMT_man_NofRings_Outside[b] == 1 || EMT_man_NofRings_Outside[b] == 2))
2623 EMT_InvMass_onetwo_Outside->Fill(params.fMinv);
2624 }
2625 }
2626}
2627
2628
2630// BOTH
2631{
2632 Int_t nof_Both = EMT_man_Event_Both.size();
2633 cout << "Mixing in Manual(Both) - nof entries " << nof_Both << endl;
2634 for (Int_t a = 0; a < nof_Both - 1; a++) {
2635 for (Int_t b = a + 1; b < nof_Both; b++) {
2637 continue; // to make sure that the photons are from two different events
2638 TVector3 e11 = EMT_man_pair_momenta_Both[a][0];
2639 TVector3 e12 = EMT_man_pair_momenta_Both[a][1];
2640 TVector3 e21 = EMT_man_pair_momenta_Both[b][0];
2641 TVector3 e22 = EMT_man_pair_momenta_Both[b][1];
2643
2644 EMT_InvMass_all_Both->Fill(params.fMinv);
2645 if (EMT_man_NofRings_Both[a] == 0 && EMT_man_NofRings_Both[b] == 0) EMT_InvMass_zero_Both->Fill(params.fMinv);
2646 if (EMT_man_NofRings_Both[a] == 1 && EMT_man_NofRings_Both[b] == 1) EMT_InvMass_one_Both->Fill(params.fMinv);
2647 if (EMT_man_NofRings_Both[a] == 2 && EMT_man_NofRings_Both[b] == 2) EMT_InvMass_two_Both->Fill(params.fMinv);
2648 if ((EMT_man_NofRings_Both[a] == 1 || EMT_man_NofRings_Both[a] == 2)
2649 && (EMT_man_NofRings_Both[b] == 1 || EMT_man_NofRings_Both[b] == 2))
2650 EMT_InvMass_onetwo_Both->Fill(params.fMinv);
2651
2652 // separate by rap and Pt only for onetwo
2653 if ((EMT_man_NofRings_Both[a] == 1 || EMT_man_NofRings_Both[a] == 2)
2654 && (EMT_man_NofRings_Both[b] == 1 || EMT_man_NofRings_Both[b] == 2)) {
2655 if (params.fRapidity > 1.2 && params.fRapidity <= 1.6) {
2656 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_1->Fill(params.fMinv);
2657 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_2->Fill(params.fMinv);
2658 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_3->Fill(params.fMinv);
2659 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_4->Fill(params.fMinv);
2660 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_mixing_5->Fill(params.fMinv);
2661 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_mixing_6->Fill(params.fMinv);
2662 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_mixing_7->Fill(params.fMinv);
2663 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_mixing_8->Fill(params.fMinv);
2664 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_mixing_9->Fill(params.fMinv);
2665 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_mixing_10->Fill(params.fMinv);
2666 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_mixing_11->Fill(params.fMinv);
2667 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_mixing_12->Fill(params.fMinv);
2668 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_mixing_13->Fill(params.fMinv);
2669 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_mixing_14->Fill(params.fMinv);
2670 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_mixing_15->Fill(params.fMinv);
2671 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_mixing_16->Fill(params.fMinv);
2672 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_mixing_17->Fill(params.fMinv);
2673 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_mixing_18->Fill(params.fMinv);
2674 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_mixing_19->Fill(params.fMinv);
2675 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_mixing_20->Fill(params.fMinv);
2676 }
2677 if (params.fRapidity > 1.6 && params.fRapidity <= 2.0) {
2678 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_21->Fill(params.fMinv);
2679 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_22->Fill(params.fMinv);
2680 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_23->Fill(params.fMinv);
2681 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_24->Fill(params.fMinv);
2682 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_mixing_25->Fill(params.fMinv);
2683 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_mixing_26->Fill(params.fMinv);
2684 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_mixing_27->Fill(params.fMinv);
2685 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_mixing_28->Fill(params.fMinv);
2686 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_mixing_29->Fill(params.fMinv);
2687 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_mixing_30->Fill(params.fMinv);
2688 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_mixing_31->Fill(params.fMinv);
2689 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_mixing_32->Fill(params.fMinv);
2690 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_mixing_33->Fill(params.fMinv);
2691 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_mixing_34->Fill(params.fMinv);
2692 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_mixing_35->Fill(params.fMinv);
2693 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_mixing_36->Fill(params.fMinv);
2694 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_mixing_37->Fill(params.fMinv);
2695 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_mixing_38->Fill(params.fMinv);
2696 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_mixing_39->Fill(params.fMinv);
2697 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_mixing_40->Fill(params.fMinv);
2698 }
2699 if (params.fRapidity > 2.0 && params.fRapidity <= 2.4) {
2700 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_41->Fill(params.fMinv);
2701 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_42->Fill(params.fMinv);
2702 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_43->Fill(params.fMinv);
2703 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_44->Fill(params.fMinv);
2704 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_mixing_45->Fill(params.fMinv);
2705 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_mixing_46->Fill(params.fMinv);
2706 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_mixing_47->Fill(params.fMinv);
2707 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_mixing_48->Fill(params.fMinv);
2708 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_mixing_49->Fill(params.fMinv);
2709 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_mixing_50->Fill(params.fMinv);
2710 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_mixing_51->Fill(params.fMinv);
2711 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_mixing_52->Fill(params.fMinv);
2712 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_mixing_53->Fill(params.fMinv);
2713 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_mixing_54->Fill(params.fMinv);
2714 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_mixing_55->Fill(params.fMinv);
2715 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_mixing_56->Fill(params.fMinv);
2716 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_mixing_57->Fill(params.fMinv);
2717 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_mixing_58->Fill(params.fMinv);
2718 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_mixing_59->Fill(params.fMinv);
2719 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_mixing_60->Fill(params.fMinv);
2720 }
2721 if (params.fRapidity > 2.4 && params.fRapidity <= 2.8) {
2722 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_61->Fill(params.fMinv);
2723 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_62->Fill(params.fMinv);
2724 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_63->Fill(params.fMinv);
2725 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_64->Fill(params.fMinv);
2726 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_mixing_65->Fill(params.fMinv);
2727 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_mixing_66->Fill(params.fMinv);
2728 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_mixing_67->Fill(params.fMinv);
2729 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_mixing_68->Fill(params.fMinv);
2730 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_mixing_69->Fill(params.fMinv);
2731 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_mixing_70->Fill(params.fMinv);
2732 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_mixing_71->Fill(params.fMinv);
2733 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_mixing_72->Fill(params.fMinv);
2734 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_mixing_73->Fill(params.fMinv);
2735 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_mixing_74->Fill(params.fMinv);
2736 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_mixing_75->Fill(params.fMinv);
2737 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_mixing_76->Fill(params.fMinv);
2738 }
2739 if (params.fRapidity > 2.8 && params.fRapidity <= 3.2) {
2740 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_81->Fill(params.fMinv);
2741 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_82->Fill(params.fMinv);
2742 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_83->Fill(params.fMinv);
2743 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_84->Fill(params.fMinv);
2744 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_mixing_85->Fill(params.fMinv);
2745 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_mixing_86->Fill(params.fMinv);
2746 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_mixing_87->Fill(params.fMinv);
2747 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_mixing_88->Fill(params.fMinv);
2748 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_mixing_89->Fill(params.fMinv);
2749 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_mixing_90->Fill(params.fMinv);
2750 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_mixing_91->Fill(params.fMinv);
2751 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_mixing_92->Fill(params.fMinv);
2752 }
2753 if (params.fRapidity > 3.2 && params.fRapidity <= 3.6) {
2754 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_101->Fill(params.fMinv);
2755 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_102->Fill(params.fMinv);
2756 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_103->Fill(params.fMinv);
2757 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_104->Fill(params.fMinv);
2758 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_mixing_105->Fill(params.fMinv);
2759 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_mixing_106->Fill(params.fMinv);
2760 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_mixing_107->Fill(params.fMinv);
2761 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_mixing_108->Fill(params.fMinv);
2762 }
2763 if (params.fRapidity > 3.6 && params.fRapidity <= 4.0) {
2764 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_mixing_111->Fill(params.fMinv);
2765 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_mixing_112->Fill(params.fMinv);
2766 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_mixing_113->Fill(params.fMinv);
2767 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_mixing_114->Fill(params.fMinv);
2768 }
2769 }
2770
2771 // separate by rap and Pt only for all
2772 if (params.fRapidity > 1.2 && params.fRapidity <= 1.6) {
2773 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_1->Fill(params.fMinv);
2774 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_2->Fill(params.fMinv);
2775 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_3->Fill(params.fMinv);
2776 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_4->Fill(params.fMinv);
2777 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_mixing_5->Fill(params.fMinv);
2778 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_mixing_6->Fill(params.fMinv);
2779 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_mixing_7->Fill(params.fMinv);
2780 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_mixing_8->Fill(params.fMinv);
2781 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_mixing_9->Fill(params.fMinv);
2782 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_mixing_10->Fill(params.fMinv);
2783 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_mixing_11->Fill(params.fMinv);
2784 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_mixing_12->Fill(params.fMinv);
2785 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_mixing_13->Fill(params.fMinv);
2786 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_mixing_14->Fill(params.fMinv);
2787 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_mixing_15->Fill(params.fMinv);
2788 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_mixing_16->Fill(params.fMinv);
2789 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_all_mixing_17->Fill(params.fMinv);
2790 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_all_mixing_18->Fill(params.fMinv);
2791 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_all_mixing_19->Fill(params.fMinv);
2792 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_all_mixing_20->Fill(params.fMinv);
2793 }
2794 if (params.fRapidity > 1.6 && params.fRapidity <= 2.0) {
2795 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_21->Fill(params.fMinv);
2796 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_22->Fill(params.fMinv);
2797 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_23->Fill(params.fMinv);
2798 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_24->Fill(params.fMinv);
2799 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_mixing_25->Fill(params.fMinv);
2800 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_mixing_26->Fill(params.fMinv);
2801 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_mixing_27->Fill(params.fMinv);
2802 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_mixing_28->Fill(params.fMinv);
2803 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_mixing_29->Fill(params.fMinv);
2804 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_mixing_30->Fill(params.fMinv);
2805 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_mixing_31->Fill(params.fMinv);
2806 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_mixing_32->Fill(params.fMinv);
2807 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_mixing_33->Fill(params.fMinv);
2808 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_mixing_34->Fill(params.fMinv);
2809 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_mixing_35->Fill(params.fMinv);
2810 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_mixing_36->Fill(params.fMinv);
2811 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_all_mixing_37->Fill(params.fMinv);
2812 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_all_mixing_38->Fill(params.fMinv);
2813 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_all_mixing_39->Fill(params.fMinv);
2814 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_all_mixing_40->Fill(params.fMinv);
2815 }
2816 if (params.fRapidity > 2.0 && params.fRapidity <= 2.4) {
2817 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_41->Fill(params.fMinv);
2818 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_42->Fill(params.fMinv);
2819 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_43->Fill(params.fMinv);
2820 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_44->Fill(params.fMinv);
2821 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_mixing_45->Fill(params.fMinv);
2822 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_mixing_46->Fill(params.fMinv);
2823 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_mixing_47->Fill(params.fMinv);
2824 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_mixing_48->Fill(params.fMinv);
2825 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_mixing_49->Fill(params.fMinv);
2826 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_mixing_50->Fill(params.fMinv);
2827 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_mixing_51->Fill(params.fMinv);
2828 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_mixing_52->Fill(params.fMinv);
2829 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_mixing_53->Fill(params.fMinv);
2830 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_mixing_54->Fill(params.fMinv);
2831 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_mixing_55->Fill(params.fMinv);
2832 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_mixing_56->Fill(params.fMinv);
2833 if (params.fPt > 1.6 && params.fPt <= 1.7) rap_vs_Pt_InM_all_mixing_57->Fill(params.fMinv);
2834 if (params.fPt > 1.7 && params.fPt <= 1.8) rap_vs_Pt_InM_all_mixing_58->Fill(params.fMinv);
2835 if (params.fPt > 1.8 && params.fPt <= 1.9) rap_vs_Pt_InM_all_mixing_59->Fill(params.fMinv);
2836 if (params.fPt > 1.9 && params.fPt <= 2.0) rap_vs_Pt_InM_all_mixing_60->Fill(params.fMinv);
2837 }
2838 if (params.fRapidity > 2.4 && params.fRapidity <= 2.8) {
2839 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_61->Fill(params.fMinv);
2840 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_62->Fill(params.fMinv);
2841 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_63->Fill(params.fMinv);
2842 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_64->Fill(params.fMinv);
2843 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_mixing_65->Fill(params.fMinv);
2844 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_mixing_66->Fill(params.fMinv);
2845 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_mixing_67->Fill(params.fMinv);
2846 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_mixing_68->Fill(params.fMinv);
2847 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_mixing_69->Fill(params.fMinv);
2848 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_mixing_70->Fill(params.fMinv);
2849 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_mixing_71->Fill(params.fMinv);
2850 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_mixing_72->Fill(params.fMinv);
2851 if (params.fPt > 1.2 && params.fPt <= 1.3) rap_vs_Pt_InM_all_mixing_73->Fill(params.fMinv);
2852 if (params.fPt > 1.3 && params.fPt <= 1.4) rap_vs_Pt_InM_all_mixing_74->Fill(params.fMinv);
2853 if (params.fPt > 1.4 && params.fPt <= 1.5) rap_vs_Pt_InM_all_mixing_75->Fill(params.fMinv);
2854 if (params.fPt > 1.5 && params.fPt <= 1.6) rap_vs_Pt_InM_all_mixing_76->Fill(params.fMinv);
2855 }
2856 if (params.fRapidity > 2.8 && params.fRapidity <= 3.2) {
2857 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_81->Fill(params.fMinv);
2858 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_82->Fill(params.fMinv);
2859 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_83->Fill(params.fMinv);
2860 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_84->Fill(params.fMinv);
2861 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_mixing_85->Fill(params.fMinv);
2862 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_mixing_86->Fill(params.fMinv);
2863 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_mixing_87->Fill(params.fMinv);
2864 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_mixing_88->Fill(params.fMinv);
2865 if (params.fPt > 0.8 && params.fPt <= 0.9) rap_vs_Pt_InM_all_mixing_89->Fill(params.fMinv);
2866 if (params.fPt > 0.9 && params.fPt <= 1.0) rap_vs_Pt_InM_all_mixing_90->Fill(params.fMinv);
2867 if (params.fPt > 1.0 && params.fPt <= 1.1) rap_vs_Pt_InM_all_mixing_91->Fill(params.fMinv);
2868 if (params.fPt > 1.1 && params.fPt <= 1.2) rap_vs_Pt_InM_all_mixing_92->Fill(params.fMinv);
2869 }
2870 if (params.fRapidity > 3.2 && params.fRapidity <= 3.6) {
2871 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_101->Fill(params.fMinv);
2872 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_102->Fill(params.fMinv);
2873 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_103->Fill(params.fMinv);
2874 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_104->Fill(params.fMinv);
2875 if (params.fPt > 0.4 && params.fPt <= 0.5) rap_vs_Pt_InM_all_mixing_105->Fill(params.fMinv);
2876 if (params.fPt > 0.5 && params.fPt <= 0.6) rap_vs_Pt_InM_all_mixing_106->Fill(params.fMinv);
2877 if (params.fPt > 0.6 && params.fPt <= 0.7) rap_vs_Pt_InM_all_mixing_107->Fill(params.fMinv);
2878 if (params.fPt > 0.7 && params.fPt <= 0.8) rap_vs_Pt_InM_all_mixing_108->Fill(params.fMinv);
2879 }
2880 if (params.fRapidity > 3.6 && params.fRapidity <= 4.0) {
2881 if (params.fPt > 0.0 && params.fPt <= 0.1) rap_vs_Pt_InM_all_mixing_111->Fill(params.fMinv);
2882 if (params.fPt > 0.1 && params.fPt <= 0.2) rap_vs_Pt_InM_all_mixing_112->Fill(params.fMinv);
2883 if (params.fPt > 0.2 && params.fPt <= 0.3) rap_vs_Pt_InM_all_mixing_113->Fill(params.fMinv);
2884 if (params.fPt > 0.3 && params.fPt <= 0.4) rap_vs_Pt_InM_all_mixing_114->Fill(params.fMinv);
2885 }
2886
2887 // separate by Pt only for onetwo
2888 if ((EMT_man_NofRings_Both[a] == 1 || EMT_man_NofRings_Both[a] == 2)
2889 && (EMT_man_NofRings_Both[b] == 1 || EMT_man_NofRings_Both[b] == 2)) {
2890 if (params.fPt > 0.0 && params.fPt <= 0.1) pt_onetwo_mixing_1->Fill(params.fMinv);
2891 if (params.fPt > 0.1 && params.fPt <= 0.2) pt_onetwo_mixing_2->Fill(params.fMinv);
2892 if (params.fPt > 0.2 && params.fPt <= 0.3) pt_onetwo_mixing_3->Fill(params.fMinv);
2893 if (params.fPt > 0.3 && params.fPt <= 0.4) pt_onetwo_mixing_4->Fill(params.fMinv);
2894 if (params.fPt > 0.4 && params.fPt <= 0.5) pt_onetwo_mixing_5->Fill(params.fMinv);
2895 if (params.fPt > 0.5 && params.fPt <= 0.6) pt_onetwo_mixing_6->Fill(params.fMinv);
2896 if (params.fPt > 0.6 && params.fPt <= 0.7) pt_onetwo_mixing_7->Fill(params.fMinv);
2897 if (params.fPt > 0.7 && params.fPt <= 0.8) pt_onetwo_mixing_8->Fill(params.fMinv);
2898 if (params.fPt > 0.8 && params.fPt <= 0.9) pt_onetwo_mixing_9->Fill(params.fMinv);
2899 if (params.fPt > 0.9 && params.fPt <= 1.0) pt_onetwo_mixing_10->Fill(params.fMinv);
2900 if (params.fPt > 1.0 && params.fPt <= 1.1) pt_onetwo_mixing_11->Fill(params.fMinv);
2901 if (params.fPt > 1.1 && params.fPt <= 1.2) pt_onetwo_mixing_12->Fill(params.fMinv);
2902 if (params.fPt > 1.2 && params.fPt <= 1.3) pt_onetwo_mixing_13->Fill(params.fMinv);
2903 if (params.fPt > 1.3 && params.fPt <= 1.4) pt_onetwo_mixing_14->Fill(params.fMinv);
2904 if (params.fPt > 1.4 && params.fPt <= 1.5) pt_onetwo_mixing_15->Fill(params.fMinv);
2905 if (params.fPt > 1.5 && params.fPt <= 1.6) pt_onetwo_mixing_16->Fill(params.fMinv);
2906 if (params.fPt > 1.6 && params.fPt <= 1.7) pt_onetwo_mixing_17->Fill(params.fMinv);
2907 if (params.fPt > 1.7 && params.fPt <= 1.8) pt_onetwo_mixing_18->Fill(params.fMinv);
2908 if (params.fPt > 1.8 && params.fPt <= 1.9) pt_onetwo_mixing_19->Fill(params.fMinv);
2909 if (params.fPt > 1.9 && params.fPt <= 2.0) pt_onetwo_mixing_20->Fill(params.fMinv);
2910 }
2911
2912 if (params.fPt > 0.0 && params.fPt <= 0.1) pt_all_mixing_1->Fill(params.fMinv);
2913 if (params.fPt > 0.1 && params.fPt <= 0.2) pt_all_mixing_2->Fill(params.fMinv);
2914 if (params.fPt > 0.2 && params.fPt <= 0.3) pt_all_mixing_3->Fill(params.fMinv);
2915 if (params.fPt > 0.3 && params.fPt <= 0.4) pt_all_mixing_4->Fill(params.fMinv);
2916 if (params.fPt > 0.4 && params.fPt <= 0.5) pt_all_mixing_5->Fill(params.fMinv);
2917 if (params.fPt > 0.5 && params.fPt <= 0.6) pt_all_mixing_6->Fill(params.fMinv);
2918 if (params.fPt > 0.6 && params.fPt <= 0.7) pt_all_mixing_7->Fill(params.fMinv);
2919 if (params.fPt > 0.7 && params.fPt <= 0.8) pt_all_mixing_8->Fill(params.fMinv);
2920 if (params.fPt > 0.8 && params.fPt <= 0.9) pt_all_mixing_9->Fill(params.fMinv);
2921 if (params.fPt > 0.9 && params.fPt <= 1.0) pt_all_mixing_10->Fill(params.fMinv);
2922 if (params.fPt > 1.0 && params.fPt <= 1.1) pt_all_mixing_11->Fill(params.fMinv);
2923 if (params.fPt > 1.1 && params.fPt <= 1.2) pt_all_mixing_12->Fill(params.fMinv);
2924 if (params.fPt > 1.2 && params.fPt <= 1.3) pt_all_mixing_13->Fill(params.fMinv);
2925 if (params.fPt > 1.3 && params.fPt <= 1.4) pt_all_mixing_14->Fill(params.fMinv);
2926 if (params.fPt > 1.4 && params.fPt <= 1.5) pt_all_mixing_15->Fill(params.fMinv);
2927 if (params.fPt > 1.5 && params.fPt <= 1.6) pt_all_mixing_16->Fill(params.fMinv);
2928 if (params.fPt > 1.6 && params.fPt <= 1.7) pt_all_mixing_17->Fill(params.fMinv);
2929 if (params.fPt > 1.7 && params.fPt <= 1.8) pt_all_mixing_18->Fill(params.fMinv);
2930 if (params.fPt > 1.8 && params.fPt <= 1.9) pt_all_mixing_19->Fill(params.fMinv);
2931 if (params.fPt > 1.9 && params.fPt <= 2.0) pt_all_mixing_20->Fill(params.fMinv);
2932 }
2933 }
2934}
2935
2937// WAC
2938{
2939 Int_t nof_WAC = EMT_man_Event_WAC.size();
2940 cout << "Mixing in Manual(WAC) - nof entries " << nof_WAC << endl;
2941 for (Int_t a = 0; a < nof_WAC - 1; a++) {
2942 for (Int_t b = a + 1; b < nof_WAC; b++) {
2944 continue; // to make sure that the photons are from two different events
2945 TVector3 e11 = EMT_man_pair_momenta_WAC[a][0];
2946 TVector3 e12 = EMT_man_pair_momenta_WAC[a][1];
2947 TVector3 e21 = EMT_man_pair_momenta_WAC[b][0];
2948 TVector3 e22 = EMT_man_pair_momenta_WAC[b][1];
2950 EMT_InvMass_WAC->Fill(params.fMinv);
2951 }
2952 }
2953}
2954
2955int CbmKresConversionManual::FindInRich(int richInd, int stsMcTrackId)
2956{
2957 int RingsInRich = 0;
2958 if (richInd > -1) {
2959 CbmTrackMatchNew* richMatch = (CbmTrackMatchNew*) fRichRingMatches->At(richInd);
2960 if (richMatch != nullptr && richMatch->GetNofLinks() > 0) {
2961 int richMcTrackId = richMatch->GetMatchedLink().GetIndex();
2962 if (richMcTrackId > 0) {
2963 if (stsMcTrackId == richMcTrackId) { // check that global track was matched correctly for STS and RICH together
2964 CbmMCTrack* mcTrack2 = (CbmMCTrack*) fMcTracks->At(richMcTrackId);
2965 if (mcTrack2 != nullptr) {
2966 int pdgRICH = mcTrack2->GetPdgCode();
2967 if (TMath::Abs(pdgRICH) == 11) RingsInRich++;
2968 }
2969 }
2970 }
2971 }
2972 }
2973 return RingsInRich;
2974}
2975
2976
2978{
2979 int identified = 0;
2980
2981 if (nullptr != ring) {
2982 CbmRichRingLight ringHit;
2983 int nofHits = ring->GetNofHits();
2984 for (int i = 0; i < nofHits; i++) {
2985 int hitInd = ring->GetHit(i);
2986 CbmRichHit* hit = (CbmRichHit*) fRichHits->At(hitInd);
2987 if (nullptr == hit) continue;
2988 CbmRichHitLight hl(hit->GetX(), hit->GetY());
2989 ringHit.AddHit(hl);
2990 }
2991 fTauFit->DoFit(&ringHit);
2992 if (ringHit.GetAaxis() > 4 && ringHit.GetAaxis() < 6 && ringHit.GetBaxis() > 4 && ringHit.GetBaxis() < 6
2993 && momentum > 0.2 && momentum < 4.)
2994 identified++;
2995 //if (ring->GetDistance() < 2 && ringHit.GetAaxis() > 4 && ringHit.GetAaxis() < 6 && ringHit.GetBaxis() > 4 && ringHit.GetBaxis() < 6 && momentum > 0.2 && momentum < 4.) identified ++;
2996 }
2997
2998 return identified;
2999}
3000
3001
3003{
3004 double FinalAngle = 400;
3005 Int_t hits1sts = Sts_1->GetNofStsHits();
3006 Int_t hits2sts = Sts_2->GetNofStsHits();
3007 Int_t hits1mvd = Sts_1->GetNofMvdHits();
3008 Int_t hits2mvd = Sts_2->GetNofMvdHits();
3009
3010 double Xpart1 = 0;
3011 double Ypart1 = 0;
3012 double Zpart1 = 0;
3013 double Xpart2 = 0;
3014 double Ypart2 = 0;
3015 double Zpart2 = 0;
3016 if (hits1sts > 0) {
3017 Int_t stsHitIndex1 = Sts_1->GetStsHitIndex(hits1sts - 1);
3018 CbmStsHit* stsHit1 = (CbmStsHit*) fArrayStsHit->At(stsHitIndex1);
3019 Xpart1 = stsHit1->GetX();
3020 Ypart1 = stsHit1->GetY();
3021 Zpart1 = stsHit1->GetZ();
3022 }
3023 else {
3024 Int_t mvdHitIndex1 = Sts_1->GetMvdHitIndex(hits1mvd - 1);
3025 CbmMvdHit* mvdHit1 = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex1);
3026 Xpart1 = mvdHit1->GetX();
3027 Ypart1 = mvdHit1->GetY();
3028 Zpart1 = mvdHit1->GetZ();
3029 }
3030
3031 if (hits2sts > 0) {
3032 Int_t stsHitIndex2 = Sts_2->GetStsHitIndex(hits2sts - 1);
3033 CbmStsHit* stsHit2 = (CbmStsHit*) fArrayStsHit->At(stsHitIndex2);
3034 Xpart2 = stsHit2->GetX();
3035 Ypart2 = stsHit2->GetY();
3036 Zpart2 = stsHit2->GetZ();
3037 }
3038 else {
3039 Int_t mvdHitIndex2 = Sts_2->GetMvdHitIndex(hits2mvd - 1);
3040 CbmMvdHit* mvdHit2 = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex2);
3041 Xpart2 = mvdHit2->GetX();
3042 Ypart2 = mvdHit2->GetY();
3043 Zpart2 = mvdHit2->GetZ();
3044 }
3045
3046 // check difference in 2 cm, because of two slices of every STS and Mvd stations
3047 if (TMath::Abs(Zpart1 - Zpart2) > 2
3048 && Zpart1 > Zpart2) { // if last hits are in different stations --> try to find the latest common station
3049 for (int i = hits1sts - 2; i > -1; i--) { // start from second last station
3050 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3051 Int_t stsHitIndex = Sts_1->GetStsHitIndex(i);
3052 CbmStsHit* stsHit = (CbmStsHit*) fArrayStsHit->At(stsHitIndex);
3053 Xpart1 = stsHit->GetX();
3054 Ypart1 = stsHit->GetY();
3055 Zpart1 = stsHit->GetZ();
3056 }
3057 if (TMath::Abs(Zpart1 - Zpart2) > 2 && Zpart1 > Zpart2) {
3058 for (int i = hits1mvd - 2; i > -1; i--) {
3059 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3060 Int_t mvdHitIndex = Sts_1->GetMvdHitIndex(i);
3061 CbmMvdHit* mvdHit = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex);
3062 Xpart1 = mvdHit->GetX();
3063 Ypart1 = mvdHit->GetY();
3064 Zpart1 = mvdHit->GetZ();
3065 }
3066 }
3067 }
3068
3069 if (TMath::Abs(Zpart1 - Zpart2) > 2
3070 && Zpart1 < Zpart2) { // if last hits are in different stations --> try to find the latest common station
3071 for (int i = hits2sts - 2; i > -1; i--) { // start from second last station
3072 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3073 Int_t stsHitIndex = Sts_2->GetStsHitIndex(i);
3074 CbmStsHit* stsHit = (CbmStsHit*) fArrayStsHit->At(stsHitIndex);
3075 Xpart2 = stsHit->GetX();
3076 Ypart2 = stsHit->GetY();
3077 Zpart2 = stsHit->GetZ();
3078 }
3079 if (TMath::Abs(Zpart1 - Zpart2) > 2 && Zpart1 < Zpart2) {
3080 for (int i = hits2mvd - 2; i > -1; i--) {
3081 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3082 Int_t mvdHitIndex = Sts_2->GetMvdHitIndex(i);
3083 CbmMvdHit* mvdHit = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex);
3084 Xpart2 = mvdHit->GetX();
3085 Ypart2 = mvdHit->GetY();
3086 Zpart2 = mvdHit->GetZ();
3087 }
3088 }
3089 }
3090
3091 // calculate angle if we found common station
3092 if (TMath::Abs(Zpart1 - Zpart2) < 2 && Zpart1 != 0 && Zpart2 != 0) {
3093 FinalAngle = TMath::ATan2(Ypart1 - Ypart2, Xpart1 - Xpart2) * (180 / TMath::Pi());
3094 }
3095
3096 return TMath::Abs(TMath::Abs(FinalAngle) - 180);
3097}
3098
3100{
3101 double FinalAngle = 400;
3102 Int_t hits1sts = Sts_1->GetNofStsHits();
3103 Int_t hits2sts = Sts_2->GetNofStsHits();
3104 Int_t hits1mvd = Sts_1->GetNofMvdHits();
3105 Int_t hits2mvd = Sts_2->GetNofMvdHits();
3106
3107 double Xpart1 = 0;
3108 double Ypart1 = 0;
3109 double Zpart1 = 0;
3110 double Xpart2 = 0;
3111 double Ypart2 = 0;
3112 double Zpart2 = 0;
3113 if (hits1mvd > 0) {
3114 Int_t mvdHitIndex1 = Sts_1->GetMvdHitIndex(0);
3115 CbmMvdHit* mvdHit1 = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex1);
3116 Xpart1 = mvdHit1->GetX();
3117 Ypart1 = mvdHit1->GetY();
3118 Zpart1 = mvdHit1->GetZ();
3119 }
3120 else {
3121 Int_t stsHitIndex1 = Sts_1->GetStsHitIndex(0);
3122 CbmStsHit* stsHit1 = (CbmStsHit*) fArrayStsHit->At(stsHitIndex1);
3123 Xpart1 = stsHit1->GetX();
3124 Ypart1 = stsHit1->GetY();
3125 Zpart1 = stsHit1->GetZ();
3126 }
3127
3128 if (hits2mvd > 0) {
3129 Int_t mvdHitIndex2 = Sts_2->GetMvdHitIndex(0);
3130 CbmMvdHit* mvdHit2 = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex2);
3131 Xpart2 = mvdHit2->GetX();
3132 Ypart2 = mvdHit2->GetY();
3133 Zpart2 = mvdHit2->GetZ();
3134 }
3135 else {
3136 Int_t stsHitIndex2 = Sts_2->GetStsHitIndex(0);
3137 CbmStsHit* stsHit2 = (CbmStsHit*) fArrayStsHit->At(stsHitIndex2);
3138 Xpart2 = stsHit2->GetX();
3139 Ypart2 = stsHit2->GetY();
3140 Zpart2 = stsHit2->GetZ();
3141 }
3142
3143 // check difference in 2 cm, because of two slices of every STS and Mvd stations
3144 if (TMath::Abs(Zpart1 - Zpart2) > 2
3145 && Zpart1 < Zpart2) { // if first hits are in different stations --> try to find the earliest common station
3146 for (int i = 1; i < hits1mvd; i++) { // start from second hit
3147 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3148 Int_t mvdHitIndex = Sts_1->GetMvdHitIndex(i);
3149 CbmMvdHit* mvdHit = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex);
3150 Xpart1 = mvdHit->GetX();
3151 Ypart1 = mvdHit->GetY();
3152 Zpart1 = mvdHit->GetZ();
3153 }
3154 if (TMath::Abs(Zpart1 - Zpart2) > 2 && Zpart1 < Zpart2) {
3155 for (int i = 0; i < hits1sts; i++) {
3156 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3157 Int_t stsHitIndex = Sts_1->GetStsHitIndex(i);
3158 CbmStsHit* stsHit = (CbmStsHit*) fArrayStsHit->At(stsHitIndex);
3159 Xpart1 = stsHit->GetX();
3160 Ypart1 = stsHit->GetY();
3161 Zpart1 = stsHit->GetZ();
3162 }
3163 }
3164 }
3165
3166 if (TMath::Abs(Zpart1 - Zpart2) > 2
3167 && Zpart1 > Zpart2) { // if first hits are in different stations --> try to find the earliest common station
3168 for (int i = 1; i < hits2mvd; i++) { // start from second hit
3169 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3170 Int_t mvdHitIndex = Sts_2->GetMvdHitIndex(i);
3171 CbmMvdHit* mvdHit = (CbmMvdHit*) fArrayMvdHit->At(mvdHitIndex);
3172 Xpart2 = mvdHit->GetX();
3173 Ypart2 = mvdHit->GetY();
3174 Zpart2 = mvdHit->GetZ();
3175 }
3176 if (TMath::Abs(Zpart1 - Zpart2) > 2 && Zpart1 > Zpart2) {
3177 for (int i = 0; i < hits2sts; i++) {
3178 if (TMath::Abs(Zpart1 - Zpart2) < 2) continue;
3179 Int_t stsHitIndex = Sts_2->GetStsHitIndex(i);
3180 CbmStsHit* stsHit = (CbmStsHit*) fArrayStsHit->At(stsHitIndex);
3181 Xpart2 = stsHit->GetX();
3182 Ypart2 = stsHit->GetY();
3183 Zpart2 = stsHit->GetZ();
3184 }
3185 }
3186 }
3187
3188 // calculate angle if we found common station
3189 if (TMath::Abs(Zpart1 - Zpart2) < 2 && Zpart1 != 0 && Zpart2 != 0) {
3190 FinalAngle = TMath::ATan2(Ypart1 - Ypart2, Xpart1 - Xpart2) * (180 / TMath::Pi());
3191 }
3192
3193 return TMath::Abs(TMath::Abs(FinalAngle) - 180);
3194}
3195
3196
3198{
3199 gDirectory->mkdir("Manual");
3200 gDirectory->cd("Manual");
3201
3202
3203 gDirectory->mkdir("Target");
3204 gDirectory->cd("Target");
3205 gDirectory->mkdir("CheckCuts_Target");
3206 gDirectory->cd("CheckCuts_Target");
3207 for (UInt_t i = 0; i < fHistoList_man_cuts_Target.size(); i++) {
3208 fHistoList_man_cuts_Target[i]->Write();
3209 }
3210 gDirectory->cd("..");
3211 gDirectory->mkdir("multiplicity");
3212 gDirectory->cd("multiplicity");
3213 for (UInt_t i = 0; i < fHistoList_multiplicity_man_Target.size(); i++) {
3215 }
3216 gDirectory->cd("..");
3217 gDirectory->mkdir("all");
3218 gDirectory->cd("all");
3219 for (UInt_t i = 0; i < fHistoList_man_all_Target.size(); i++) {
3220 fHistoList_man_all_Target[i]->Write();
3221 }
3222 gDirectory->cd("..");
3223 gDirectory->mkdir("zero");
3224 gDirectory->cd("zero");
3225 for (UInt_t i = 0; i < fHistoList_man_zero_Target.size(); i++) {
3226 fHistoList_man_zero_Target[i]->Write();
3227 }
3228 gDirectory->cd("..");
3229 gDirectory->mkdir("one");
3230 gDirectory->cd("one");
3231 for (UInt_t i = 0; i < fHistoList_man_one_Target.size(); i++) {
3232 fHistoList_man_one_Target[i]->Write();
3233 }
3234 gDirectory->cd("..");
3235 gDirectory->mkdir("two");
3236 gDirectory->cd("two");
3237 for (UInt_t i = 0; i < fHistoList_man_two_Target.size(); i++) {
3238 fHistoList_man_two_Target[i]->Write();
3239 }
3240 gDirectory->cd("..");
3241 gDirectory->mkdir("onetwo");
3242 gDirectory->cd("onetwo");
3243 for (UInt_t i = 0; i < fHistoList_man_onetwo_Target.size(); i++) {
3244 fHistoList_man_onetwo_Target[i]->Write();
3245 }
3246 gDirectory->cd("..");
3247
3248 gDirectory->cd("..");
3249
3250
3251 gDirectory->mkdir("Outside");
3252 gDirectory->cd("Outside");
3253 gDirectory->mkdir("CheckCuts_Outside");
3254 gDirectory->cd("CheckCuts_Outside");
3255 for (UInt_t i = 0; i < fHistoList_man_cuts_Outside.size(); i++) {
3256 fHistoList_man_cuts_Outside[i]->Write();
3257 }
3258 gDirectory->cd("..");
3259 gDirectory->mkdir("multiplicity");
3260 gDirectory->cd("multiplicity");
3261 for (UInt_t i = 0; i < fHistoList_multiplicity_man_Outside.size(); i++) {
3263 }
3264 gDirectory->cd("..");
3265 gDirectory->mkdir("all");
3266 gDirectory->cd("all");
3267 for (UInt_t i = 0; i < fHistoList_man_all_Outside.size(); i++) {
3268 fHistoList_man_all_Outside[i]->Write();
3269 }
3270 gDirectory->cd("..");
3271 gDirectory->mkdir("zero");
3272 gDirectory->cd("zero");
3273 for (UInt_t i = 0; i < fHistoList_man_zero_Outside.size(); i++) {
3274 fHistoList_man_zero_Outside[i]->Write();
3275 }
3276 gDirectory->cd("..");
3277 gDirectory->mkdir("one");
3278 gDirectory->cd("one");
3279 for (UInt_t i = 0; i < fHistoList_man_one_Outside.size(); i++) {
3280 fHistoList_man_one_Outside[i]->Write();
3281 }
3282 gDirectory->cd("..");
3283 gDirectory->mkdir("two");
3284 gDirectory->cd("two");
3285 for (UInt_t i = 0; i < fHistoList_man_two_Outside.size(); i++) {
3286 fHistoList_man_two_Outside[i]->Write();
3287 }
3288 gDirectory->cd("..");
3289 gDirectory->mkdir("onetwo");
3290 gDirectory->cd("onetwo");
3291 for (UInt_t i = 0; i < fHistoList_man_onetwo_Outside.size(); i++) {
3293 }
3294 gDirectory->cd("..");
3295 gDirectory->cd("..");
3296
3297
3298 gDirectory->mkdir("Both");
3299 gDirectory->cd("Both");
3300 gDirectory->mkdir("CheckCuts_Both");
3301 gDirectory->cd("CheckCuts_Both");
3302 for (UInt_t i = 0; i < fHistoList_man_cuts_Both.size(); i++) {
3303 fHistoList_man_cuts_Both[i]->Write();
3304 }
3305 gDirectory->cd("..");
3306 gDirectory->mkdir("multiplicity");
3307 gDirectory->cd("multiplicity");
3308 for (UInt_t i = 0; i < fHistoList_multiplicity_man_Both.size(); i++) {
3310 }
3311 gDirectory->cd("..");
3312 gDirectory->mkdir("rap_vs_Pt_onetwo_Both");
3313 gDirectory->cd("rap_vs_Pt_onetwo_Both");
3314 for (UInt_t i = 0; i < fHistoList_rap_vs_pt_InM.size(); i++) {
3315 fHistoList_rap_vs_pt_InM[i]->Write();
3316 }
3317 gDirectory->cd("..");
3318 gDirectory->mkdir("rap_vs_Pt_all_Both");
3319 gDirectory->cd("rap_vs_Pt_all_Both");
3320 for (UInt_t i = 0; i < fHistoList_rap_vs_pt_InM_all.size(); i++) {
3321 fHistoList_rap_vs_pt_InM_all[i]->Write();
3322 }
3323 gDirectory->cd("..");
3324
3325 gDirectory->mkdir("pt_onetwo_Both");
3326 gDirectory->cd("pt_onetwo_Both");
3327 for (UInt_t i = 0; i < fHistoList_pt_onetwo.size(); i++) {
3328 fHistoList_pt_onetwo[i]->Write();
3329 }
3330 gDirectory->cd("..");
3331 gDirectory->mkdir("pt_all_Both");
3332 gDirectory->cd("pt_all_Both");
3333 for (UInt_t i = 0; i < fHistoList_pt_all.size(); i++) {
3334 fHistoList_pt_all[i]->Write();
3335 }
3336 gDirectory->cd("..");
3337
3338 gDirectory->mkdir("BG_Both");
3339 gDirectory->cd("BG_Both");
3340 gDirectory->mkdir("BG_Both_all");
3341 gDirectory->cd("BG_Both_all");
3342 for (UInt_t i = 0; i < fHistoList_bg_InM_all_Both.size(); i++) {
3343 fHistoList_bg_InM_all_Both[i]->Write();
3344 }
3345 gDirectory->cd("..");
3346 gDirectory->mkdir("BG_Both_zero");
3347 gDirectory->cd("BG_Both_zero");
3348 for (UInt_t i = 0; i < fHistoList_bg_InM_zero_Both.size(); i++) {
3349 fHistoList_bg_InM_zero_Both[i]->Write();
3350 }
3351 gDirectory->cd("..");
3352 gDirectory->mkdir("BG_Both_one");
3353 gDirectory->cd("BG_Both_one");
3354 for (UInt_t i = 0; i < fHistoList_bg_InM_one_Both.size(); i++) {
3355 fHistoList_bg_InM_one_Both[i]->Write();
3356 }
3357 gDirectory->cd("..");
3358 gDirectory->mkdir("BG_Both_two");
3359 gDirectory->cd("BG_Both_two");
3360 for (UInt_t i = 0; i < fHistoList_bg_InM_two_Both.size(); i++) {
3361 fHistoList_bg_InM_two_Both[i]->Write();
3362 }
3363 gDirectory->cd("..");
3364 gDirectory->mkdir("BG_Both_onetwo");
3365 gDirectory->cd("BG_Both_onetwo");
3366 for (UInt_t i = 0; i < fHistoList_bg_InM_onetwo_Both.size(); i++) {
3368 }
3369 gDirectory->cd("..");
3370 gDirectory->cd("..");
3371 gDirectory->mkdir("all");
3372 gDirectory->cd("all");
3373 for (UInt_t i = 0; i < fHistoList_man_all_Both.size(); i++) {
3374 fHistoList_man_all_Both[i]->Write();
3375 }
3376 gDirectory->cd("..");
3377 gDirectory->mkdir("zero");
3378 gDirectory->cd("zero");
3379 for (UInt_t i = 0; i < fHistoList_man_zero_Both.size(); i++) {
3380 fHistoList_man_zero_Both[i]->Write();
3381 }
3382 gDirectory->cd("..");
3383 gDirectory->mkdir("one");
3384 gDirectory->cd("one");
3385 for (UInt_t i = 0; i < fHistoList_man_one_Both.size(); i++) {
3386 fHistoList_man_one_Both[i]->Write();
3387 }
3388 gDirectory->cd("..");
3389 gDirectory->mkdir("two");
3390 gDirectory->cd("two");
3391 for (UInt_t i = 0; i < fHistoList_man_two_Both.size(); i++) {
3392 fHistoList_man_two_Both[i]->Write();
3393 }
3394 gDirectory->cd("..");
3395 gDirectory->mkdir("onetwo");
3396 gDirectory->cd("onetwo");
3397 for (UInt_t i = 0; i < fHistoList_man_onetwo_Both.size(); i++) {
3398 fHistoList_man_onetwo_Both[i]->Write();
3399 }
3400 gDirectory->cd("..");
3401 for (UInt_t i = 0; i < fHistoList_man_Both.size(); i++) {
3402 fHistoList_man_Both[i]->Write();
3403 }
3404 gDirectory->cd("..");
3405
3406
3407 gDirectory->mkdir("WAC");
3408 gDirectory->cd("WAC");
3409 gDirectory->mkdir("BG_WAC");
3410 gDirectory->cd("BG_WAC");
3411 for (UInt_t i = 0; i < fHistoList_bg_InM_WAC.size(); i++) {
3412 fHistoList_bg_InM_WAC[i]->Write();
3413 }
3414 gDirectory->cd("..");
3415 for (UInt_t i = 0; i < fHistoList_man_WAC.size(); i++) {
3416 fHistoList_man_WAC[i]->Write();
3417 }
3418 gDirectory->cd("..");
3419
3420 for (UInt_t i = 0; i < fHistoList_manual.size(); i++) {
3421 fHistoList_manual[i]->Write();
3422 }
3423
3424 gDirectory->cd("..");
3425}
3426
3427
3429{
3431 InvMass_vs_OA_candidates_Both = new TH2D("InvMass_vs_OA_candidates_Both",
3432 "InvMass_vs_OA_candidates_Both; invariant mass in GeV/c^{2}; "
3433 "opening angle in degree",
3434 500, 0, 0.5, 500, 0, 50);
3436 InvMass_vs_OA_fromPi0_Both = new TH2D("InvMass_vs_OA_fromPi0_Both",
3437 "InvMass_vs_OA_fromPi0_Both; invariant mass in GeV/c^{2}; opening "
3438 "angle in degree",
3439 500, 0, 0.5, 500, 0, 50);
3442 "GammasInvMass_candidates_Both", "GammasInvMass_candidates_Both; invariant mass in GeV/c^{2};#", 510, -0.01, 0.5);
3445 new TH1D("GammasOA_candidates_Both", "GammasOA_candidates_Both; opening angle in degree;#", 300, -0.1, 29.9);
3447 GammasInvMass_fromPi0_Both = new TH1D("GammasInvMass_fromPi0_Both",
3448 "GammasInvMass_fromPi0_Both; invariant mass in GeV/c^{2};#", 510, -0.01, 0.5);
3451 new TH1D("GammasOA_fromPi0_Both", "GammasOA_fromPi0_Both; opening angle in degree;#", 300, -0.1, 29.9);
3454 "PlaneAngles_last_candidates_Both", "PlaneAngles_last_candidates_Both; #theta angle in degree;#", 720, -1., 179.);
3456 PlaneAngles_last_fromPi0_Both = new TH1D("PlaneAngles_last_fromPi0_Both",
3457 "PlaneAngles_last_fromPi0_Both; #theta angle in degree;#", 720, -1., 179.);
3460 "PlaneAngles_first_candidates_Both", "PlaneAngles_first_candidates_Both; #theta angle in degree;#", 720, -1., 179.);
3462 PlaneAngles_first_fromPi0_Both = new TH1D("PlaneAngles_first_fromPi0_Both",
3463 "PlaneAngles_first_fromPi0_Both; #theta angle in degree;#", 720, -1., 179.);
3465
3466
3467 InvMass_vs_OA_candidates_Target = new TH2D("InvMass_vs_OA_candidates_Target",
3468 "InvMass_vs_OA_candidates_Target; invariant mass in GeV/c^{2}; "
3469 "opening angle in degree",
3470 500, 0, 0.5, 500, 0, 50);
3472 InvMass_vs_OA_fromPi0_Target = new TH2D("InvMass_vs_OA_fromPi0_Target",
3473 "InvMass_vs_OA_fromPi0_Target; invariant mass in GeV/c^{2}; "
3474 "opening angle in degree",
3475 500, 0, 0.5, 500, 0, 50);
3478 new TH1D("GammasInvMass_candidates_Target", "GammasInvMass_candidates_Target; invariant mass in GeV/c^{2};#", 510,
3479 -0.01, 0.5);
3482 new TH1D("GammasOA_candidates_Target", "GammasOA_candidates_Target; opening angle in degree;#", 300, -0.1, 29.9);
3485 "GammasInvMass_fromPi0_Target", "GammasInvMass_fromPi0_Target; invariant mass in GeV/c^{2};#", 510, -0.01, 0.5);
3488 new TH1D("GammasOA_fromPi0_Target", "GammasOA_fromPi0_Target; opening angle in degree;#", 300, -0.1, 29.9);
3491 new TH1D("PlaneAngles_last_candidates_Target", "PlaneAngles_last_candidates_Target; #theta angle in degree;#", 720,
3492 -1., 179.);
3495 "PlaneAngles_last_fromPi0_Target", "PlaneAngles_last_fromPi0_Target; #theta angle in degree;#", 720, -1., 179.);
3498 new TH1D("PlaneAngles_first_candidates_Target", "PlaneAngles_first_candidates_Target; #theta angle in degree;#",
3499 720, -1., 179.);
3502 "PlaneAngles_first_fromPi0_Target", "PlaneAngles_first_fromPi0_Target; #theta angle in degree;#", 720, -1., 179.);
3504
3505
3506 InvMass_vs_OA_candidates_Outside = new TH2D("InvMass_vs_OA_candidates_Outside",
3507 "InvMass_vs_OA_candidates_Outside; invariant mass in GeV/c^{2}; "
3508 "opening angle in degree",
3509 500, 0, 0.5, 500, 0, 50);
3511 InvMass_vs_OA_fromPi0_Outside = new TH2D("InvMass_vs_OA_fromPi0_Outside",
3512 "InvMass_vs_OA_fromPi0_Outside; invariant mass in GeV/c^{2}; "
3513 "opening angle in degree",
3514 500, 0, 0.5, 500, 0, 50);
3517 new TH1D("GammasInvMass_candidates_Outside", "GammasInvMass_candidates_Outside; invariant mass in GeV/c^{2};#", 510,
3518 -0.01, 0.5);
3521 new TH1D("GammasOA_candidates_Outside", "GammasOA_candidates_Outside; opening angle in degree;#", 300, -0.1, 29.9);
3524 "GammasInvMass_fromPi0_Outside", "GammasInvMass_fromPi0_Outside; invariant mass in GeV/c^{2};#", 510, -0.01, 0.5);
3527 new TH1D("GammasOA_fromPi0_Outside", "GammasOA_fromPi0_Outside; opening angle in degree;#", 300, -0.1, 29.9);
3530 new TH1D("PlaneAngles_last_candidates_Outside", "PlaneAngles_last_candidates_Outside; #theta angle in degree;#",
3531 720, -1., 179.);
3534 "PlaneAngles_last_fromPi0_Outside", "PlaneAngles_last_fromPi0_Outside; #theta angle in degree;#", 720, -1., 179.);
3537 new TH1D("PlaneAngles_first_candidates_Outside", "PlaneAngles_first_candidates_Outside; #theta angle in degree;#",
3538 720, -1., 179.);
3541 "PlaneAngles_first_fromPi0_Outside", "PlaneAngles_first_fromPi0_Outside; #theta angle in degree;#", 720, -1., 179.);
3543
3544
3545 // Target => all
3546 GammaInvMassReco_all_Target = new TH1D("GammaInvMassReco_all_Target",
3547 "GammaInvMassReco_all_Target; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3550 new TH1D("GammaOpeningAngleReco_all_Target", "GammaOpeningAngleReco_all_Target; angle [deg];#", 200, -0.1, 19.9);
3552 Pdg_all_Target = new TH1D("Pdg_all_Target", "Pdg_all_Target; Id;#", 800, 0, 400);
3554 P_reco_all_Target = new TH1D("P_reco_all_Target", "P_reco_all_Target; P in GeV/c^{2};#", 600, 0, 6);
3556 Pt_reco_all_Target = new TH1D("Pt_reco_all_Target", "Pt_reco_all_Target; P_{t} in GeV/c^{2};#", 300, 0, 3);
3559 new TH1D("Pi0InvMassReco_all_Target", "Pi0InvMassReco_all_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3562 new TH1D("EMT_InvMass_all_Target", "EMT_InvMass_all_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3564 Pi0_pt_vs_rap_all_Target = new TH2D(
3565 "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.);
3568 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.,
3569 40, 0., 4.);
3572 new TH1D("DalitzPi0_all_Target", "DalitzPi0_all_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3575 new TH1D("PhotonsPi0_all_Target", "PhotonsPi0_all_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3577
3578
3579 // Target => zero
3581 "GammaInvMassReco_zero_Target", "GammaInvMassReco_zero_Target; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3584 new TH1D("GammaOpeningAngleReco_zero_Target", "GammaOpeningAngleReco_zero_Target; angle [deg];#", 200, -0.1, 19.9);
3586 Pdg_zero_Target = new TH1D("Pdg_zero_Target", "Pdg_zero_Target; Id;#", 800, 0, 400);
3588 P_reco_zero_Target = new TH1D("P_reco_zero_Target", "P_reco_zero_Target; P in GeV/c^{2};#", 600, 0, 6);
3590 Pt_reco_zero_Target = new TH1D("Pt_reco_zero_Target", "Pt_reco_zero_Target; P_{t} in GeV/c^{2};#", 300, 0, 3);
3593 new TH1D("Pi0InvMassReco_zero_Target", "Pi0InvMassReco_zero_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3596 new TH1D("EMT_InvMass_zero_Target", "EMT_InvMass_zero_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3598 Pi0_pt_vs_rap_zero_Target = new TH2D(
3599 "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.);
3602 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.,
3603 40, 0., 4.);
3606 new TH1D("DalitzPi0_zero_Target", "DalitzPi0_zero_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3609 new TH1D("PhotonsPi0_zero_Target", "PhotonsPi0_zero_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3611
3612
3613 // Target => one
3614 GammaInvMassReco_one_Target = new TH1D("GammaInvMassReco_one_Target",
3615 "GammaInvMassReco_one_Target; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3618 new TH1D("GammaOpeningAngleReco_one_Target", "GammaOpeningAngleReco_one_Target; angle [deg];#", 200, -0.1, 19.9);
3620 Pdg_one_Target = new TH1D("Pdg_one_Target", "Pdg_one_Target; Id;#", 800, 0, 400);
3622 P_reco_one_Target = new TH1D("P_reco_one_Target", "P_reco_one_Target; P in GeV/c^{2};#", 600, 0, 6);
3624 Pt_reco_one_Target = new TH1D("Pt_reco_one_Target", "Pt_reco_one_Target; P_{t} in GeV/c^{2};#", 300, 0, 3);
3627 new TH1D("Pi0InvMassReco_one_Target", "Pi0InvMassReco_one_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3630 new TH1D("EMT_InvMass_one_Target", "EMT_InvMass_one_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3632 Pi0_pt_vs_rap_one_Target = new TH2D(
3633 "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.);
3636 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.,
3637 40, 0., 4.);
3640 new TH1D("DalitzPi0_one_Target", "DalitzPi0_one_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3643 new TH1D("PhotonsPi0_one_Target", "PhotonsPi0_one_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3645
3646
3647 // Target => two
3648 GammaInvMassReco_two_Target = new TH1D("GammaInvMassReco_two_Target",
3649 "GammaInvMassReco_two_Target; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3652 new TH1D("GammaOpeningAngleReco_two_Target", "GammaOpeningAngleReco_two_Target; angle [deg];#", 200, -0.1, 19.9);
3654 Pdg_two_Target = new TH1D("Pdg_two_Target", "Pdg_two_Target; Id;#", 800, 0, 400);
3656 P_reco_two_Target = new TH1D("P_reco_two_Target", "P_reco_two_Target; P in GeV/c^{2};#", 600, 0, 6);
3658 Pt_reco_two_Target = new TH1D("Pt_reco_two_Target", "Pt_reco_two_Target; P_{t} in GeV/c^{2};#", 300, 0, 3);
3661 new TH1D("Pi0InvMassReco_two_Target", "Pi0InvMassReco_two_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3664 new TH1D("EMT_InvMass_two_Target", "EMT_InvMass_two_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3666 Pi0_pt_vs_rap_two_Target = new TH2D(
3667 "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.);
3670 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.,
3671 40, 0., 4.);
3674 new TH1D("DalitzPi0_two_Target", "DalitzPi0_two_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3677 new TH1D("PhotonsPi0_two_Target", "PhotonsPi0_two_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3679
3680
3681 // Target => onetwo
3683 "GammaInvMassReco_onetwo_Target", "GammaInvMassReco_onetwo_Target; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3685 GammaOpeningAngleReco_onetwo_Target = new TH1D("GammaOpeningAngleReco_onetwo_Target",
3686 "GammaOpeningAngleReco_onetwo_Target; angle [deg];#", 200, -0.1, 19.9);
3688 Pdg_onetwo_Target = new TH1D("Pdg_onetwo_Target", "Pdg_onetwo_Target; Id;#", 800, 0, 400);
3690 P_reco_onetwo_Target = new TH1D("P_reco_onetwo_Target", "P_reco_onetwo_Target; P in GeV/c^{2};#", 600, 0, 6);
3692 Pt_reco_onetwo_Target = new TH1D("Pt_reco_onetwo_Target", "Pt_reco_onetwo_Target; P_{t} in GeV/c^{2};#", 300, 0, 3);
3694 Pi0InvMassReco_onetwo_Target = new TH1D("Pi0InvMassReco_onetwo_Target",
3695 "Pi0InvMassReco_onetwo_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3698 new TH1D("EMT_InvMass_onetwo_Target", "EMT_InvMass_onetwo_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3701 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,
3702 -1., 5.);
3705 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.,
3706 4., 40, 0., 4.);
3709 new TH1D("DalitzPi0_onetwo_Target", "DalitzPi0_onetwo_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3712 new TH1D("PhotonsPi0_onetwo_Target", "PhotonsPi0_onetwo_Target; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3714
3715
3716 // Outside => all
3718 "GammaInvMassReco_all_Outside", "GammaInvMassReco_all_Outside; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3721 new TH1D("GammaOpeningAngleReco_all_Outside", "GammaOpeningAngleReco_all_Outside; angle [deg];#", 200, -0.1, 19.9);
3723 Pdg_all_Outside = new TH1D("Pdg_all_Outside", "Pdg_all_Outside; Id;#", 800, 0, 400);
3725 P_reco_all_Outside = new TH1D("P_reco_all_Outside", "P_reco_all_Outside; P in GeV/c^{2};#", 600, 0, 6);
3727 Pt_reco_all_Outside = new TH1D("Pt_reco_all_Outside", "Pt_reco_all_Outside; P_{t} in GeV/c^{2};#", 300, 0, 3);
3730 new TH1D("Pi0InvMassReco_all_Outside", "Pi0InvMassReco_all_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3733 new TH1D("EMT_InvMass_all_Outside", "EMT_InvMass_all_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3735 Pi0_pt_vs_rap_all_Outside = new TH2D(
3736 "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.);
3739 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.,
3740 40, 0., 4.);
3743 new TH1D("DalitzPi0_all_Outside", "DalitzPi0_all_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3746 new TH1D("PhotonsPi0_all_Outside", "PhotonsPi0_all_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3748
3749
3750 // Outside => zero
3752 "GammaInvMassReco_zero_Outside", "GammaInvMassReco_zero_Outside; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3754 GammaOpeningAngleReco_zero_Outside = new TH1D("GammaOpeningAngleReco_zero_Outside",
3755 "GammaOpeningAngleReco_zero_Outside; angle [deg];#", 200, -0.1, 19.9);
3757 Pdg_zero_Outside = new TH1D("Pdg_zero_Outside", "Pdg_zero_Outside; Id;#", 800, 0, 400);
3759 P_reco_zero_Outside = new TH1D("P_reco_zero_Outside", "P_reco_zero_Outside; P in GeV/c^{2};#", 600, 0, 6);
3761 Pt_reco_zero_Outside = new TH1D("Pt_reco_zero_Outside", "Pt_reco_zero_Outside; P_{t} in GeV/c^{2};#", 300, 0, 3);
3764 new TH1D("Pi0InvMassReco_zero_Outside", "Pi0InvMassReco_zero_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3767 new TH1D("EMT_InvMass_zero_Outside", "EMT_InvMass_zero_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3769 Pi0_pt_vs_rap_zero_Outside = new TH2D(
3770 "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.);
3773 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.,
3774 4., 40, 0., 4.);
3777 new TH1D("DalitzPi0_zero_Outside", "DalitzPi0_zero_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3780 new TH1D("PhotonsPi0_zero_Outside", "PhotonsPi0_zero_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3782
3783
3784 // Outside => one
3786 "GammaInvMassReco_one_Outside", "GammaInvMassReco_one_Outside; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3789 new TH1D("GammaOpeningAngleReco_one_Outside", "GammaOpeningAngleReco_one_Outside; angle [deg];#", 200, -0.1, 19.9);
3791 Pdg_one_Outside = new TH1D("Pdg_one_Outside", "Pdg_one_Outside; Id;#", 800, 0, 400);
3793 P_reco_one_Outside = new TH1D("P_reco_one_Outside", "P_reco_one_Outside; P in GeV/c^{2};#", 600, 0, 6);
3795 Pt_reco_one_Outside = new TH1D("Pt_reco_one_Outside", "Pt_reco_one_Outside; P_{t} in GeV/c^{2};#", 300, 0, 3);
3798 new TH1D("Pi0InvMassReco_one_Outside", "Pi0InvMassReco_one_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3801 new TH1D("EMT_InvMass_one_Outside", "EMT_InvMass_one_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3803 Pi0_pt_vs_rap_one_Outside = new TH2D(
3804 "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.);
3807 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.,
3808 40, 0., 4.);
3811 new TH1D("DalitzPi0_one_Outside", "DalitzPi0_one_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3814 new TH1D("PhotonsPi0_one_Outside", "PhotonsPi0_one_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3816
3817
3818 // Outside => two
3820 "GammaInvMassReco_two_Outside", "GammaInvMassReco_two_Outside; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3823 new TH1D("GammaOpeningAngleReco_two_Outside", "GammaOpeningAngleReco_two_Outside; angle [deg];#", 200, -0.1, 19.9);
3825 Pdg_two_Outside = new TH1D("Pdg_two_Outside", "Pdg_two_Outside; Id;#", 800, 0, 400);
3827 P_reco_two_Outside = new TH1D("P_reco_two_Outside", "P_reco_two_Outside; P in GeV/c^{2};#", 600, 0, 6);
3829 Pt_reco_two_Outside = new TH1D("Pt_reco_two_Outside", "Pt_reco_two_Outside; P_{t} in GeV/c^{2};#", 300, 0, 3);
3832 new TH1D("Pi0InvMassReco_two_Outside", "Pi0InvMassReco_two_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3835 new TH1D("EMT_InvMass_two_Outside", "EMT_InvMass_two_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3837 Pi0_pt_vs_rap_two_Outside = new TH2D(
3838 "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.);
3841 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.,
3842 40, 0., 4.);
3845 new TH1D("DalitzPi0_two_Outside", "DalitzPi0_two_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3848 new TH1D("PhotonsPi0_two_Outside", "PhotonsPi0_two_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3850
3851
3852 // Outside => onetwo
3854 new TH1D("GammaInvMassReco_onetwo_Outside", "GammaInvMassReco_onetwo_Outside; invariant mass in GeV/c^{2};#", 110,
3855 -0.01, 0.1);
3858 "GammaOpeningAngleReco_onetwo_Outside", "GammaOpeningAngleReco_onetwo_Outside; angle [deg];#", 200, -0.1, 19.9);
3860 Pdg_onetwo_Outside = new TH1D("Pdg_onetwo_Outside", "Pdg_onetwo_Outside; Id;#", 800, 0, 400);
3862 P_reco_onetwo_Outside = new TH1D("P_reco_onetwo_Outside", "P_reco_onetwo_Outside; P in GeV/c^{2};#", 600, 0, 6);
3865 new TH1D("Pt_reco_onetwo_Outside", "Pt_reco_onetwo_Outside; P_{t} in GeV/c^{2};#", 300, 0, 3);
3868 "Pi0InvMassReco_onetwo_Outside", "Pi0InvMassReco_onetwo_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3871 new TH1D("EMT_InvMass_onetwo_Outside", "EMT_InvMass_onetwo_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3874 new TH2D("Pi0_pt_vs_rap_onetwo_Outside", "Pi0_pt_vs_rap_onetwo_Outside; rapidity y; p_{t} in GeV/c ", 90, -2., 7.,
3875 60, -1., 5.);
3878 new TH2D("Pi0_pt_vs_rap_est_onetwo_Outside", "Pi0_pt_vs_rap_est_onetwo_Outside; rapidity y; p_{t} in GeV/c ", 10,
3879 0., 4., 40, 0., 4.);
3882 new TH1D("DalitzPi0_onetwo_Outside", "DalitzPi0_onetwo_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3885 new TH1D("PhotonsPi0_onetwo_Outside", "PhotonsPi0_onetwo_Outside; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3887
3888
3889 // Both => all
3891 new TH1D("GammaInvMassReco_all_Both", "GammaInvMassReco_all_Both; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3894 new TH1D("GammaOpeningAngleReco_all_Both", "GammaOpeningAngleReco_all_Both; angle [deg];#", 200, -0.1, 19.9);
3896 Pdg_all_Both = new TH1D("Pdg_all_Both", "Pdg_all_Both; Id;#", 800, 0, 400);
3898 P_reco_all_Both = new TH1D("P_reco_all_Both", "P_reco_all_Both; P in GeV/c^{2};#", 600, 0, 6);
3900 Pt_reco_all_Both = new TH1D("Pt_reco_all_Both", "Pt_reco_all_Both; P_{t} in GeV/c^{2};#", 300, 0, 3);
3903 new TH1D("Pi0InvMassReco_all_Both", "Pi0InvMassReco_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3906 new TH1D("EMT_InvMass_all_Both", "EMT_InvMass_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3909 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.);
3911 Pi0_pt_vs_rap_est_all_Both = new TH2D(
3912 "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.);
3915 new TH1D("DalitzPi0_all_Both", "DalitzPi0_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3918 new TH1D("PhotonsPi0_all_Both", "PhotonsPi0_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3920
3921
3922 // Both => zero
3923 GammaInvMassReco_zero_Both = new TH1D("GammaInvMassReco_zero_Both",
3924 "GammaInvMassReco_zero_Both; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3927 new TH1D("GammaOpeningAngleReco_zero_Both", "GammaOpeningAngleReco_zero_Both; angle [deg];#", 200, -0.1, 19.9);
3929 Pdg_zero_Both = new TH1D("Pdg_zero_Both", "Pdg_zero_Both; Id;#", 800, 0, 400);
3931 P_reco_zero_Both = new TH1D("P_reco_zero_Both", "P_reco_zero_Both; P in GeV/c^{2};#", 600, 0, 6);
3933 Pt_reco_zero_Both = new TH1D("Pt_reco_zero_Both", "Pt_reco_zero_Both; P_{t} in GeV/c^{2};#", 300, 0, 3);
3936 new TH1D("Pi0InvMassReco_zero_Both", "Pi0InvMassReco_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3939 new TH1D("EMT_InvMass_zero_Both", "EMT_InvMass_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3941 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 ",
3942 90, -2., 7., 60, -1., 5.);
3944 Pi0_pt_vs_rap_est_zero_Both = new TH2D(
3945 "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.);
3948 new TH1D("DalitzPi0_zero_Both", "DalitzPi0_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3951 new TH1D("PhotonsPi0_zero_Both", "PhotonsPi0_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3953
3954
3955 // Both => one
3957 new TH1D("GammaInvMassReco_one_Both", "GammaInvMassReco_one_Both; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3960 new TH1D("GammaOpeningAngleReco_one_Both", "GammaOpeningAngleReco_one_Both; angle [deg];#", 200, -0.1, 19.9);
3962 Pdg_one_Both = new TH1D("Pdg_one_Both", "Pdg_one_Both; Id;#", 800, 0, 400);
3964 P_reco_one_Both = new TH1D("P_reco_one_Both", "P_reco_one_Both; P in GeV/c^{2};#", 600, 0, 6);
3966 Pt_reco_one_Both = new TH1D("Pt_reco_one_Both", "Pt_reco_one_Both; P_{t} in GeV/c^{2};#", 300, 0, 3);
3969 new TH1D("Pi0InvMassReco_one_Both", "Pi0InvMassReco_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3972 new TH1D("EMT_InvMass_one_Both", "EMT_InvMass_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3975 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.);
3977 Pi0_pt_vs_rap_est_one_Both = new TH2D(
3978 "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.);
3981 new TH1D("DalitzPi0_one_Both", "DalitzPi0_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3984 new TH1D("PhotonsPi0_one_Both", "PhotonsPi0_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3986
3987
3988 // Both => two
3990 new TH1D("GammaInvMassReco_two_Both", "GammaInvMassReco_two_Both; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
3993 new TH1D("GammaOpeningAngleReco_two_Both", "GammaOpeningAngleReco_two_Both; angle [deg];#", 200, -0.1, 19.9);
3995 Pdg_two_Both = new TH1D("Pdg_two_Both", "Pdg_two_Both; Id;#", 800, 0, 400);
3997 P_reco_two_Both = new TH1D("P_reco_two_Both", "P_reco_two_Both; P in GeV/c^{2};#", 600, 0, 6);
3999 Pt_reco_two_Both = new TH1D("Pt_reco_two_Both", "Pt_reco_two_Both; P_{t} in GeV/c^{2};#", 300, 0, 3);
4002 new TH1D("Pi0InvMassReco_two_Both", "Pi0InvMassReco_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4005 new TH1D("EMT_InvMass_two_Both", "EMT_InvMass_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4008 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.);
4010 Pi0_pt_vs_rap_est_two_Both = new TH2D(
4011 "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.);
4014 new TH1D("DalitzPi0_two_Both", "DalitzPi0_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4017 new TH1D("PhotonsPi0_two_Both", "PhotonsPi0_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4019
4020
4021 // Both => onetwo
4023 "GammaInvMassReco_onetwo_Both", "GammaInvMassReco_onetwo_Both; invariant mass in GeV/c^{2};#", 110, -0.01, 0.1);
4026 new TH1D("GammaOpeningAngleReco_onetwo_Both", "GammaOpeningAngleReco_onetwo_Both; angle [deg];#", 200, -0.1, 19.9);
4028 Pdg_onetwo_Both = new TH1D("Pdg_onetwo_Both", "Pdg_onetwo_Both; Id;#", 800, 0, 400);
4030 P_reco_onetwo_Both = new TH1D("P_reco_onetwo_Both", "P_reco_onetwo_Both; P in GeV/c^{2};#", 600, 0, 6);
4032 Pt_reco_onetwo_Both = new TH1D("Pt_reco_onetwo_Both", "Pt_reco_onetwo_Both; P_{t} in GeV/c^{2};#", 300, 0, 3);
4035 new TH1D("Pi0InvMassReco_onetwo_Both", "Pi0InvMassReco_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4038 new TH1D("EMT_InvMass_onetwo_Both", "EMT_InvMass_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4040 Pi0_pt_vs_rap_onetwo_Both = new TH2D(
4041 "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.);
4044 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.,
4045 40, 0., 4.);
4048 new TH1D("DalitzPi0_onetwo_Both", "DalitzPi0_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4051 new TH1D("PhotonsPi0_onetwo_Both", "PhotonsPi0_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
4053
4054
4055 // Both
4056 Pdg_vs_Distance = new TH2D("Pdg_vs_Distance", "Pdg_vs_Distance; pdg; distance in cm", 2500, 0, 2499, 500, 0, 50);
4058 P_vs_Distance = new TH2D("P_vs_Distance",
4059 "Distance between projected track and center of the ring (for e+ "
4060 "and e-); P in GeV/c^{2}; distance in cm",
4061 300, 0, 3, 300, 0, 15);
4063
4064
4065 // Multiplicity Target
4066 MultiplicityGamma_all_Target = new TH2D("MultiplicityGamma_all_Target",
4067 "MultiplicityGamma_all_Target; Nof gammas in event; invariant "
4068 "mass in GeV/c^{2};#",
4069 400, 0, 30, 1000, 0, 2.0);
4071 MultiplicityGamma_zero_Target = new TH2D("MultiplicityGamma_zero_Target",
4072 "MultiplicityGamma_zero_Target; Nof gammas in event; invariant "
4073 "mass in GeV/c^{2};#",
4074 400, 0, 30, 1000, 0, 2.0);
4076 MultiplicityGamma_one_Target = new TH2D("MultiplicityGamma_one_Target",
4077 "MultiplicityGamma_one_Target; Nof gammas in event; invariant "
4078 "mass in GeV/c^{2};#",
4079 400, 0, 30, 1000, 0, 2.0);
4081 MultiplicityGamma_two_Target = new TH2D("MultiplicityGamma_two_Target",
4082 "MultiplicityGamma_two_Target; Nof gammas in event; invariant "
4083 "mass in GeV/c^{2};#",
4084 400, 0, 30, 1000, 0, 2.0);
4086 MultiplicityGamma_onetwo_Target = new TH2D("MultiplicityGamma_onetwo_Target",
4087 "MultiplicityGamma_onetwo_Target; Nof gammas in event; invariant "
4088 "mass in GeV/c^{2};#",
4089 400, 0, 30, 1000, 0, 2.0);
4091
4092 MultiplicityChargedParticles_all_Target = new TH2D("MultiplicityChargedParticles_all_Target",
4093 "MultiplicityChargedParticles_all_Target; Nof charged particles "
4094 "in event; invariant mass in GeV/c^{2};#",
4095 1000, 0, 1000, 1000, 0, 2.0);
4097 MultiplicityChargedParticles_zero_Target = new TH2D("MultiplicityChargedParticles_zero_Target",
4098 "MultiplicityChargedParticles_zero_Target; Nof charged particles "
4099 "in event; invariant mass in GeV/c^{2};#",
4100 1000, 0, 1000, 1000, 0, 2.0);
4102 MultiplicityChargedParticles_one_Target = new TH2D("MultiplicityChargedParticles_one_Target",
4103 "MultiplicityChargedParticles_one_Target; Nof charged particles "
4104 "in event; invariant mass in GeV/c^{2};#",
4105 1000, 0, 1000, 1000, 0, 2.0);
4107 MultiplicityChargedParticles_two_Target = new TH2D("MultiplicityChargedParticles_two_Target",
4108 "MultiplicityChargedParticles_two_Target; Nof charged particles "
4109 "in event; invariant mass in GeV/c^{2};#",
4110 1000, 0, 1000, 1000, 0, 2.0);
4112 MultiplicityChargedParticles_onetwo_Target = new TH2D("MultiplicityChargedParticles_onetwo_Target",
4113 "MultiplicityChargedParticles_onetwo_Target; Nof charged "
4114 "particles in event; invariant mass in GeV/c^{2};#",
4115 1000, 0, 1000, 1000, 0, 2.0);
4117
4118 // Multiplicity Outside
4119 MultiplicityGamma_all_Outside = new TH2D("MultiplicityGamma_all_Outside",
4120 "MultiplicityGamma_all_Outside; Nof gammas in event; invariant "
4121 "mass in GeV/c^{2};#",
4122 400, 0, 30, 1000, 0, 2.0);
4124 MultiplicityGamma_zero_Outside = new TH2D("MultiplicityGamma_zero_Outside",
4125 "MultiplicityGamma_zero_Outside; Nof gammas in event; invariant "
4126 "mass in GeV/c^{2};#",
4127 400, 0, 30, 1000, 0, 2.0);
4129 MultiplicityGamma_one_Outside = new TH2D("MultiplicityGamma_one_Outside",
4130 "MultiplicityGamma_one_Outside; Nof gammas in event; invariant "
4131 "mass in GeV/c^{2};#",
4132 400, 0, 30, 1000, 0, 2.0);
4134 MultiplicityGamma_two_Outside = new TH2D("MultiplicityGamma_two_Outside",
4135 "MultiplicityGamma_two_Outside; Nof gammas in event; invariant "
4136 "mass in GeV/c^{2};#",
4137 400, 0, 30, 1000, 0, 2.0);
4139 MultiplicityGamma_onetwo_Outside = new TH2D("MultiplicityGamma_onetwo_Outside",
4140 "MultiplicityGamma_onetwo_Outside; Nof gammas in event; invariant "
4141 "mass in GeV/c^{2};#",
4142 400, 0, 30, 1000, 0, 2.0);
4144
4145 MultiplicityChargedParticles_all_Outside = new TH2D("MultiplicityChargedParticles_all_Outside",
4146 "MultiplicityChargedParticles_all_Outside; Nof charged particles "
4147 "in event; invariant mass in GeV/c^{2};#",
4148 1000, 0, 1000, 1000, 0, 2.0);
4151 new TH2D("MultiplicityChargedParticles_zero_Outside",
4152 "MultiplicityChargedParticles_zero_Outside; Nof charged particles "
4153 "in event; invariant mass in GeV/c^{2};#",
4154 1000, 0, 1000, 1000, 0, 2.0);
4156 MultiplicityChargedParticles_one_Outside = new TH2D("MultiplicityChargedParticles_one_Outside",
4157 "MultiplicityChargedParticles_one_Outside; Nof charged particles "
4158 "in event; invariant mass in GeV/c^{2};#",
4159 1000, 0, 1000, 1000, 0, 2.0);
4161 MultiplicityChargedParticles_two_Outside = new TH2D("MultiplicityChargedParticles_two_Outside",
4162 "MultiplicityChargedParticles_two_Outside; Nof charged particles "
4163 "in event; invariant mass in GeV/c^{2};#",
4164 1000, 0, 1000, 1000, 0, 2.0);
4166 MultiplicityChargedParticles_onetwo_Outside = new TH2D("MultiplicityChargedParticles_onetwo_Outside",
4167 "MultiplicityChargedParticles_onetwo_Outside; Nof charged "
4168 "particles in event; invariant mass in GeV/c^{2};#",
4169 1000, 0, 1000, 1000, 0, 2.0);
4171
4172
4173 // Multiplicity Both
4174 MultiplicityGamma_all_Both = new TH2D("MultiplicityGamma_all_Both",
4175 "MultiplicityGamma_all_Both; Nof gammas in event; invariant mass "
4176 "in GeV/c^{2};#",
4177 400, 0, 30, 1000, 0, 2.0);
4179 MultiplicityGamma_zero_Both = new TH2D("MultiplicityGamma_zero_Both",
4180 "MultiplicityGamma_zero_Both; Nof gammas in event; invariant mass "
4181 "in GeV/c^{2};#",
4182 400, 0, 30, 1000, 0, 2.0);
4184 MultiplicityGamma_one_Both = new TH2D("MultiplicityGamma_one_Both",
4185 "MultiplicityGamma_one_Both; Nof gammas in event; invariant mass "
4186 "in GeV/c^{2};#",
4187 400, 0, 30, 1000, 0, 2.0);
4189 MultiplicityGamma_two_Both = new TH2D("MultiplicityGamma_two_Both",
4190 "MultiplicityGamma_two_Both; Nof gammas in event; invariant mass "
4191 "in GeV/c^{2};#",
4192 400, 0, 30, 1000, 0, 2.0);
4194 MultiplicityGamma_onetwo_Both = new TH2D("MultiplicityGamma_onetwo_Both",
4195 "MultiplicityGamma_onetwo_Both; Nof gammas in event; invariant "
4196 "mass in GeV/c^{2};#",
4197 400, 0, 30, 1000, 0, 2.0);
4199
4200 MultiplicityChargedParticles_all_Both = new TH2D("MultiplicityChargedParticles_all_Both",
4201 "MultiplicityChargedParticles_all_Both; Nof charged particles in "
4202 "event; invariant mass in GeV/c^{2};#",
4203 1000, 0, 1000, 1000, 0, 2.0);
4205 MultiplicityChargedParticles_zero_Both = new TH2D("MultiplicityChargedParticles_zero_Both",
4206 "MultiplicityChargedParticles_zero_Both; Nof charged particles in "
4207 "event; invariant mass in GeV/c^{2};#",
4208 1000, 0, 1000, 1000, 0, 2.0);
4210 MultiplicityChargedParticles_one_Both = new TH2D("MultiplicityChargedParticles_one_Both",
4211 "MultiplicityChargedParticles_one_Both; Nof charged particles in "
4212 "event; invariant mass in GeV/c^{2};#",
4213 1000, 0, 1000, 1000, 0, 2.0);
4215 MultiplicityChargedParticles_two_Both = new TH2D("MultiplicityChargedParticles_two_Both",
4216 "MultiplicityChargedParticles_two_Both; Nof charged particles in "
4217 "event; invariant mass in GeV/c^{2};#",
4218 1000, 0, 1000, 1000, 0, 2.0);
4220 MultiplicityChargedParticles_onetwo_Both = new TH2D("MultiplicityChargedParticles_onetwo_Both",
4221 "MultiplicityChargedParticles_onetwo_Both; Nof charged particles "
4222 "in event; invariant mass in GeV/c^{2};#",
4223 1000, 0, 1000, 1000, 0, 2.0);
4225
4226
4227 // rap_vs_Pt for "OneTwo" and "Both" NEW => Pt step = 0.1
4229 rap_vs_Pt_InM_1 = new TH1D("rap_vs_Pt_InM_1",
4230 "rapidity = (1.2-1.6) P_{t} = (0.0-0.1 "
4231 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4232 1000, 0, 2.0);
4234 rap_vs_Pt_InM_2 = new TH1D("rap_vs_Pt_InM_2",
4235 "rapidity = (1.2-1.6) P_{t} = (0.1-0.2 "
4236 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4237 1000, 0, 2.0);
4239 rap_vs_Pt_InM_3 = new TH1D("rap_vs_Pt_InM_3",
4240 "rapidity = (1.2-1.6) P_{t} = (0.2-0.3 "
4241 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4242 1000, 0, 2.0);
4244 rap_vs_Pt_InM_4 = new TH1D("rap_vs_Pt_InM_4",
4245 "rapidity = (1.2-1.6) P_{t} = (0.3-0.4 "
4246 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4247 1000, 0, 2.0);
4249 rap_vs_Pt_InM_5 = new TH1D("rap_vs_Pt_InM_5",
4250 "rapidity = (1.2-1.6) P_{t} = (0.4-0.5 "
4251 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4252 1000, 0, 2.0);
4254 rap_vs_Pt_InM_6 = new TH1D("rap_vs_Pt_InM_6",
4255 "rapidity = (1.2-1.6) P_{t} = (0.5-0.6 "
4256 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4257 1000, 0, 2.0);
4259 rap_vs_Pt_InM_7 = new TH1D("rap_vs_Pt_InM_7",
4260 "rapidity = (1.2-1.6) P_{t} = (0.6-0.7 "
4261 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4262 1000, 0, 2.0);
4264 rap_vs_Pt_InM_8 = new TH1D("rap_vs_Pt_InM_8",
4265 "rapidity = (1.2-1.6) P_{t} = (0.7-0.8 "
4266 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4267 1000, 0, 2.0);
4269 rap_vs_Pt_InM_9 = new TH1D("rap_vs_Pt_InM_9",
4270 "rapidity = (1.2-1.6) P_{t} = (0.8-0.9 "
4271 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4272 1000, 0, 2.0);
4274 rap_vs_Pt_InM_10 = new TH1D("rap_vs_Pt_InM_10",
4275 "rapidity = (1.2-1.6) P_{t} = (0.9-1.0 "
4276 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4277 1000, 0, 2.0);
4279 rap_vs_Pt_InM_11 = new TH1D("rap_vs_Pt_InM_11",
4280 "rapidity = (1.2-1.6) P_{t} = (1.0-1.1 "
4281 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4282 1000, 0, 2.0);
4284 rap_vs_Pt_InM_12 = new TH1D("rap_vs_Pt_InM_12",
4285 "rapidity = (1.2-1.6) P_{t} = (1.1-1.2 "
4286 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4287 1000, 0, 2.0);
4289 rap_vs_Pt_InM_13 = new TH1D("rap_vs_Pt_InM_13",
4290 "rapidity = (1.2-1.6) P_{t} = (1.2-1.3 "
4291 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4292 1000, 0, 2.0);
4294 rap_vs_Pt_InM_14 = new TH1D("rap_vs_Pt_InM_14",
4295 "rapidity = (1.2-1.6) P_{t} = (1.3-1.4 "
4296 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4297 1000, 0, 2.0);
4299 rap_vs_Pt_InM_15 = new TH1D("rap_vs_Pt_InM_15",
4300 "rapidity = (1.2-1.6) P_{t} = (1.4-1.5 "
4301 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4302 1000, 0, 2.0);
4304 rap_vs_Pt_InM_16 = new TH1D("rap_vs_Pt_InM_16",
4305 "rapidity = (1.2-1.6) P_{t} = (1.5-1.6 "
4306 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4307 1000, 0, 2.0);
4309 rap_vs_Pt_InM_17 = new TH1D("rap_vs_Pt_InM_17",
4310 "rapidity = (1.2-1.6) P_{t} = (1.6-1.7 "
4311 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4312 1000, 0, 2.0);
4314 rap_vs_Pt_InM_18 = new TH1D("rap_vs_Pt_InM_18",
4315 "rapidity = (1.2-1.6) P_{t} = (1.7-1.8 "
4316 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4317 1000, 0, 2.0);
4319 rap_vs_Pt_InM_19 = new TH1D("rap_vs_Pt_InM_19",
4320 "rapidity = (1.2-1.6) P_{t} = (1.8-1.9 "
4321 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4322 1000, 0, 2.0);
4324 rap_vs_Pt_InM_20 = new TH1D("rap_vs_Pt_InM_20",
4325 "rapidity = (1.2-1.6) P_{t} = (1.9-2.0 "
4326 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4327 1000, 0, 2.0);
4329 rap_vs_Pt_InM_21 = new TH1D("rap_vs_Pt_InM_21",
4330 "rapidity = (1.6-2.0) P_{t} = (0.0-0.1 "
4331 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4332 1000, 0, 2.0);
4334 rap_vs_Pt_InM_22 = new TH1D("rap_vs_Pt_InM_22",
4335 "rapidity = (1.6-2.0) P_{t} = (0.1-0.2 "
4336 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4337 1000, 0, 2.0);
4339 rap_vs_Pt_InM_23 = new TH1D("rap_vs_Pt_InM_23",
4340 "rapidity = (1.6-2.0) P_{t} = (0.2-0.3 "
4341 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4342 1000, 0, 2.0);
4344 rap_vs_Pt_InM_24 = new TH1D("rap_vs_Pt_InM_24",
4345 "rapidity = (1.6-2.0) P_{t} = (0.3-0.4 "
4346 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4347 1000, 0, 2.0);
4349 rap_vs_Pt_InM_25 = new TH1D("rap_vs_Pt_InM_25",
4350 "rapidity = (1.6-2.0) P_{t} = (0.4-0.5 "
4351 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4352 1000, 0, 2.0);
4354 rap_vs_Pt_InM_26 = new TH1D("rap_vs_Pt_InM_26",
4355 "rapidity = (1.6-2.0) P_{t} = (0.5-0.6 "
4356 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4357 1000, 0, 2.0);
4359 rap_vs_Pt_InM_27 = new TH1D("rap_vs_Pt_InM_27",
4360 "rapidity = (1.6-2.0) P_{t} = (0.6-0.7 "
4361 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4362 1000, 0, 2.0);
4364 rap_vs_Pt_InM_28 = new TH1D("rap_vs_Pt_InM_28",
4365 "rapidity = (1.6-2.0) P_{t} = (0.7-0.8 "
4366 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4367 1000, 0, 2.0);
4369 rap_vs_Pt_InM_29 = new TH1D("rap_vs_Pt_InM_29",
4370 "rapidity = (1.6-2.0) P_{t} = (0.8-0.9 "
4371 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4372 1000, 0, 2.0);
4374 rap_vs_Pt_InM_30 = new TH1D("rap_vs_Pt_InM_30",
4375 "rapidity = (1.6-2.0) P_{t} = (0.9-1.0 "
4376 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4377 1000, 0, 2.0);
4379 rap_vs_Pt_InM_31 = new TH1D("rap_vs_Pt_InM_31",
4380 "rapidity = (1.6-2.0) P_{t} = (1.0-1.1 "
4381 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4382 1000, 0, 2.0);
4384 rap_vs_Pt_InM_32 = new TH1D("rap_vs_Pt_InM_32",
4385 "rapidity = (1.6-2.0) P_{t} = (1.1-1.2 "
4386 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4387 1000, 0, 2.0);
4389 rap_vs_Pt_InM_33 = new TH1D("rap_vs_Pt_InM_33",
4390 "rapidity = (1.6-2.0) P_{t} = (1.2-1.3 "
4391 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4392 1000, 0, 2.0);
4394 rap_vs_Pt_InM_34 = new TH1D("rap_vs_Pt_InM_34",
4395 "rapidity = (1.6-2.0) P_{t} = (1.3-1.4 "
4396 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4397 1000, 0, 2.0);
4399 rap_vs_Pt_InM_35 = new TH1D("rap_vs_Pt_InM_35",
4400 "rapidity = (1.6-2.0) P_{t} = (1.4-1.5 "
4401 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4402 1000, 0, 2.0);
4404 rap_vs_Pt_InM_36 = new TH1D("rap_vs_Pt_InM_36",
4405 "rapidity = (1.6-2.0) P_{t} = (1.5-1.6 "
4406 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4407 1000, 0, 2.0);
4409 rap_vs_Pt_InM_37 = new TH1D("rap_vs_Pt_InM_37",
4410 "rapidity = (1.6-2.0) P_{t} = (1.6-1.7 "
4411 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4412 1000, 0, 2.0);
4414 rap_vs_Pt_InM_38 = new TH1D("rap_vs_Pt_InM_38",
4415 "rapidity = (1.6-2.0) P_{t} = (1.7-1.8 "
4416 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4417 1000, 0, 2.0);
4419 rap_vs_Pt_InM_39 = new TH1D("rap_vs_Pt_InM_39",
4420 "rapidity = (1.6-2.0) P_{t} = (1.8-1.9 "
4421 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4422 1000, 0, 2.0);
4424 rap_vs_Pt_InM_40 = new TH1D("rap_vs_Pt_InM_40",
4425 "rapidity = (1.6-2.0) P_{t} = (1.9-2.0 "
4426 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4427 1000, 0, 2.0);
4429 rap_vs_Pt_InM_41 = new TH1D("rap_vs_Pt_InM_41",
4430 "rapidity = (2.0-2.4) P_{t} = (0.0-0.1 "
4431 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4432 1000, 0, 2.0);
4434 rap_vs_Pt_InM_42 = new TH1D("rap_vs_Pt_InM_42",
4435 "rapidity = (2.0-2.4) P_{t} = (0.1-0.2 "
4436 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4437 1000, 0, 2.0);
4439 rap_vs_Pt_InM_43 = new TH1D("rap_vs_Pt_InM_43",
4440 "rapidity = (2.0-2.4) P_{t} = (0.2-0.3 "
4441 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4442 1000, 0, 2.0);
4444 rap_vs_Pt_InM_44 = new TH1D("rap_vs_Pt_InM_44",
4445 "rapidity = (2.0-2.4) P_{t} = (0.3-0.4 "
4446 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4447 1000, 0, 2.0);
4449 rap_vs_Pt_InM_45 = new TH1D("rap_vs_Pt_InM_45",
4450 "rapidity = (2.0-2.4) P_{t} = (0.4-0.5 "
4451 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4452 1000, 0, 2.0);
4454 rap_vs_Pt_InM_46 = new TH1D("rap_vs_Pt_InM_46",
4455 "rapidity = (2.0-2.4) P_{t} = (0.5-0.6 "
4456 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4457 1000, 0, 2.0);
4459 rap_vs_Pt_InM_47 = new TH1D("rap_vs_Pt_InM_47",
4460 "rapidity = (2.0-2.4) P_{t} = (0.6-0.7 "
4461 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4462 1000, 0, 2.0);
4464 rap_vs_Pt_InM_48 = new TH1D("rap_vs_Pt_InM_48",
4465 "rapidity = (2.0-2.4) P_{t} = (0.7-0.8 "
4466 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4467 1000, 0, 2.0);
4469 rap_vs_Pt_InM_49 = new TH1D("rap_vs_Pt_InM_49",
4470 "rapidity = (2.0-2.4) P_{t} = (0.8-0.9 "
4471 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4472 1000, 0, 2.0);
4474 rap_vs_Pt_InM_50 = new TH1D("rap_vs_Pt_InM_50",
4475 "rapidity = (2.0-2.4) P_{t} = (0.9-1.0 "
4476 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4477 1000, 0, 2.0);
4479 rap_vs_Pt_InM_51 = new TH1D("rap_vs_Pt_InM_51",
4480 "rapidity = (2.0-2.4) P_{t} = (1.0-1.1 "
4481 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4482 1000, 0, 2.0);
4484 rap_vs_Pt_InM_52 = new TH1D("rap_vs_Pt_InM_52",
4485 "rapidity = (2.0-2.4) P_{t} = (1.1-1.2 "
4486 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4487 1000, 0, 2.0);
4489 rap_vs_Pt_InM_53 = new TH1D("rap_vs_Pt_InM_53",
4490 "rapidity = (2.0-2.4) P_{t} = (1.2-1.3 "
4491 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4492 1000, 0, 2.0);
4494 rap_vs_Pt_InM_54 = new TH1D("rap_vs_Pt_InM_54",
4495 "rapidity = (2.0-2.4) P_{t} = (1.3-1.4 "
4496 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4497 1000, 0, 2.0);
4499 rap_vs_Pt_InM_55 = new TH1D("rap_vs_Pt_InM_55",
4500 "rapidity = (2.0-2.4) P_{t} = (1.4-1.5 "
4501 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4502 1000, 0, 2.0);
4504 rap_vs_Pt_InM_56 = new TH1D("rap_vs_Pt_InM_56",
4505 "rapidity = (2.0-2.4) P_{t} = (1.5-1.6 "
4506 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4507 1000, 0, 2.0);
4509 rap_vs_Pt_InM_57 = new TH1D("rap_vs_Pt_InM_57",
4510 "rapidity = (2.0-2.4) P_{t} = (1.6-1.7 "
4511 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4512 1000, 0, 2.0);
4514 rap_vs_Pt_InM_58 = new TH1D("rap_vs_Pt_InM_58",
4515 "rapidity = (2.0-2.4) P_{t} = (1.7-1.8 "
4516 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4517 1000, 0, 2.0);
4519 rap_vs_Pt_InM_59 = new TH1D("rap_vs_Pt_InM_59",
4520 "rapidity = (2.0-2.4) P_{t} = (1.8-1.9 "
4521 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4522 1000, 0, 2.0);
4524 rap_vs_Pt_InM_60 = new TH1D("rap_vs_Pt_InM_60",
4525 "rapidity = (2.0-2.4) P_{t} = (1.9-2.0 "
4526 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4527 1000, 0, 2.0);
4529 rap_vs_Pt_InM_61 = new TH1D("rap_vs_Pt_InM_61",
4530 "rapidity = (2.4-2.8) P_{t} = (0.0-0.1 "
4531 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4532 1000, 0, 2.0);
4534 rap_vs_Pt_InM_62 = new TH1D("rap_vs_Pt_InM_62",
4535 "rapidity = (2.4-2.8) P_{t} = (0.1-0.2 "
4536 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4537 1000, 0, 2.0);
4539 rap_vs_Pt_InM_63 = new TH1D("rap_vs_Pt_InM_63",
4540 "rapidity = (2.4-2.8) P_{t} = (0.2-0.3 "
4541 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4542 1000, 0, 2.0);
4544 rap_vs_Pt_InM_64 = new TH1D("rap_vs_Pt_InM_64",
4545 "rapidity = (2.4-2.8) P_{t} = (0.3-0.4 "
4546 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4547 1000, 0, 2.0);
4549 rap_vs_Pt_InM_65 = new TH1D("rap_vs_Pt_InM_65",
4550 "rapidity = (2.4-2.8) P_{t} = (0.4-0.5 "
4551 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4552 1000, 0, 2.0);
4554 rap_vs_Pt_InM_66 = new TH1D("rap_vs_Pt_InM_66",
4555 "rapidity = (2.4-2.8) P_{t} = (0.5-0.6 "
4556 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4557 1000, 0, 2.0);
4559 rap_vs_Pt_InM_67 = new TH1D("rap_vs_Pt_InM_67",
4560 "rapidity = (2.4-2.8) P_{t} = (0.6-0.7 "
4561 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4562 1000, 0, 2.0);
4564 rap_vs_Pt_InM_68 = new TH1D("rap_vs_Pt_InM_68",
4565 "rapidity = (2.4-2.8) P_{t} = (0.7-0.8 "
4566 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4567 1000, 0, 2.0);
4569 rap_vs_Pt_InM_69 = new TH1D("rap_vs_Pt_InM_69",
4570 "rapidity = (2.4-2.8) P_{t} = (0.8-0.9 "
4571 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4572 1000, 0, 2.0);
4574 rap_vs_Pt_InM_70 = new TH1D("rap_vs_Pt_InM_70",
4575 "rapidity = (2.4-2.8) P_{t} = (0.9-1.0 "
4576 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4577 1000, 0, 2.0);
4579 rap_vs_Pt_InM_71 = new TH1D("rap_vs_Pt_InM_71",
4580 "rapidity = (2.4-2.8) P_{t} = (1.0-1.1 "
4581 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4582 1000, 0, 2.0);
4584 rap_vs_Pt_InM_72 = new TH1D("rap_vs_Pt_InM_72",
4585 "rapidity = (2.4-2.8) P_{t} = (1.1-1.2 "
4586 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4587 1000, 0, 2.0);
4589 rap_vs_Pt_InM_73 = new TH1D("rap_vs_Pt_InM_73",
4590 "rapidity = (2.4-2.8) P_{t} = (1.2-1.3 "
4591 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4592 1000, 0, 2.0);
4594 rap_vs_Pt_InM_74 = new TH1D("rap_vs_Pt_InM_74",
4595 "rapidity = (2.4-2.8) P_{t} = (1.3-1.4 "
4596 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4597 1000, 0, 2.0);
4599 rap_vs_Pt_InM_75 = new TH1D("rap_vs_Pt_InM_75",
4600 "rapidity = (2.4-2.8) P_{t} = (1.4-1.5 "
4601 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4602 1000, 0, 2.0);
4604 rap_vs_Pt_InM_76 = new TH1D("rap_vs_Pt_InM_76",
4605 "rapidity = (2.4-2.8) P_{t} = (1.5-1.6 "
4606 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4607 1000, 0, 2.0);
4609 rap_vs_Pt_InM_81 = new TH1D("rap_vs_Pt_InM_81",
4610 "rapidity = (2.8-3.2) P_{t} = (0.0-0.1 "
4611 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4612 1000, 0, 2.0);
4614 rap_vs_Pt_InM_82 = new TH1D("rap_vs_Pt_InM_82",
4615 "rapidity = (2.8-3.2) P_{t} = (0.1-0.2 "
4616 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4617 1000, 0, 2.0);
4619 rap_vs_Pt_InM_83 = new TH1D("rap_vs_Pt_InM_83",
4620 "rapidity = (2.8-3.2) P_{t} = (0.2-0.3 "
4621 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4622 1000, 0, 2.0);
4624 rap_vs_Pt_InM_84 = new TH1D("rap_vs_Pt_InM_84",
4625 "rapidity = (2.8-3.2) P_{t} = (0.3-0.4 "
4626 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4627 1000, 0, 2.0);
4629 rap_vs_Pt_InM_85 = new TH1D("rap_vs_Pt_InM_85",
4630 "rapidity = (2.8-3.2) P_{t} = (0.4-0.5 "
4631 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4632 1000, 0, 2.0);
4634 rap_vs_Pt_InM_86 = new TH1D("rap_vs_Pt_InM_86",
4635 "rapidity = (2.8-3.2) P_{t} = (0.5-0.6 "
4636 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4637 1000, 0, 2.0);
4639 rap_vs_Pt_InM_87 = new TH1D("rap_vs_Pt_InM_87",
4640 "rapidity = (2.8-3.2) P_{t} = (0.6-0.7 "
4641 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4642 1000, 0, 2.0);
4644 rap_vs_Pt_InM_88 = new TH1D("rap_vs_Pt_InM_88",
4645 "rapidity = (2.8-3.2) P_{t} = (0.7-0.8 "
4646 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4647 1000, 0, 2.0);
4649 rap_vs_Pt_InM_89 = new TH1D("rap_vs_Pt_InM_89",
4650 "rapidity = (2.8-3.2) P_{t} = (0.8-0.9 "
4651 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4652 1000, 0, 2.0);
4654 rap_vs_Pt_InM_90 = new TH1D("rap_vs_Pt_InM_90",
4655 "rapidity = (2.8-3.2) P_{t} = (0.9-1.0 "
4656 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4657 1000, 0, 2.0);
4659 rap_vs_Pt_InM_91 = new TH1D("rap_vs_Pt_InM_91",
4660 "rapidity = (2.8-3.2) P_{t} = (1.0-1.1 "
4661 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4662 1000, 0, 2.0);
4664 rap_vs_Pt_InM_92 = new TH1D("rap_vs_Pt_InM_92",
4665 "rapidity = (2.8-3.2) P_{t} = (1.1-1.2 "
4666 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4667 1000, 0, 2.0);
4669 rap_vs_Pt_InM_101 = new TH1D("rap_vs_Pt_InM_101",
4670 "rapidity = (3.2-3.6) P_{t} = (0.0-0.1 "
4671 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4672 1000, 0, 2.0);
4674 rap_vs_Pt_InM_102 = new TH1D("rap_vs_Pt_InM_102",
4675 "rapidity = (3.2-3.6) P_{t} = (0.1-0.2 "
4676 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4677 1000, 0, 2.0);
4679 rap_vs_Pt_InM_103 = new TH1D("rap_vs_Pt_InM_103",
4680 "rapidity = (3.2-3.6) P_{t} = (0.2-0.3 "
4681 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4682 1000, 0, 2.0);
4684 rap_vs_Pt_InM_104 = new TH1D("rap_vs_Pt_InM_104",
4685 "rapidity = (3.2-3.6) P_{t} = (0.3-0.4 "
4686 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4687 1000, 0, 2.0);
4689 rap_vs_Pt_InM_105 = new TH1D("rap_vs_Pt_InM_105",
4690 "rapidity = (3.2-3.6) P_{t} = (0.4-0.5 "
4691 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4692 1000, 0, 2.0);
4694 rap_vs_Pt_InM_106 = new TH1D("rap_vs_Pt_InM_106",
4695 "rapidity = (3.2-3.6) P_{t} = (0.5-0.6 "
4696 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4697 1000, 0, 2.0);
4699 rap_vs_Pt_InM_107 = new TH1D("rap_vs_Pt_InM_107",
4700 "rapidity = (3.2-3.6) P_{t} = (0.6-0.7 "
4701 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4702 1000, 0, 2.0);
4704 rap_vs_Pt_InM_108 = new TH1D("rap_vs_Pt_InM_108",
4705 "rapidity = (3.2-3.6) P_{t} = (0.7-0.8 "
4706 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4707 1000, 0, 2.0);
4709 rap_vs_Pt_InM_111 = new TH1D("rap_vs_Pt_InM_111",
4710 "rapidity = (3.6-4.0) P_{t} = (0.0-0.1 "
4711 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4712 1000, 0, 2.0);
4714 rap_vs_Pt_InM_112 = new TH1D("rap_vs_Pt_InM_112",
4715 "rapidity = (3.6-4.0) P_{t} = (0.1-0.2 "
4716 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4717 1000, 0, 2.0);
4719 rap_vs_Pt_InM_113 = new TH1D("rap_vs_Pt_InM_113",
4720 "rapidity = (3.6-4.0) P_{t} = (0.2-0.3 "
4721 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4722 1000, 0, 2.0);
4724 rap_vs_Pt_InM_114 = new TH1D("rap_vs_Pt_InM_114",
4725 "rapidity = (3.6-4.0) P_{t} = (0.3-0.4 "
4726 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
4727 1000, 0, 2.0);
4729
4730 rap_vs_Pt_InM_mixing_1 = new TH1D("rap_vs_Pt_InM_mixing_1",
4731 "rapidity = (1.2-1.6) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
4732 "mass in GeV/c^{2};#",
4733 1000, 0, 2.0);
4735 rap_vs_Pt_InM_mixing_2 = new TH1D("rap_vs_Pt_InM_mixing_2",
4736 "rapidity = (1.2-1.6) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
4737 "mass in GeV/c^{2};#",
4738 1000, 0, 2.0);
4740 rap_vs_Pt_InM_mixing_3 = new TH1D("rap_vs_Pt_InM_mixing_3",
4741 "rapidity = (1.2-1.6) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
4742 "mass in GeV/c^{2};#",
4743 1000, 0, 2.0);
4745 rap_vs_Pt_InM_mixing_4 = new TH1D("rap_vs_Pt_InM_mixing_4",
4746 "rapidity = (1.2-1.6) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
4747 "mass in GeV/c^{2};#",
4748 1000, 0, 2.0);
4750 rap_vs_Pt_InM_mixing_5 = new TH1D("rap_vs_Pt_InM_mixing_5",
4751 "rapidity = (1.2-1.6) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
4752 "mass in GeV/c^{2};#",
4753 1000, 0, 2.0);
4755 rap_vs_Pt_InM_mixing_6 = new TH1D("rap_vs_Pt_InM_mixing_6",
4756 "rapidity = (1.2-1.6) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
4757 "mass in GeV/c^{2};#",
4758 1000, 0, 2.0);
4760 rap_vs_Pt_InM_mixing_7 = new TH1D("rap_vs_Pt_InM_mixing_7",
4761 "rapidity = (1.2-1.6) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
4762 "mass in GeV/c^{2};#",
4763 1000, 0, 2.0);
4765 rap_vs_Pt_InM_mixing_8 = new TH1D("rap_vs_Pt_InM_mixing_8",
4766 "rapidity = (1.2-1.6) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
4767 "mass in GeV/c^{2};#",
4768 1000, 0, 2.0);
4770 rap_vs_Pt_InM_mixing_9 = new TH1D("rap_vs_Pt_InM_mixing_9",
4771 "rapidity = (1.2-1.6) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
4772 "mass in GeV/c^{2};#",
4773 1000, 0, 2.0);
4775 rap_vs_Pt_InM_mixing_10 = new TH1D("rap_vs_Pt_InM_mixing_10",
4776 "rapidity = (1.2-1.6) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
4777 "mass in GeV/c^{2};#",
4778 1000, 0, 2.0);
4780 rap_vs_Pt_InM_mixing_11 = new TH1D("rap_vs_Pt_InM_mixing_11",
4781 "rapidity = (1.2-1.6) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
4782 "mass in GeV/c^{2};#",
4783 1000, 0, 2.0);
4785 rap_vs_Pt_InM_mixing_12 = new TH1D("rap_vs_Pt_InM_mixing_12",
4786 "rapidity = (1.2-1.6) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
4787 "mass in GeV/c^{2};#",
4788 1000, 0, 2.0);
4790 rap_vs_Pt_InM_mixing_13 = new TH1D("rap_vs_Pt_InM_mixing_13",
4791 "rapidity = (1.2-1.6) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
4792 "mass in GeV/c^{2};#",
4793 1000, 0, 2.0);
4795 rap_vs_Pt_InM_mixing_14 = new TH1D("rap_vs_Pt_InM_mixing_14",
4796 "rapidity = (1.2-1.6) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
4797 "mass in GeV/c^{2};#",
4798 1000, 0, 2.0);
4800 rap_vs_Pt_InM_mixing_15 = new TH1D("rap_vs_Pt_InM_mixing_15",
4801 "rapidity = (1.2-1.6) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
4802 "mass in GeV/c^{2};#",
4803 1000, 0, 2.0);
4805 rap_vs_Pt_InM_mixing_16 = new TH1D("rap_vs_Pt_InM_mixing_16",
4806 "rapidity = (1.2-1.6) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
4807 "mass in GeV/c^{2};#",
4808 1000, 0, 2.0);
4810 rap_vs_Pt_InM_mixing_17 = new TH1D("rap_vs_Pt_InM_mixing_17",
4811 "rapidity = (1.2-1.6) P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant "
4812 "mass in GeV/c^{2};#",
4813 1000, 0, 2.0);
4815 rap_vs_Pt_InM_mixing_18 = new TH1D("rap_vs_Pt_InM_mixing_18",
4816 "rapidity = (1.2-1.6) P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant "
4817 "mass in GeV/c^{2};#",
4818 1000, 0, 2.0);
4820 rap_vs_Pt_InM_mixing_19 = new TH1D("rap_vs_Pt_InM_mixing_19",
4821 "rapidity = (1.2-1.6) P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant "
4822 "mass in GeV/c^{2};#",
4823 1000, 0, 2.0);
4825 rap_vs_Pt_InM_mixing_20 = new TH1D("rap_vs_Pt_InM_mixing_20",
4826 "rapidity = (1.2-1.6) P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant "
4827 "mass in GeV/c^{2};#",
4828 1000, 0, 2.0);
4830 rap_vs_Pt_InM_mixing_21 = new TH1D("rap_vs_Pt_InM_mixing_21",
4831 "rapidity = (1.6-2.0) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
4832 "mass in GeV/c^{2};#",
4833 1000, 0, 2.0);
4835 rap_vs_Pt_InM_mixing_22 = new TH1D("rap_vs_Pt_InM_mixing_22",
4836 "rapidity = (1.6-2.0) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
4837 "mass in GeV/c^{2};#",
4838 1000, 0, 2.0);
4840 rap_vs_Pt_InM_mixing_23 = new TH1D("rap_vs_Pt_InM_mixing_23",
4841 "rapidity = (1.6-2.0) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
4842 "mass in GeV/c^{2};#",
4843 1000, 0, 2.0);
4845 rap_vs_Pt_InM_mixing_24 = new TH1D("rap_vs_Pt_InM_mixing_24",
4846 "rapidity = (1.6-2.0) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
4847 "mass in GeV/c^{2};#",
4848 1000, 0, 2.0);
4850 rap_vs_Pt_InM_mixing_25 = new TH1D("rap_vs_Pt_InM_mixing_25",
4851 "rapidity = (1.6-2.0) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
4852 "mass in GeV/c^{2};#",
4853 1000, 0, 2.0);
4855 rap_vs_Pt_InM_mixing_26 = new TH1D("rap_vs_Pt_InM_mixing_26",
4856 "rapidity = (1.6-2.0) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
4857 "mass in GeV/c^{2};#",
4858 1000, 0, 2.0);
4860 rap_vs_Pt_InM_mixing_27 = new TH1D("rap_vs_Pt_InM_mixing_27",
4861 "rapidity = (1.6-2.0) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
4862 "mass in GeV/c^{2};#",
4863 1000, 0, 2.0);
4865 rap_vs_Pt_InM_mixing_28 = new TH1D("rap_vs_Pt_InM_mixing_28",
4866 "rapidity = (1.6-2.0) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
4867 "mass in GeV/c^{2};#",
4868 1000, 0, 2.0);
4870 rap_vs_Pt_InM_mixing_29 = new TH1D("rap_vs_Pt_InM_mixing_29",
4871 "rapidity = (1.6-2.0) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
4872 "mass in GeV/c^{2};#",
4873 1000, 0, 2.0);
4875 rap_vs_Pt_InM_mixing_30 = new TH1D("rap_vs_Pt_InM_mixing_30",
4876 "rapidity = (1.6-2.0) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
4877 "mass in GeV/c^{2};#",
4878 1000, 0, 2.0);
4880 rap_vs_Pt_InM_mixing_31 = new TH1D("rap_vs_Pt_InM_mixing_31",
4881 "rapidity = (1.6-2.0) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
4882 "mass in GeV/c^{2};#",
4883 1000, 0, 2.0);
4885 rap_vs_Pt_InM_mixing_32 = new TH1D("rap_vs_Pt_InM_mixing_32",
4886 "rapidity = (1.6-2.0) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
4887 "mass in GeV/c^{2};#",
4888 1000, 0, 2.0);
4890 rap_vs_Pt_InM_mixing_33 = new TH1D("rap_vs_Pt_InM_mixing_33",
4891 "rapidity = (1.6-2.0) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
4892 "mass in GeV/c^{2};#",
4893 1000, 0, 2.0);
4895 rap_vs_Pt_InM_mixing_34 = new TH1D("rap_vs_Pt_InM_mixing_34",
4896 "rapidity = (1.6-2.0) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
4897 "mass in GeV/c^{2};#",
4898 1000, 0, 2.0);
4900 rap_vs_Pt_InM_mixing_35 = new TH1D("rap_vs_Pt_InM_mixing_35",
4901 "rapidity = (1.6-2.0) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
4902 "mass in GeV/c^{2};#",
4903 1000, 0, 2.0);
4905 rap_vs_Pt_InM_mixing_36 = new TH1D("rap_vs_Pt_InM_mixing_36",
4906 "rapidity = (1.6-2.0) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
4907 "mass in GeV/c^{2};#",
4908 1000, 0, 2.0);
4910 rap_vs_Pt_InM_mixing_37 = new TH1D("rap_vs_Pt_InM_mixing_37",
4911 "rapidity = (1.6-2.0) P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant "
4912 "mass in GeV/c^{2};#",
4913 1000, 0, 2.0);
4915 rap_vs_Pt_InM_mixing_38 = new TH1D("rap_vs_Pt_InM_mixing_38",
4916 "rapidity = (1.6-2.0) P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant "
4917 "mass in GeV/c^{2};#",
4918 1000, 0, 2.0);
4920 rap_vs_Pt_InM_mixing_39 = new TH1D("rap_vs_Pt_InM_mixing_39",
4921 "rapidity = (1.6-2.0) P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant "
4922 "mass in GeV/c^{2};#",
4923 1000, 0, 2.0);
4925 rap_vs_Pt_InM_mixing_40 = new TH1D("rap_vs_Pt_InM_mixing_40",
4926 "rapidity = (1.6-2.0) P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant "
4927 "mass in GeV/c^{2};#",
4928 1000, 0, 2.0);
4930 rap_vs_Pt_InM_mixing_41 = new TH1D("rap_vs_Pt_InM_mixing_41",
4931 "rapidity = (2.0-2.4) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
4932 "mass in GeV/c^{2};#",
4933 1000, 0, 2.0);
4935 rap_vs_Pt_InM_mixing_42 = new TH1D("rap_vs_Pt_InM_mixing_42",
4936 "rapidity = (2.0-2.4) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
4937 "mass in GeV/c^{2};#",
4938 1000, 0, 2.0);
4940 rap_vs_Pt_InM_mixing_43 = new TH1D("rap_vs_Pt_InM_mixing_43",
4941 "rapidity = (2.0-2.4) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
4942 "mass in GeV/c^{2};#",
4943 1000, 0, 2.0);
4945 rap_vs_Pt_InM_mixing_44 = new TH1D("rap_vs_Pt_InM_mixing_44",
4946 "rapidity = (2.0-2.4) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
4947 "mass in GeV/c^{2};#",
4948 1000, 0, 2.0);
4950 rap_vs_Pt_InM_mixing_45 = new TH1D("rap_vs_Pt_InM_mixing_45",
4951 "rapidity = (2.0-2.4) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
4952 "mass in GeV/c^{2};#",
4953 1000, 0, 2.0);
4955 rap_vs_Pt_InM_mixing_46 = new TH1D("rap_vs_Pt_InM_mixing_46",
4956 "rapidity = (2.0-2.4) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
4957 "mass in GeV/c^{2};#",
4958 1000, 0, 2.0);
4960 rap_vs_Pt_InM_mixing_47 = new TH1D("rap_vs_Pt_InM_mixing_47",
4961 "rapidity = (2.0-2.4) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
4962 "mass in GeV/c^{2};#",
4963 1000, 0, 2.0);
4965 rap_vs_Pt_InM_mixing_48 = new TH1D("rap_vs_Pt_InM_mixing_48",
4966 "rapidity = (2.0-2.4) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
4967 "mass in GeV/c^{2};#",
4968 1000, 0, 2.0);
4970 rap_vs_Pt_InM_mixing_49 = new TH1D("rap_vs_Pt_InM_mixing_49",
4971 "rapidity = (2.0-2.4) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
4972 "mass in GeV/c^{2};#",
4973 1000, 0, 2.0);
4975 rap_vs_Pt_InM_mixing_50 = new TH1D("rap_vs_Pt_InM_mixing_50",
4976 "rapidity = (2.0-2.4) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
4977 "mass in GeV/c^{2};#",
4978 1000, 0, 2.0);
4980 rap_vs_Pt_InM_mixing_51 = new TH1D("rap_vs_Pt_InM_mixing_51",
4981 "rapidity = (2.0-2.4) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
4982 "mass in GeV/c^{2};#",
4983 1000, 0, 2.0);
4985 rap_vs_Pt_InM_mixing_52 = new TH1D("rap_vs_Pt_InM_mixing_52",
4986 "rapidity = (2.0-2.4) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
4987 "mass in GeV/c^{2};#",
4988 1000, 0, 2.0);
4990 rap_vs_Pt_InM_mixing_53 = new TH1D("rap_vs_Pt_InM_mixing_53",
4991 "rapidity = (2.0-2.4) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
4992 "mass in GeV/c^{2};#",
4993 1000, 0, 2.0);
4995 rap_vs_Pt_InM_mixing_54 = new TH1D("rap_vs_Pt_InM_mixing_54",
4996 "rapidity = (2.0-2.4) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
4997 "mass in GeV/c^{2};#",
4998 1000, 0, 2.0);
5000 rap_vs_Pt_InM_mixing_55 = new TH1D("rap_vs_Pt_InM_mixing_55",
5001 "rapidity = (2.0-2.4) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
5002 "mass in GeV/c^{2};#",
5003 1000, 0, 2.0);
5005 rap_vs_Pt_InM_mixing_56 = new TH1D("rap_vs_Pt_InM_mixing_56",
5006 "rapidity = (2.0-2.4) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
5007 "mass in GeV/c^{2};#",
5008 1000, 0, 2.0);
5010 rap_vs_Pt_InM_mixing_57 = new TH1D("rap_vs_Pt_InM_mixing_57",
5011 "rapidity = (2.0-2.4) P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant "
5012 "mass in GeV/c^{2};#",
5013 1000, 0, 2.0);
5015 rap_vs_Pt_InM_mixing_58 = new TH1D("rap_vs_Pt_InM_mixing_58",
5016 "rapidity = (2.0-2.4) P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant "
5017 "mass in GeV/c^{2};#",
5018 1000, 0, 2.0);
5020 rap_vs_Pt_InM_mixing_59 = new TH1D("rap_vs_Pt_InM_mixing_59",
5021 "rapidity = (2.0-2.4) P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant "
5022 "mass in GeV/c^{2};#",
5023 1000, 0, 2.0);
5025 rap_vs_Pt_InM_mixing_60 = new TH1D("rap_vs_Pt_InM_mixing_60",
5026 "rapidity = (2.0-2.4) P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant "
5027 "mass in GeV/c^{2};#",
5028 1000, 0, 2.0);
5030 rap_vs_Pt_InM_mixing_61 = new TH1D("rap_vs_Pt_InM_mixing_61",
5031 "rapidity = (2.4-2.8) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5032 "mass in GeV/c^{2};#",
5033 1000, 0, 2.0);
5035 rap_vs_Pt_InM_mixing_62 = new TH1D("rap_vs_Pt_InM_mixing_62",
5036 "rapidity = (2.4-2.8) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5037 "mass in GeV/c^{2};#",
5038 1000, 0, 2.0);
5040 rap_vs_Pt_InM_mixing_63 = new TH1D("rap_vs_Pt_InM_mixing_63",
5041 "rapidity = (2.4-2.8) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5042 "mass in GeV/c^{2};#",
5043 1000, 0, 2.0);
5045 rap_vs_Pt_InM_mixing_64 = new TH1D("rap_vs_Pt_InM_mixing_64",
5046 "rapidity = (2.4-2.8) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5047 "mass in GeV/c^{2};#",
5048 1000, 0, 2.0);
5050 rap_vs_Pt_InM_mixing_65 = new TH1D("rap_vs_Pt_InM_mixing_65",
5051 "rapidity = (2.4-2.8) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
5052 "mass in GeV/c^{2};#",
5053 1000, 0, 2.0);
5055 rap_vs_Pt_InM_mixing_66 = new TH1D("rap_vs_Pt_InM_mixing_66",
5056 "rapidity = (2.4-2.8) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
5057 "mass in GeV/c^{2};#",
5058 1000, 0, 2.0);
5060 rap_vs_Pt_InM_mixing_67 = new TH1D("rap_vs_Pt_InM_mixing_67",
5061 "rapidity = (2.4-2.8) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
5062 "mass in GeV/c^{2};#",
5063 1000, 0, 2.0);
5065 rap_vs_Pt_InM_mixing_68 = new TH1D("rap_vs_Pt_InM_mixing_68",
5066 "rapidity = (2.4-2.8) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
5067 "mass in GeV/c^{2};#",
5068 1000, 0, 2.0);
5070 rap_vs_Pt_InM_mixing_69 = new TH1D("rap_vs_Pt_InM_mixing_69",
5071 "rapidity = (2.4-2.8) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
5072 "mass in GeV/c^{2};#",
5073 1000, 0, 2.0);
5075 rap_vs_Pt_InM_mixing_70 = new TH1D("rap_vs_Pt_InM_mixing_70",
5076 "rapidity = (2.4-2.8) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
5077 "mass in GeV/c^{2};#",
5078 1000, 0, 2.0);
5080 rap_vs_Pt_InM_mixing_71 = new TH1D("rap_vs_Pt_InM_mixing_71",
5081 "rapidity = (2.4-2.8) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
5082 "mass in GeV/c^{2};#",
5083 1000, 0, 2.0);
5085 rap_vs_Pt_InM_mixing_72 = new TH1D("rap_vs_Pt_InM_mixing_72",
5086 "rapidity = (2.4-2.8) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
5087 "mass in GeV/c^{2};#",
5088 1000, 0, 2.0);
5090 rap_vs_Pt_InM_mixing_73 = new TH1D("rap_vs_Pt_InM_mixing_73",
5091 "rapidity = (2.4-2.8) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
5092 "mass in GeV/c^{2};#",
5093 1000, 0, 2.0);
5095 rap_vs_Pt_InM_mixing_74 = new TH1D("rap_vs_Pt_InM_mixing_74",
5096 "rapidity = (2.4-2.8) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
5097 "mass in GeV/c^{2};#",
5098 1000, 0, 2.0);
5100 rap_vs_Pt_InM_mixing_75 = new TH1D("rap_vs_Pt_InM_mixing_75",
5101 "rapidity = (2.4-2.8) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
5102 "mass in GeV/c^{2};#",
5103 1000, 0, 2.0);
5105 rap_vs_Pt_InM_mixing_76 = new TH1D("rap_vs_Pt_InM_mixing_76",
5106 "rapidity = (2.4-2.8) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
5107 "mass in GeV/c^{2};#",
5108 1000, 0, 2.0);
5110 rap_vs_Pt_InM_mixing_81 = new TH1D("rap_vs_Pt_InM_mixing_81",
5111 "rapidity = (2.8-3.2) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5112 "mass in GeV/c^{2};#",
5113 1000, 0, 2.0);
5115 rap_vs_Pt_InM_mixing_82 = new TH1D("rap_vs_Pt_InM_mixing_82",
5116 "rapidity = (2.8-3.2) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5117 "mass in GeV/c^{2};#",
5118 1000, 0, 2.0);
5120 rap_vs_Pt_InM_mixing_83 = new TH1D("rap_vs_Pt_InM_mixing_83",
5121 "rapidity = (2.8-3.2) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5122 "mass in GeV/c^{2};#",
5123 1000, 0, 2.0);
5125 rap_vs_Pt_InM_mixing_84 = new TH1D("rap_vs_Pt_InM_mixing_84",
5126 "rapidity = (2.8-3.2) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5127 "mass in GeV/c^{2};#",
5128 1000, 0, 2.0);
5130 rap_vs_Pt_InM_mixing_85 = new TH1D("rap_vs_Pt_InM_mixing_85",
5131 "rapidity = (2.8-3.2) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
5132 "mass in GeV/c^{2};#",
5133 1000, 0, 2.0);
5135 rap_vs_Pt_InM_mixing_86 = new TH1D("rap_vs_Pt_InM_mixing_86",
5136 "rapidity = (2.8-3.2) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
5137 "mass in GeV/c^{2};#",
5138 1000, 0, 2.0);
5140 rap_vs_Pt_InM_mixing_87 = new TH1D("rap_vs_Pt_InM_mixing_87",
5141 "rapidity = (2.8-3.2) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
5142 "mass in GeV/c^{2};#",
5143 1000, 0, 2.0);
5145 rap_vs_Pt_InM_mixing_88 = new TH1D("rap_vs_Pt_InM_mixing_88",
5146 "rapidity = (2.8-3.2) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
5147 "mass in GeV/c^{2};#",
5148 1000, 0, 2.0);
5150 rap_vs_Pt_InM_mixing_89 = new TH1D("rap_vs_Pt_InM_mixing_89",
5151 "rapidity = (2.8-3.2) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
5152 "mass in GeV/c^{2};#",
5153 1000, 0, 2.0);
5155 rap_vs_Pt_InM_mixing_90 = new TH1D("rap_vs_Pt_InM_mixing_90",
5156 "rapidity = (2.8-3.2) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
5157 "mass in GeV/c^{2};#",
5158 1000, 0, 2.0);
5160 rap_vs_Pt_InM_mixing_91 = new TH1D("rap_vs_Pt_InM_mixing_91",
5161 "rapidity = (2.8-3.2) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
5162 "mass in GeV/c^{2};#",
5163 1000, 0, 2.0);
5165 rap_vs_Pt_InM_mixing_92 = new TH1D("rap_vs_Pt_InM_mixing_92",
5166 "rapidity = (2.8-3.2) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
5167 "mass in GeV/c^{2};#",
5168 1000, 0, 2.0);
5170 rap_vs_Pt_InM_mixing_101 = new TH1D("rap_vs_Pt_InM_mixing_101",
5171 "rapidity = (3.2-3.6) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5172 "mass in GeV/c^{2};#",
5173 1000, 0, 2.0);
5175 rap_vs_Pt_InM_mixing_102 = new TH1D("rap_vs_Pt_InM_mixing_102",
5176 "rapidity = (3.2-3.6) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5177 "mass in GeV/c^{2};#",
5178 1000, 0, 2.0);
5180 rap_vs_Pt_InM_mixing_103 = new TH1D("rap_vs_Pt_InM_mixing_103",
5181 "rapidity = (3.2-3.6) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5182 "mass in GeV/c^{2};#",
5183 1000, 0, 2.0);
5185 rap_vs_Pt_InM_mixing_104 = new TH1D("rap_vs_Pt_InM_mixing_104",
5186 "rapidity = (3.2-3.6) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5187 "mass in GeV/c^{2};#",
5188 1000, 0, 2.0);
5190 rap_vs_Pt_InM_mixing_105 = new TH1D("rap_vs_Pt_InM_mixing_105",
5191 "rapidity = (3.2-3.6) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
5192 "mass in GeV/c^{2};#",
5193 1000, 0, 2.0);
5195 rap_vs_Pt_InM_mixing_106 = new TH1D("rap_vs_Pt_InM_mixing_106",
5196 "rapidity = (3.2-3.6) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
5197 "mass in GeV/c^{2};#",
5198 1000, 0, 2.0);
5200 rap_vs_Pt_InM_mixing_107 = new TH1D("rap_vs_Pt_InM_mixing_107",
5201 "rapidity = (3.2-3.6) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
5202 "mass in GeV/c^{2};#",
5203 1000, 0, 2.0);
5205 rap_vs_Pt_InM_mixing_108 = new TH1D("rap_vs_Pt_InM_mixing_108",
5206 "rapidity = (3.2-3.6) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
5207 "mass in GeV/c^{2};#",
5208 1000, 0, 2.0);
5210 rap_vs_Pt_InM_mixing_111 = new TH1D("rap_vs_Pt_InM_mixing_111",
5211 "rapidity = (3.6-4.0) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5212 "mass in GeV/c^{2};#",
5213 1000, 0, 2.0);
5215 rap_vs_Pt_InM_mixing_112 = new TH1D("rap_vs_Pt_InM_mixing_112",
5216 "rapidity = (3.6-4.0) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5217 "mass in GeV/c^{2};#",
5218 1000, 0, 2.0);
5220 rap_vs_Pt_InM_mixing_113 = new TH1D("rap_vs_Pt_InM_mixing_113",
5221 "rapidity = (3.6-4.0) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5222 "mass in GeV/c^{2};#",
5223 1000, 0, 2.0);
5225 rap_vs_Pt_InM_mixing_114 = new TH1D("rap_vs_Pt_InM_mixing_114",
5226 "rapidity = (3.6-4.0) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5227 "mass in GeV/c^{2};#",
5228 1000, 0, 2.0);
5230
5231 // rap_vs_Pt for "All" and "Both" NEW => Pt step = 0.1
5233 rap_vs_Pt_InM_all_1 = new TH1D("rap_vs_Pt_InM_all_1",
5234 "rapidity = (1.2-1.6) P_{t} = (0.0-0.1 "
5235 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5236 1000, 0, 2.0);
5238 rap_vs_Pt_InM_all_2 = new TH1D("rap_vs_Pt_InM_all_2",
5239 "rapidity = (1.2-1.6) P_{t} = (0.1-0.2 "
5240 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5241 1000, 0, 2.0);
5243 rap_vs_Pt_InM_all_3 = new TH1D("rap_vs_Pt_InM_all_3",
5244 "rapidity = (1.2-1.6) P_{t} = (0.2-0.3 "
5245 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5246 1000, 0, 2.0);
5248 rap_vs_Pt_InM_all_4 = new TH1D("rap_vs_Pt_InM_all_4",
5249 "rapidity = (1.2-1.6) P_{t} = (0.3-0.4 "
5250 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5251 1000, 0, 2.0);
5253 rap_vs_Pt_InM_all_5 = new TH1D("rap_vs_Pt_InM_all_5",
5254 "rapidity = (1.2-1.6) P_{t} = (0.4-0.5 "
5255 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5256 1000, 0, 2.0);
5258 rap_vs_Pt_InM_all_6 = new TH1D("rap_vs_Pt_InM_all_6",
5259 "rapidity = (1.2-1.6) P_{t} = (0.5-0.6 "
5260 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5261 1000, 0, 2.0);
5263 rap_vs_Pt_InM_all_7 = new TH1D("rap_vs_Pt_InM_all_7",
5264 "rapidity = (1.2-1.6) P_{t} = (0.6-0.7 "
5265 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5266 1000, 0, 2.0);
5268 rap_vs_Pt_InM_all_8 = new TH1D("rap_vs_Pt_InM_all_8",
5269 "rapidity = (1.2-1.6) P_{t} = (0.7-0.8 "
5270 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5271 1000, 0, 2.0);
5273 rap_vs_Pt_InM_all_9 = new TH1D("rap_vs_Pt_InM_all_9",
5274 "rapidity = (1.2-1.6) P_{t} = (0.8-0.9 "
5275 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5276 1000, 0, 2.0);
5278 rap_vs_Pt_InM_all_10 = new TH1D("rap_vs_Pt_InM_all_10",
5279 "rapidity = (1.2-1.6) P_{t} = (0.9-1.0 "
5280 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5281 1000, 0, 2.0);
5283 rap_vs_Pt_InM_all_11 = new TH1D("rap_vs_Pt_InM_all_11",
5284 "rapidity = (1.2-1.6) P_{t} = (1.0-1.1 "
5285 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5286 1000, 0, 2.0);
5288 rap_vs_Pt_InM_all_12 = new TH1D("rap_vs_Pt_InM_all_12",
5289 "rapidity = (1.2-1.6) P_{t} = (1.1-1.2 "
5290 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5291 1000, 0, 2.0);
5293 rap_vs_Pt_InM_all_13 = new TH1D("rap_vs_Pt_InM_all_13",
5294 "rapidity = (1.2-1.6) P_{t} = (1.2-1.3 "
5295 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5296 1000, 0, 2.0);
5298 rap_vs_Pt_InM_all_14 = new TH1D("rap_vs_Pt_InM_all_14",
5299 "rapidity = (1.2-1.6) P_{t} = (1.3-1.4 "
5300 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5301 1000, 0, 2.0);
5303 rap_vs_Pt_InM_all_15 = new TH1D("rap_vs_Pt_InM_all_15",
5304 "rapidity = (1.2-1.6) P_{t} = (1.4-1.5 "
5305 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5306 1000, 0, 2.0);
5308 rap_vs_Pt_InM_all_16 = new TH1D("rap_vs_Pt_InM_all_16",
5309 "rapidity = (1.2-1.6) P_{t} = (1.5-1.6 "
5310 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5311 1000, 0, 2.0);
5313 rap_vs_Pt_InM_all_17 = new TH1D("rap_vs_Pt_InM_all_17",
5314 "rapidity = (1.2-1.6) P_{t} = (1.6-1.7 "
5315 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5316 1000, 0, 2.0);
5318 rap_vs_Pt_InM_all_18 = new TH1D("rap_vs_Pt_InM_all_18",
5319 "rapidity = (1.2-1.6) P_{t} = (1.7-1.8 "
5320 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5321 1000, 0, 2.0);
5323 rap_vs_Pt_InM_all_19 = new TH1D("rap_vs_Pt_InM_all_19",
5324 "rapidity = (1.2-1.6) P_{t} = (1.8-1.9 "
5325 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5326 1000, 0, 2.0);
5328 rap_vs_Pt_InM_all_20 = new TH1D("rap_vs_Pt_InM_all_20",
5329 "rapidity = (1.2-1.6) P_{t} = (1.9-2.0 "
5330 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5331 1000, 0, 2.0);
5333 rap_vs_Pt_InM_all_21 = new TH1D("rap_vs_Pt_InM_all_21",
5334 "rapidity = (1.6-2.0) P_{t} = (0.0-0.1 "
5335 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5336 1000, 0, 2.0);
5338 rap_vs_Pt_InM_all_22 = new TH1D("rap_vs_Pt_InM_all_22",
5339 "rapidity = (1.6-2.0) P_{t} = (0.1-0.2 "
5340 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5341 1000, 0, 2.0);
5343 rap_vs_Pt_InM_all_23 = new TH1D("rap_vs_Pt_InM_all_23",
5344 "rapidity = (1.6-2.0) P_{t} = (0.2-0.3 "
5345 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5346 1000, 0, 2.0);
5348 rap_vs_Pt_InM_all_24 = new TH1D("rap_vs_Pt_InM_all_24",
5349 "rapidity = (1.6-2.0) P_{t} = (0.3-0.4 "
5350 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5351 1000, 0, 2.0);
5353 rap_vs_Pt_InM_all_25 = new TH1D("rap_vs_Pt_InM_all_25",
5354 "rapidity = (1.6-2.0) P_{t} = (0.4-0.5 "
5355 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5356 1000, 0, 2.0);
5358 rap_vs_Pt_InM_all_26 = new TH1D("rap_vs_Pt_InM_all_26",
5359 "rapidity = (1.6-2.0) P_{t} = (0.5-0.6 "
5360 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5361 1000, 0, 2.0);
5363 rap_vs_Pt_InM_all_27 = new TH1D("rap_vs_Pt_InM_all_27",
5364 "rapidity = (1.6-2.0) P_{t} = (0.6-0.7 "
5365 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5366 1000, 0, 2.0);
5368 rap_vs_Pt_InM_all_28 = new TH1D("rap_vs_Pt_InM_all_28",
5369 "rapidity = (1.6-2.0) P_{t} = (0.7-0.8 "
5370 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5371 1000, 0, 2.0);
5373 rap_vs_Pt_InM_all_29 = new TH1D("rap_vs_Pt_InM_all_29",
5374 "rapidity = (1.6-2.0) P_{t} = (0.8-0.9 "
5375 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5376 1000, 0, 2.0);
5378 rap_vs_Pt_InM_all_30 = new TH1D("rap_vs_Pt_InM_all_30",
5379 "rapidity = (1.6-2.0) P_{t} = (0.9-1.0 "
5380 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5381 1000, 0, 2.0);
5383 rap_vs_Pt_InM_all_31 = new TH1D("rap_vs_Pt_InM_all_31",
5384 "rapidity = (1.6-2.0) P_{t} = (1.0-1.1 "
5385 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5386 1000, 0, 2.0);
5388 rap_vs_Pt_InM_all_32 = new TH1D("rap_vs_Pt_InM_all_32",
5389 "rapidity = (1.6-2.0) P_{t} = (1.1-1.2 "
5390 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5391 1000, 0, 2.0);
5393 rap_vs_Pt_InM_all_33 = new TH1D("rap_vs_Pt_InM_all_33",
5394 "rapidity = (1.6-2.0) P_{t} = (1.2-1.3 "
5395 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5396 1000, 0, 2.0);
5398 rap_vs_Pt_InM_all_34 = new TH1D("rap_vs_Pt_InM_all_34",
5399 "rapidity = (1.6-2.0) P_{t} = (1.3-1.4 "
5400 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5401 1000, 0, 2.0);
5403 rap_vs_Pt_InM_all_35 = new TH1D("rap_vs_Pt_InM_all_35",
5404 "rapidity = (1.6-2.0) P_{t} = (1.4-1.5 "
5405 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5406 1000, 0, 2.0);
5408 rap_vs_Pt_InM_all_36 = new TH1D("rap_vs_Pt_InM_all_36",
5409 "rapidity = (1.6-2.0) P_{t} = (1.5-1.6 "
5410 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5411 1000, 0, 2.0);
5413 rap_vs_Pt_InM_all_37 = new TH1D("rap_vs_Pt_InM_all_37",
5414 "rapidity = (1.6-2.0) P_{t} = (1.6-1.7 "
5415 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5416 1000, 0, 2.0);
5418 rap_vs_Pt_InM_all_38 = new TH1D("rap_vs_Pt_InM_all_38",
5419 "rapidity = (1.6-2.0) P_{t} = (1.7-1.8 "
5420 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5421 1000, 0, 2.0);
5423 rap_vs_Pt_InM_all_39 = new TH1D("rap_vs_Pt_InM_all_39",
5424 "rapidity = (1.6-2.0) P_{t} = (1.8-1.9 "
5425 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5426 1000, 0, 2.0);
5428 rap_vs_Pt_InM_all_40 = new TH1D("rap_vs_Pt_InM_all_40",
5429 "rapidity = (1.6-2.0) P_{t} = (1.9-2.0 "
5430 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5431 1000, 0, 2.0);
5433 rap_vs_Pt_InM_all_41 = new TH1D("rap_vs_Pt_InM_all_41",
5434 "rapidity = (2.0-2.4) P_{t} = (0.0-0.1 "
5435 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5436 1000, 0, 2.0);
5438 rap_vs_Pt_InM_all_42 = new TH1D("rap_vs_Pt_InM_all_42",
5439 "rapidity = (2.0-2.4) P_{t} = (0.1-0.2 "
5440 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5441 1000, 0, 2.0);
5443 rap_vs_Pt_InM_all_43 = new TH1D("rap_vs_Pt_InM_all_43",
5444 "rapidity = (2.0-2.4) P_{t} = (0.2-0.3 "
5445 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5446 1000, 0, 2.0);
5448 rap_vs_Pt_InM_all_44 = new TH1D("rap_vs_Pt_InM_all_44",
5449 "rapidity = (2.0-2.4) P_{t} = (0.3-0.4 "
5450 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5451 1000, 0, 2.0);
5453 rap_vs_Pt_InM_all_45 = new TH1D("rap_vs_Pt_InM_all_45",
5454 "rapidity = (2.0-2.4) P_{t} = (0.4-0.5 "
5455 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5456 1000, 0, 2.0);
5458 rap_vs_Pt_InM_all_46 = new TH1D("rap_vs_Pt_InM_all_46",
5459 "rapidity = (2.0-2.4) P_{t} = (0.5-0.6 "
5460 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5461 1000, 0, 2.0);
5463 rap_vs_Pt_InM_all_47 = new TH1D("rap_vs_Pt_InM_all_47",
5464 "rapidity = (2.0-2.4) P_{t} = (0.6-0.7 "
5465 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5466 1000, 0, 2.0);
5468 rap_vs_Pt_InM_all_48 = new TH1D("rap_vs_Pt_InM_all_48",
5469 "rapidity = (2.0-2.4) P_{t} = (0.7-0.8 "
5470 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5471 1000, 0, 2.0);
5473 rap_vs_Pt_InM_all_49 = new TH1D("rap_vs_Pt_InM_all_49",
5474 "rapidity = (2.0-2.4) P_{t} = (0.8-0.9 "
5475 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5476 1000, 0, 2.0);
5478 rap_vs_Pt_InM_all_50 = new TH1D("rap_vs_Pt_InM_all_50",
5479 "rapidity = (2.0-2.4) P_{t} = (0.9-1.0 "
5480 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5481 1000, 0, 2.0);
5483 rap_vs_Pt_InM_all_51 = new TH1D("rap_vs_Pt_InM_all_51",
5484 "rapidity = (2.0-2.4) P_{t} = (1.0-1.1 "
5485 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5486 1000, 0, 2.0);
5488 rap_vs_Pt_InM_all_52 = new TH1D("rap_vs_Pt_InM_all_52",
5489 "rapidity = (2.0-2.4) P_{t} = (1.1-1.2 "
5490 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5491 1000, 0, 2.0);
5493 rap_vs_Pt_InM_all_53 = new TH1D("rap_vs_Pt_InM_all_53",
5494 "rapidity = (2.0-2.4) P_{t} = (1.2-1.3 "
5495 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5496 1000, 0, 2.0);
5498 rap_vs_Pt_InM_all_54 = new TH1D("rap_vs_Pt_InM_all_54",
5499 "rapidity = (2.0-2.4) P_{t} = (1.3-1.4 "
5500 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5501 1000, 0, 2.0);
5503 rap_vs_Pt_InM_all_55 = new TH1D("rap_vs_Pt_InM_all_55",
5504 "rapidity = (2.0-2.4) P_{t} = (1.4-1.5 "
5505 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5506 1000, 0, 2.0);
5508 rap_vs_Pt_InM_all_56 = new TH1D("rap_vs_Pt_InM_all_56",
5509 "rapidity = (2.0-2.4) P_{t} = (1.5-1.6 "
5510 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5511 1000, 0, 2.0);
5513 rap_vs_Pt_InM_all_57 = new TH1D("rap_vs_Pt_InM_all_57",
5514 "rapidity = (2.0-2.4) P_{t} = (1.6-1.7 "
5515 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5516 1000, 0, 2.0);
5518 rap_vs_Pt_InM_all_58 = new TH1D("rap_vs_Pt_InM_all_58",
5519 "rapidity = (2.0-2.4) P_{t} = (1.7-1.8 "
5520 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5521 1000, 0, 2.0);
5523 rap_vs_Pt_InM_all_59 = new TH1D("rap_vs_Pt_InM_all_59",
5524 "rapidity = (2.0-2.4) P_{t} = (1.8-1.9 "
5525 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5526 1000, 0, 2.0);
5528 rap_vs_Pt_InM_all_60 = new TH1D("rap_vs_Pt_InM_all_60",
5529 "rapidity = (2.0-2.4) P_{t} = (1.9-2.0 "
5530 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5531 1000, 0, 2.0);
5533 rap_vs_Pt_InM_all_61 = new TH1D("rap_vs_Pt_InM_all_61",
5534 "rapidity = (2.4-2.8) P_{t} = (0.0-0.1 "
5535 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5536 1000, 0, 2.0);
5538 rap_vs_Pt_InM_all_62 = new TH1D("rap_vs_Pt_InM_all_62",
5539 "rapidity = (2.4-2.8) P_{t} = (0.1-0.2 "
5540 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5541 1000, 0, 2.0);
5543 rap_vs_Pt_InM_all_63 = new TH1D("rap_vs_Pt_InM_all_63",
5544 "rapidity = (2.4-2.8) P_{t} = (0.2-0.3 "
5545 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5546 1000, 0, 2.0);
5548 rap_vs_Pt_InM_all_64 = new TH1D("rap_vs_Pt_InM_all_64",
5549 "rapidity = (2.4-2.8) P_{t} = (0.3-0.4 "
5550 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5551 1000, 0, 2.0);
5553 rap_vs_Pt_InM_all_65 = new TH1D("rap_vs_Pt_InM_all_65",
5554 "rapidity = (2.4-2.8) P_{t} = (0.4-0.5 "
5555 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5556 1000, 0, 2.0);
5558 rap_vs_Pt_InM_all_66 = new TH1D("rap_vs_Pt_InM_all_66",
5559 "rapidity = (2.4-2.8) P_{t} = (0.5-0.6 "
5560 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5561 1000, 0, 2.0);
5563 rap_vs_Pt_InM_all_67 = new TH1D("rap_vs_Pt_InM_all_67",
5564 "rapidity = (2.4-2.8) P_{t} = (0.6-0.7 "
5565 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5566 1000, 0, 2.0);
5568 rap_vs_Pt_InM_all_68 = new TH1D("rap_vs_Pt_InM_all_68",
5569 "rapidity = (2.4-2.8) P_{t} = (0.7-0.8 "
5570 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5571 1000, 0, 2.0);
5573 rap_vs_Pt_InM_all_69 = new TH1D("rap_vs_Pt_InM_all_69",
5574 "rapidity = (2.4-2.8) P_{t} = (0.8-0.9 "
5575 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5576 1000, 0, 2.0);
5578 rap_vs_Pt_InM_all_70 = new TH1D("rap_vs_Pt_InM_all_70",
5579 "rapidity = (2.4-2.8) P_{t} = (0.9-1.0 "
5580 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5581 1000, 0, 2.0);
5583 rap_vs_Pt_InM_all_71 = new TH1D("rap_vs_Pt_InM_all_71",
5584 "rapidity = (2.4-2.8) P_{t} = (1.0-1.1 "
5585 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5586 1000, 0, 2.0);
5588 rap_vs_Pt_InM_all_72 = new TH1D("rap_vs_Pt_InM_all_72",
5589 "rapidity = (2.4-2.8) P_{t} = (1.1-1.2 "
5590 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5591 1000, 0, 2.0);
5593 rap_vs_Pt_InM_all_73 = new TH1D("rap_vs_Pt_InM_all_73",
5594 "rapidity = (2.4-2.8) P_{t} = (1.2-1.3 "
5595 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5596 1000, 0, 2.0);
5598 rap_vs_Pt_InM_all_74 = new TH1D("rap_vs_Pt_InM_all_74",
5599 "rapidity = (2.4-2.8) P_{t} = (1.3-1.4 "
5600 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5601 1000, 0, 2.0);
5603 rap_vs_Pt_InM_all_75 = new TH1D("rap_vs_Pt_InM_all_75",
5604 "rapidity = (2.4-2.8) P_{t} = (1.4-1.5 "
5605 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5606 1000, 0, 2.0);
5608 rap_vs_Pt_InM_all_76 = new TH1D("rap_vs_Pt_InM_all_76",
5609 "rapidity = (2.4-2.8) P_{t} = (1.5-1.6 "
5610 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5611 1000, 0, 2.0);
5613 rap_vs_Pt_InM_all_81 = new TH1D("rap_vs_Pt_InM_all_81",
5614 "rapidity = (2.8-3.2) P_{t} = (0.0-0.1 "
5615 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5616 1000, 0, 2.0);
5618 rap_vs_Pt_InM_all_82 = new TH1D("rap_vs_Pt_InM_all_82",
5619 "rapidity = (2.8-3.2) P_{t} = (0.1-0.2 "
5620 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5621 1000, 0, 2.0);
5623 rap_vs_Pt_InM_all_83 = new TH1D("rap_vs_Pt_InM_all_83",
5624 "rapidity = (2.8-3.2) P_{t} = (0.2-0.3 "
5625 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5626 1000, 0, 2.0);
5628 rap_vs_Pt_InM_all_84 = new TH1D("rap_vs_Pt_InM_all_84",
5629 "rapidity = (2.8-3.2) P_{t} = (0.3-0.4 "
5630 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5631 1000, 0, 2.0);
5633 rap_vs_Pt_InM_all_85 = new TH1D("rap_vs_Pt_InM_all_85",
5634 "rapidity = (2.8-3.2) P_{t} = (0.4-0.5 "
5635 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5636 1000, 0, 2.0);
5638 rap_vs_Pt_InM_all_86 = new TH1D("rap_vs_Pt_InM_all_86",
5639 "rapidity = (2.8-3.2) P_{t} = (0.5-0.6 "
5640 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5641 1000, 0, 2.0);
5643 rap_vs_Pt_InM_all_87 = new TH1D("rap_vs_Pt_InM_all_87",
5644 "rapidity = (2.8-3.2) P_{t} = (0.6-0.7 "
5645 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5646 1000, 0, 2.0);
5648 rap_vs_Pt_InM_all_88 = new TH1D("rap_vs_Pt_InM_all_88",
5649 "rapidity = (2.8-3.2) P_{t} = (0.7-0.8 "
5650 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5651 1000, 0, 2.0);
5653 rap_vs_Pt_InM_all_89 = new TH1D("rap_vs_Pt_InM_all_89",
5654 "rapidity = (2.8-3.2) P_{t} = (0.8-0.9 "
5655 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5656 1000, 0, 2.0);
5658 rap_vs_Pt_InM_all_90 = new TH1D("rap_vs_Pt_InM_all_90",
5659 "rapidity = (2.8-3.2) P_{t} = (0.9-1.0 "
5660 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5661 1000, 0, 2.0);
5663 rap_vs_Pt_InM_all_91 = new TH1D("rap_vs_Pt_InM_all_91",
5664 "rapidity = (2.8-3.2) P_{t} = (1.0-1.1 "
5665 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5666 1000, 0, 2.0);
5668 rap_vs_Pt_InM_all_92 = new TH1D("rap_vs_Pt_InM_all_92",
5669 "rapidity = (2.8-3.2) P_{t} = (1.1-1.2 "
5670 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5671 1000, 0, 2.0);
5673 rap_vs_Pt_InM_all_101 = new TH1D("rap_vs_Pt_InM_all_101",
5674 "rapidity = (3.2-3.6) P_{t} = (0.0-0.1 "
5675 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5676 1000, 0, 2.0);
5678 rap_vs_Pt_InM_all_102 = new TH1D("rap_vs_Pt_InM_all_102",
5679 "rapidity = (3.2-3.6) P_{t} = (0.1-0.2 "
5680 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5681 1000, 0, 2.0);
5683 rap_vs_Pt_InM_all_103 = new TH1D("rap_vs_Pt_InM_all_103",
5684 "rapidity = (3.2-3.6) P_{t} = (0.2-0.3 "
5685 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5686 1000, 0, 2.0);
5688 rap_vs_Pt_InM_all_104 = new TH1D("rap_vs_Pt_InM_all_104",
5689 "rapidity = (3.2-3.6) P_{t} = (0.3-0.4 "
5690 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5691 1000, 0, 2.0);
5693 rap_vs_Pt_InM_all_105 = new TH1D("rap_vs_Pt_InM_all_105",
5694 "rapidity = (3.2-3.6) P_{t} = (0.4-0.5 "
5695 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5696 1000, 0, 2.0);
5698 rap_vs_Pt_InM_all_106 = new TH1D("rap_vs_Pt_InM_all_106",
5699 "rapidity = (3.2-3.6) P_{t} = (0.5-0.6 "
5700 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5701 1000, 0, 2.0);
5703 rap_vs_Pt_InM_all_107 = new TH1D("rap_vs_Pt_InM_all_107",
5704 "rapidity = (3.2-3.6) P_{t} = (0.6-0.7 "
5705 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5706 1000, 0, 2.0);
5708 rap_vs_Pt_InM_all_108 = new TH1D("rap_vs_Pt_InM_all_108",
5709 "rapidity = (3.2-3.6) P_{t} = (0.7-0.8 "
5710 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5711 1000, 0, 2.0);
5713 rap_vs_Pt_InM_all_111 = new TH1D("rap_vs_Pt_InM_all_111",
5714 "rapidity = (3.6-4.0) P_{t} = (0.0-0.1 "
5715 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5716 1000, 0, 2.0);
5718 rap_vs_Pt_InM_all_112 = new TH1D("rap_vs_Pt_InM_all_112",
5719 "rapidity = (3.6-4.0) P_{t} = (0.1-0.2 "
5720 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5721 1000, 0, 2.0);
5723 rap_vs_Pt_InM_all_113 = new TH1D("rap_vs_Pt_InM_all_113",
5724 "rapidity = (3.6-4.0) P_{t} = (0.2-0.3 "
5725 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5726 1000, 0, 2.0);
5728 rap_vs_Pt_InM_all_114 = new TH1D("rap_vs_Pt_InM_all_114",
5729 "rapidity = (3.6-4.0) P_{t} = (0.3-0.4 "
5730 "GeV/c^{2}) ;invariant mass in GeV/c^{2};#",
5731 1000, 0, 2.0);
5733
5734 rap_vs_Pt_InM_all_mixing_1 = new TH1D("rap_vs_Pt_InM_all_mixing_1",
5735 "rapidity = (1.2-1.6) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5736 "mass in GeV/c^{2};#",
5737 1000, 0, 2.0);
5739 rap_vs_Pt_InM_all_mixing_2 = new TH1D("rap_vs_Pt_InM_all_mixing_2",
5740 "rapidity = (1.2-1.6) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5741 "mass in GeV/c^{2};#",
5742 1000, 0, 2.0);
5744 rap_vs_Pt_InM_all_mixing_3 = new TH1D("rap_vs_Pt_InM_all_mixing_3",
5745 "rapidity = (1.2-1.6) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5746 "mass in GeV/c^{2};#",
5747 1000, 0, 2.0);
5749 rap_vs_Pt_InM_all_mixing_4 = new TH1D("rap_vs_Pt_InM_all_mixing_4",
5750 "rapidity = (1.2-1.6) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5751 "mass in GeV/c^{2};#",
5752 1000, 0, 2.0);
5754 rap_vs_Pt_InM_all_mixing_5 = new TH1D("rap_vs_Pt_InM_all_mixing_5",
5755 "rapidity = (1.2-1.6) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
5756 "mass in GeV/c^{2};#",
5757 1000, 0, 2.0);
5759 rap_vs_Pt_InM_all_mixing_6 = new TH1D("rap_vs_Pt_InM_all_mixing_6",
5760 "rapidity = (1.2-1.6) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
5761 "mass in GeV/c^{2};#",
5762 1000, 0, 2.0);
5764 rap_vs_Pt_InM_all_mixing_7 = new TH1D("rap_vs_Pt_InM_all_mixing_7",
5765 "rapidity = (1.2-1.6) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
5766 "mass in GeV/c^{2};#",
5767 1000, 0, 2.0);
5769 rap_vs_Pt_InM_all_mixing_8 = new TH1D("rap_vs_Pt_InM_all_mixing_8",
5770 "rapidity = (1.2-1.6) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
5771 "mass in GeV/c^{2};#",
5772 1000, 0, 2.0);
5774 rap_vs_Pt_InM_all_mixing_9 = new TH1D("rap_vs_Pt_InM_all_mixing_9",
5775 "rapidity = (1.2-1.6) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
5776 "mass in GeV/c^{2};#",
5777 1000, 0, 2.0);
5779 rap_vs_Pt_InM_all_mixing_10 = new TH1D("rap_vs_Pt_InM_all_mixing_10",
5780 "rapidity = (1.2-1.6) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
5781 "mass in GeV/c^{2};#",
5782 1000, 0, 2.0);
5784 rap_vs_Pt_InM_all_mixing_11 = new TH1D("rap_vs_Pt_InM_all_mixing_11",
5785 "rapidity = (1.2-1.6) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
5786 "mass in GeV/c^{2};#",
5787 1000, 0, 2.0);
5789 rap_vs_Pt_InM_all_mixing_12 = new TH1D("rap_vs_Pt_InM_all_mixing_12",
5790 "rapidity = (1.2-1.6) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
5791 "mass in GeV/c^{2};#",
5792 1000, 0, 2.0);
5794 rap_vs_Pt_InM_all_mixing_13 = new TH1D("rap_vs_Pt_InM_all_mixing_13",
5795 "rapidity = (1.2-1.6) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
5796 "mass in GeV/c^{2};#",
5797 1000, 0, 2.0);
5799 rap_vs_Pt_InM_all_mixing_14 = new TH1D("rap_vs_Pt_InM_all_mixing_14",
5800 "rapidity = (1.2-1.6) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
5801 "mass in GeV/c^{2};#",
5802 1000, 0, 2.0);
5804 rap_vs_Pt_InM_all_mixing_15 = new TH1D("rap_vs_Pt_InM_all_mixing_15",
5805 "rapidity = (1.2-1.6) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
5806 "mass in GeV/c^{2};#",
5807 1000, 0, 2.0);
5809 rap_vs_Pt_InM_all_mixing_16 = new TH1D("rap_vs_Pt_InM_all_mixing_16",
5810 "rapidity = (1.2-1.6) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
5811 "mass in GeV/c^{2};#",
5812 1000, 0, 2.0);
5814 rap_vs_Pt_InM_all_mixing_17 = new TH1D("rap_vs_Pt_InM_all_mixing_17",
5815 "rapidity = (1.2-1.6) P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant "
5816 "mass in GeV/c^{2};#",
5817 1000, 0, 2.0);
5819 rap_vs_Pt_InM_all_mixing_18 = new TH1D("rap_vs_Pt_InM_all_mixing_18",
5820 "rapidity = (1.2-1.6) P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant "
5821 "mass in GeV/c^{2};#",
5822 1000, 0, 2.0);
5824 rap_vs_Pt_InM_all_mixing_19 = new TH1D("rap_vs_Pt_InM_all_mixing_19",
5825 "rapidity = (1.2-1.6) P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant "
5826 "mass in GeV/c^{2};#",
5827 1000, 0, 2.0);
5829 rap_vs_Pt_InM_all_mixing_20 = new TH1D("rap_vs_Pt_InM_all_mixing_20",
5830 "rapidity = (1.2-1.6) P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant "
5831 "mass in GeV/c^{2};#",
5832 1000, 0, 2.0);
5834 rap_vs_Pt_InM_all_mixing_21 = new TH1D("rap_vs_Pt_InM_all_mixing_21",
5835 "rapidity = (1.6-2.0) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5836 "mass in GeV/c^{2};#",
5837 1000, 0, 2.0);
5839 rap_vs_Pt_InM_all_mixing_22 = new TH1D("rap_vs_Pt_InM_all_mixing_22",
5840 "rapidity = (1.6-2.0) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5841 "mass in GeV/c^{2};#",
5842 1000, 0, 2.0);
5844 rap_vs_Pt_InM_all_mixing_23 = new TH1D("rap_vs_Pt_InM_all_mixing_23",
5845 "rapidity = (1.6-2.0) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5846 "mass in GeV/c^{2};#",
5847 1000, 0, 2.0);
5849 rap_vs_Pt_InM_all_mixing_24 = new TH1D("rap_vs_Pt_InM_all_mixing_24",
5850 "rapidity = (1.6-2.0) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5851 "mass in GeV/c^{2};#",
5852 1000, 0, 2.0);
5854 rap_vs_Pt_InM_all_mixing_25 = new TH1D("rap_vs_Pt_InM_all_mixing_25",
5855 "rapidity = (1.6-2.0) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
5856 "mass in GeV/c^{2};#",
5857 1000, 0, 2.0);
5859 rap_vs_Pt_InM_all_mixing_26 = new TH1D("rap_vs_Pt_InM_all_mixing_26",
5860 "rapidity = (1.6-2.0) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
5861 "mass in GeV/c^{2};#",
5862 1000, 0, 2.0);
5864 rap_vs_Pt_InM_all_mixing_27 = new TH1D("rap_vs_Pt_InM_all_mixing_27",
5865 "rapidity = (1.6-2.0) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
5866 "mass in GeV/c^{2};#",
5867 1000, 0, 2.0);
5869 rap_vs_Pt_InM_all_mixing_28 = new TH1D("rap_vs_Pt_InM_all_mixing_28",
5870 "rapidity = (1.6-2.0) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
5871 "mass in GeV/c^{2};#",
5872 1000, 0, 2.0);
5874 rap_vs_Pt_InM_all_mixing_29 = new TH1D("rap_vs_Pt_InM_all_mixing_29",
5875 "rapidity = (1.6-2.0) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
5876 "mass in GeV/c^{2};#",
5877 1000, 0, 2.0);
5879 rap_vs_Pt_InM_all_mixing_30 = new TH1D("rap_vs_Pt_InM_all_mixing_30",
5880 "rapidity = (1.6-2.0) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
5881 "mass in GeV/c^{2};#",
5882 1000, 0, 2.0);
5884 rap_vs_Pt_InM_all_mixing_31 = new TH1D("rap_vs_Pt_InM_all_mixing_31",
5885 "rapidity = (1.6-2.0) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
5886 "mass in GeV/c^{2};#",
5887 1000, 0, 2.0);
5889 rap_vs_Pt_InM_all_mixing_32 = new TH1D("rap_vs_Pt_InM_all_mixing_32",
5890 "rapidity = (1.6-2.0) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
5891 "mass in GeV/c^{2};#",
5892 1000, 0, 2.0);
5894 rap_vs_Pt_InM_all_mixing_33 = new TH1D("rap_vs_Pt_InM_all_mixing_33",
5895 "rapidity = (1.6-2.0) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
5896 "mass in GeV/c^{2};#",
5897 1000, 0, 2.0);
5899 rap_vs_Pt_InM_all_mixing_34 = new TH1D("rap_vs_Pt_InM_all_mixing_34",
5900 "rapidity = (1.6-2.0) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
5901 "mass in GeV/c^{2};#",
5902 1000, 0, 2.0);
5904 rap_vs_Pt_InM_all_mixing_35 = new TH1D("rap_vs_Pt_InM_all_mixing_35",
5905 "rapidity = (1.6-2.0) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
5906 "mass in GeV/c^{2};#",
5907 1000, 0, 2.0);
5909 rap_vs_Pt_InM_all_mixing_36 = new TH1D("rap_vs_Pt_InM_all_mixing_36",
5910 "rapidity = (1.6-2.0) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
5911 "mass in GeV/c^{2};#",
5912 1000, 0, 2.0);
5914 rap_vs_Pt_InM_all_mixing_37 = new TH1D("rap_vs_Pt_InM_all_mixing_37",
5915 "rapidity = (1.6-2.0) P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant "
5916 "mass in GeV/c^{2};#",
5917 1000, 0, 2.0);
5919 rap_vs_Pt_InM_all_mixing_38 = new TH1D("rap_vs_Pt_InM_all_mixing_38",
5920 "rapidity = (1.6-2.0) P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant "
5921 "mass in GeV/c^{2};#",
5922 1000, 0, 2.0);
5924 rap_vs_Pt_InM_all_mixing_39 = new TH1D("rap_vs_Pt_InM_all_mixing_39",
5925 "rapidity = (1.6-2.0) P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant "
5926 "mass in GeV/c^{2};#",
5927 1000, 0, 2.0);
5929 rap_vs_Pt_InM_all_mixing_40 = new TH1D("rap_vs_Pt_InM_all_mixing_40",
5930 "rapidity = (1.6-2.0) P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant "
5931 "mass in GeV/c^{2};#",
5932 1000, 0, 2.0);
5934 rap_vs_Pt_InM_all_mixing_41 = new TH1D("rap_vs_Pt_InM_all_mixing_41",
5935 "rapidity = (2.0-2.4) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
5936 "mass in GeV/c^{2};#",
5937 1000, 0, 2.0);
5939 rap_vs_Pt_InM_all_mixing_42 = new TH1D("rap_vs_Pt_InM_all_mixing_42",
5940 "rapidity = (2.0-2.4) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
5941 "mass in GeV/c^{2};#",
5942 1000, 0, 2.0);
5944 rap_vs_Pt_InM_all_mixing_43 = new TH1D("rap_vs_Pt_InM_all_mixing_43",
5945 "rapidity = (2.0-2.4) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
5946 "mass in GeV/c^{2};#",
5947 1000, 0, 2.0);
5949 rap_vs_Pt_InM_all_mixing_44 = new TH1D("rap_vs_Pt_InM_all_mixing_44",
5950 "rapidity = (2.0-2.4) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
5951 "mass in GeV/c^{2};#",
5952 1000, 0, 2.0);
5954 rap_vs_Pt_InM_all_mixing_45 = new TH1D("rap_vs_Pt_InM_all_mixing_45",
5955 "rapidity = (2.0-2.4) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
5956 "mass in GeV/c^{2};#",
5957 1000, 0, 2.0);
5959 rap_vs_Pt_InM_all_mixing_46 = new TH1D("rap_vs_Pt_InM_all_mixing_46",
5960 "rapidity = (2.0-2.4) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
5961 "mass in GeV/c^{2};#",
5962 1000, 0, 2.0);
5964 rap_vs_Pt_InM_all_mixing_47 = new TH1D("rap_vs_Pt_InM_all_mixing_47",
5965 "rapidity = (2.0-2.4) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
5966 "mass in GeV/c^{2};#",
5967 1000, 0, 2.0);
5969 rap_vs_Pt_InM_all_mixing_48 = new TH1D("rap_vs_Pt_InM_all_mixing_48",
5970 "rapidity = (2.0-2.4) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
5971 "mass in GeV/c^{2};#",
5972 1000, 0, 2.0);
5974 rap_vs_Pt_InM_all_mixing_49 = new TH1D("rap_vs_Pt_InM_all_mixing_49",
5975 "rapidity = (2.0-2.4) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
5976 "mass in GeV/c^{2};#",
5977 1000, 0, 2.0);
5979 rap_vs_Pt_InM_all_mixing_50 = new TH1D("rap_vs_Pt_InM_all_mixing_50",
5980 "rapidity = (2.0-2.4) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
5981 "mass in GeV/c^{2};#",
5982 1000, 0, 2.0);
5984 rap_vs_Pt_InM_all_mixing_51 = new TH1D("rap_vs_Pt_InM_all_mixing_51",
5985 "rapidity = (2.0-2.4) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
5986 "mass in GeV/c^{2};#",
5987 1000, 0, 2.0);
5989 rap_vs_Pt_InM_all_mixing_52 = new TH1D("rap_vs_Pt_InM_all_mixing_52",
5990 "rapidity = (2.0-2.4) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
5991 "mass in GeV/c^{2};#",
5992 1000, 0, 2.0);
5994 rap_vs_Pt_InM_all_mixing_53 = new TH1D("rap_vs_Pt_InM_all_mixing_53",
5995 "rapidity = (2.0-2.4) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
5996 "mass in GeV/c^{2};#",
5997 1000, 0, 2.0);
5999 rap_vs_Pt_InM_all_mixing_54 = new TH1D("rap_vs_Pt_InM_all_mixing_54",
6000 "rapidity = (2.0-2.4) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
6001 "mass in GeV/c^{2};#",
6002 1000, 0, 2.0);
6004 rap_vs_Pt_InM_all_mixing_55 = new TH1D("rap_vs_Pt_InM_all_mixing_55",
6005 "rapidity = (2.0-2.4) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
6006 "mass in GeV/c^{2};#",
6007 1000, 0, 2.0);
6009 rap_vs_Pt_InM_all_mixing_56 = new TH1D("rap_vs_Pt_InM_all_mixing_56",
6010 "rapidity = (2.0-2.4) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
6011 "mass in GeV/c^{2};#",
6012 1000, 0, 2.0);
6014 rap_vs_Pt_InM_all_mixing_57 = new TH1D("rap_vs_Pt_InM_all_mixing_57",
6015 "rapidity = (2.0-2.4) P_{t} = (1.6-1.7 GeV/c^{2}) ;invariant "
6016 "mass in GeV/c^{2};#",
6017 1000, 0, 2.0);
6019 rap_vs_Pt_InM_all_mixing_58 = new TH1D("rap_vs_Pt_InM_all_mixing_58",
6020 "rapidity = (2.0-2.4) P_{t} = (1.7-1.8 GeV/c^{2}) ;invariant "
6021 "mass in GeV/c^{2};#",
6022 1000, 0, 2.0);
6024 rap_vs_Pt_InM_all_mixing_59 = new TH1D("rap_vs_Pt_InM_all_mixing_59",
6025 "rapidity = (2.0-2.4) P_{t} = (1.8-1.9 GeV/c^{2}) ;invariant "
6026 "mass in GeV/c^{2};#",
6027 1000, 0, 2.0);
6029 rap_vs_Pt_InM_all_mixing_60 = new TH1D("rap_vs_Pt_InM_all_mixing_60",
6030 "rapidity = (2.0-2.4) P_{t} = (1.9-2.0 GeV/c^{2}) ;invariant "
6031 "mass in GeV/c^{2};#",
6032 1000, 0, 2.0);
6034 rap_vs_Pt_InM_all_mixing_61 = new TH1D("rap_vs_Pt_InM_all_mixing_61",
6035 "rapidity = (2.4-2.8) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
6036 "mass in GeV/c^{2};#",
6037 1000, 0, 2.0);
6039 rap_vs_Pt_InM_all_mixing_62 = new TH1D("rap_vs_Pt_InM_all_mixing_62",
6040 "rapidity = (2.4-2.8) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
6041 "mass in GeV/c^{2};#",
6042 1000, 0, 2.0);
6044 rap_vs_Pt_InM_all_mixing_63 = new TH1D("rap_vs_Pt_InM_all_mixing_63",
6045 "rapidity = (2.4-2.8) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
6046 "mass in GeV/c^{2};#",
6047 1000, 0, 2.0);
6049 rap_vs_Pt_InM_all_mixing_64 = new TH1D("rap_vs_Pt_InM_all_mixing_64",
6050 "rapidity = (2.4-2.8) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
6051 "mass in GeV/c^{2};#",
6052 1000, 0, 2.0);
6054 rap_vs_Pt_InM_all_mixing_65 = new TH1D("rap_vs_Pt_InM_all_mixing_65",
6055 "rapidity = (2.4-2.8) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
6056 "mass in GeV/c^{2};#",
6057 1000, 0, 2.0);
6059 rap_vs_Pt_InM_all_mixing_66 = new TH1D("rap_vs_Pt_InM_all_mixing_66",
6060 "rapidity = (2.4-2.8) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
6061 "mass in GeV/c^{2};#",
6062 1000, 0, 2.0);
6064 rap_vs_Pt_InM_all_mixing_67 = new TH1D("rap_vs_Pt_InM_all_mixing_67",
6065 "rapidity = (2.4-2.8) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
6066 "mass in GeV/c^{2};#",
6067 1000, 0, 2.0);
6069 rap_vs_Pt_InM_all_mixing_68 = new TH1D("rap_vs_Pt_InM_all_mixing_68",
6070 "rapidity = (2.4-2.8) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
6071 "mass in GeV/c^{2};#",
6072 1000, 0, 2.0);
6074 rap_vs_Pt_InM_all_mixing_69 = new TH1D("rap_vs_Pt_InM_all_mixing_69",
6075 "rapidity = (2.4-2.8) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
6076 "mass in GeV/c^{2};#",
6077 1000, 0, 2.0);
6079 rap_vs_Pt_InM_all_mixing_70 = new TH1D("rap_vs_Pt_InM_all_mixing_70",
6080 "rapidity = (2.4-2.8) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
6081 "mass in GeV/c^{2};#",
6082 1000, 0, 2.0);
6084 rap_vs_Pt_InM_all_mixing_71 = new TH1D("rap_vs_Pt_InM_all_mixing_71",
6085 "rapidity = (2.4-2.8) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
6086 "mass in GeV/c^{2};#",
6087 1000, 0, 2.0);
6089 rap_vs_Pt_InM_all_mixing_72 = new TH1D("rap_vs_Pt_InM_all_mixing_72",
6090 "rapidity = (2.4-2.8) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
6091 "mass in GeV/c^{2};#",
6092 1000, 0, 2.0);
6094 rap_vs_Pt_InM_all_mixing_73 = new TH1D("rap_vs_Pt_InM_all_mixing_73",
6095 "rapidity = (2.4-2.8) P_{t} = (1.2-1.3 GeV/c^{2}) ;invariant "
6096 "mass in GeV/c^{2};#",
6097 1000, 0, 2.0);
6099 rap_vs_Pt_InM_all_mixing_74 = new TH1D("rap_vs_Pt_InM_all_mixing_74",
6100 "rapidity = (2.4-2.8) P_{t} = (1.3-1.4 GeV/c^{2}) ;invariant "
6101 "mass in GeV/c^{2};#",
6102 1000, 0, 2.0);
6104 rap_vs_Pt_InM_all_mixing_75 = new TH1D("rap_vs_Pt_InM_all_mixing_75",
6105 "rapidity = (2.4-2.8) P_{t} = (1.4-1.5 GeV/c^{2}) ;invariant "
6106 "mass in GeV/c^{2};#",
6107 1000, 0, 2.0);
6109 rap_vs_Pt_InM_all_mixing_76 = new TH1D("rap_vs_Pt_InM_all_mixing_76",
6110 "rapidity = (2.4-2.8) P_{t} = (1.5-1.6 GeV/c^{2}) ;invariant "
6111 "mass in GeV/c^{2};#",
6112 1000, 0, 2.0);
6114 rap_vs_Pt_InM_all_mixing_81 = new TH1D("rap_vs_Pt_InM_all_mixing_81",
6115 "rapidity = (2.8-3.2) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
6116 "mass in GeV/c^{2};#",
6117 1000, 0, 2.0);
6119 rap_vs_Pt_InM_all_mixing_82 = new TH1D("rap_vs_Pt_InM_all_mixing_82",
6120 "rapidity = (2.8-3.2) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
6121 "mass in GeV/c^{2};#",
6122 1000, 0, 2.0);
6124 rap_vs_Pt_InM_all_mixing_83 = new TH1D("rap_vs_Pt_InM_all_mixing_83",
6125 "rapidity = (2.8-3.2) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
6126 "mass in GeV/c^{2};#",
6127 1000, 0, 2.0);
6129 rap_vs_Pt_InM_all_mixing_84 = new TH1D("rap_vs_Pt_InM_all_mixing_84",
6130 "rapidity = (2.8-3.2) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
6131 "mass in GeV/c^{2};#",
6132 1000, 0, 2.0);
6134 rap_vs_Pt_InM_all_mixing_85 = new TH1D("rap_vs_Pt_InM_all_mixing_85",
6135 "rapidity = (2.8-3.2) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
6136 "mass in GeV/c^{2};#",
6137 1000, 0, 2.0);
6139 rap_vs_Pt_InM_all_mixing_86 = new TH1D("rap_vs_Pt_InM_all_mixing_86",
6140 "rapidity = (2.8-3.2) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
6141 "mass in GeV/c^{2};#",
6142 1000, 0, 2.0);
6144 rap_vs_Pt_InM_all_mixing_87 = new TH1D("rap_vs_Pt_InM_all_mixing_87",
6145 "rapidity = (2.8-3.2) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
6146 "mass in GeV/c^{2};#",
6147 1000, 0, 2.0);
6149 rap_vs_Pt_InM_all_mixing_88 = new TH1D("rap_vs_Pt_InM_all_mixing_88",
6150 "rapidity = (2.8-3.2) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
6151 "mass in GeV/c^{2};#",
6152 1000, 0, 2.0);
6154 rap_vs_Pt_InM_all_mixing_89 = new TH1D("rap_vs_Pt_InM_all_mixing_89",
6155 "rapidity = (2.8-3.2) P_{t} = (0.8-0.9 GeV/c^{2}) ;invariant "
6156 "mass in GeV/c^{2};#",
6157 1000, 0, 2.0);
6159 rap_vs_Pt_InM_all_mixing_90 = new TH1D("rap_vs_Pt_InM_all_mixing_90",
6160 "rapidity = (2.8-3.2) P_{t} = (0.9-1.0 GeV/c^{2}) ;invariant "
6161 "mass in GeV/c^{2};#",
6162 1000, 0, 2.0);
6164 rap_vs_Pt_InM_all_mixing_91 = new TH1D("rap_vs_Pt_InM_all_mixing_91",
6165 "rapidity = (2.8-3.2) P_{t} = (1.0-1.1 GeV/c^{2}) ;invariant "
6166 "mass in GeV/c^{2};#",
6167 1000, 0, 2.0);
6169 rap_vs_Pt_InM_all_mixing_92 = new TH1D("rap_vs_Pt_InM_all_mixing_92",
6170 "rapidity = (2.8-3.2) P_{t} = (1.1-1.2 GeV/c^{2}) ;invariant "
6171 "mass in GeV/c^{2};#",
6172 1000, 0, 2.0);
6174 rap_vs_Pt_InM_all_mixing_101 = new TH1D("rap_vs_Pt_InM_all_mixing_101",
6175 "rapidity = (3.2-3.6) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
6176 "mass in GeV/c^{2};#",
6177 1000, 0, 2.0);
6179 rap_vs_Pt_InM_all_mixing_102 = new TH1D("rap_vs_Pt_InM_all_mixing_102",
6180 "rapidity = (3.2-3.6) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
6181 "mass in GeV/c^{2};#",
6182 1000, 0, 2.0);
6184 rap_vs_Pt_InM_all_mixing_103 = new TH1D("rap_vs_Pt_InM_all_mixing_103",
6185 "rapidity = (3.2-3.6) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
6186 "mass in GeV/c^{2};#",
6187 1000, 0, 2.0);
6189 rap_vs_Pt_InM_all_mixing_104 = new TH1D("rap_vs_Pt_InM_all_mixing_104",
6190 "rapidity = (3.2-3.6) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
6191 "mass in GeV/c^{2};#",
6192 1000, 0, 2.0);
6194 rap_vs_Pt_InM_all_mixing_105 = new TH1D("rap_vs_Pt_InM_all_mixing_105",
6195 "rapidity = (3.2-3.6) P_{t} = (0.4-0.5 GeV/c^{2}) ;invariant "
6196 "mass in GeV/c^{2};#",
6197 1000, 0, 2.0);
6199 rap_vs_Pt_InM_all_mixing_106 = new TH1D("rap_vs_Pt_InM_all_mixing_106",
6200 "rapidity = (3.2-3.6) P_{t} = (0.5-0.6 GeV/c^{2}) ;invariant "
6201 "mass in GeV/c^{2};#",
6202 1000, 0, 2.0);
6204 rap_vs_Pt_InM_all_mixing_107 = new TH1D("rap_vs_Pt_InM_all_mixing_107",
6205 "rapidity = (3.2-3.6) P_{t} = (0.6-0.7 GeV/c^{2}) ;invariant "
6206 "mass in GeV/c^{2};#",
6207 1000, 0, 2.0);
6209 rap_vs_Pt_InM_all_mixing_108 = new TH1D("rap_vs_Pt_InM_all_mixing_108",
6210 "rapidity = (3.2-3.6) P_{t} = (0.7-0.8 GeV/c^{2}) ;invariant "
6211 "mass in GeV/c^{2};#",
6212 1000, 0, 2.0);
6214 rap_vs_Pt_InM_all_mixing_111 = new TH1D("rap_vs_Pt_InM_all_mixing_111",
6215 "rapidity = (3.6-4.0) P_{t} = (0.0-0.1 GeV/c^{2}) ;invariant "
6216 "mass in GeV/c^{2};#",
6217 1000, 0, 2.0);
6219 rap_vs_Pt_InM_all_mixing_112 = new TH1D("rap_vs_Pt_InM_all_mixing_112",
6220 "rapidity = (3.6-4.0) P_{t} = (0.1-0.2 GeV/c^{2}) ;invariant "
6221 "mass in GeV/c^{2};#",
6222 1000, 0, 2.0);
6224 rap_vs_Pt_InM_all_mixing_113 = new TH1D("rap_vs_Pt_InM_all_mixing_113",
6225 "rapidity = (3.6-4.0) P_{t} = (0.2-0.3 GeV/c^{2}) ;invariant "
6226 "mass in GeV/c^{2};#",
6227 1000, 0, 2.0);
6229 rap_vs_Pt_InM_all_mixing_114 = new TH1D("rap_vs_Pt_InM_all_mixing_114",
6230 "rapidity = (3.6-4.0) P_{t} = (0.3-0.4 GeV/c^{2}) ;invariant "
6231 "mass in GeV/c^{2};#",
6232 1000, 0, 2.0);
6234
6235
6236 // Pt separation sith step 0.1 "onetwo"
6238 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);
6240 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);
6242 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);
6244 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);
6246 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);
6248 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);
6250 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);
6252 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);
6254 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);
6256 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);
6258 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);
6260 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);
6262 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);
6264 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);
6266 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);
6268 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);
6270 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);
6272 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);
6274 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);
6276 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);
6278 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);
6280
6282 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);
6285 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);
6288 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);
6291 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);
6294 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);
6297 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);
6300 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);
6303 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);
6306 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);
6309 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);
6312 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);
6315 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);
6318 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);
6321 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);
6324 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);
6327 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);
6330 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);
6333 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);
6336 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);
6339 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);
6341
6342 // Pt separation sith step 0.1 "all"
6344 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);
6346 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);
6347 fHistoList_pt_all.push_back(pt_all_1);
6348 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);
6349 fHistoList_pt_all.push_back(pt_all_2);
6350 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);
6351 fHistoList_pt_all.push_back(pt_all_3);
6352 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);
6353 fHistoList_pt_all.push_back(pt_all_4);
6354 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);
6355 fHistoList_pt_all.push_back(pt_all_5);
6356 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);
6357 fHistoList_pt_all.push_back(pt_all_6);
6358 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);
6359 fHistoList_pt_all.push_back(pt_all_7);
6360 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);
6361 fHistoList_pt_all.push_back(pt_all_8);
6362 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);
6363 fHistoList_pt_all.push_back(pt_all_9);
6364 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);
6365 fHistoList_pt_all.push_back(pt_all_10);
6366 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);
6367 fHistoList_pt_all.push_back(pt_all_11);
6368 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);
6369 fHistoList_pt_all.push_back(pt_all_12);
6370 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);
6371 fHistoList_pt_all.push_back(pt_all_13);
6372 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);
6373 fHistoList_pt_all.push_back(pt_all_14);
6374 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);
6375 fHistoList_pt_all.push_back(pt_all_15);
6376 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);
6377 fHistoList_pt_all.push_back(pt_all_16);
6378 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);
6379 fHistoList_pt_all.push_back(pt_all_17);
6380 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);
6381 fHistoList_pt_all.push_back(pt_all_18);
6382 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);
6383 fHistoList_pt_all.push_back(pt_all_19);
6384 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);
6385 fHistoList_pt_all.push_back(pt_all_20);
6386
6388 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);
6391 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);
6394 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);
6397 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);
6400 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);
6403 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);
6406 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);
6409 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);
6412 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);
6415 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);
6418 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);
6421 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);
6424 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);
6427 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);
6430 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);
6433 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);
6436 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);
6439 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);
6442 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);
6445 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);
6447
6448
6449 // BG cases
6450 //Both all
6451 BG1_InM_all_Both = new TH1D("BG1_InM_all_Both", "BG1_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6453 BG2_InM_all_Both = new TH1D("BG2_InM_all_Both", "BG2_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6455 BG3_InM_all_Both = new TH1D("BG3_InM_all_Both", "BG3_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6457 BG4_InM_all_Both = new TH1D("BG4_InM_all_Both", "BG4_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6459 BG5_InM_all_Both = new TH1D("BG5_InM_all_Both", "BG5_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6461 BG6_InM_all_Both = new TH1D("BG6_InM_all_Both", "BG6_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6463 BG7_InM_all_Both = new TH1D("BG7_InM_all_Both", "BG7_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6465 BG8_InM_all_Both = new TH1D("BG8_InM_all_Both", "BG8_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6467 BG9_InM_all_Both = new TH1D("BG9_InM_all_Both", "BG9_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6469 BG10_InM_all_Both = new TH1D("BG10_InM_all_Both", "BG10_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6471 PdgCase8_InM_all_Both = new TH1D("PdgCase8_InM_all_Both", "PdgCase8_InM_all_Both; Id ;#", 5000, -2500, 2500);
6474 new TH1D("PdgCase8mothers_InM_all_Both", "PdgCase8mothers_InM_all_Both; Id ;#", 5000, -2500, 2500);
6477 new TH1D("sameMIDcase8_InM_all_Both", "sameMIDcase8_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6480 new TH1D("sameGRIDcase8_InM_all_Both", "sameGRIDcase8_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6483 new TH2D("Case1ZYPos_InM_all_Both", "Case1ZYPos_InM_all_Both; z[cm]; y[cm]", 400, -1, 200, 200, -50, 50);
6486 new TH1D("sameMIDcase8_mothedPDG_InM_all_Both", "sameMIDcase8_mothedPDG_InM_all_Both; Id ;#", 5000, -2500, 2500);
6489 "PdgCase8NonEComeFromTarget_InM_all_Both", "PdgCase8NonEComeFromTarget_InM_all_Both; Id ;#", 5000, -2500, 2500);
6492 "PdgCase8NonE_NOT_FromTarget_InM_all_Both", "PdgCase8NonE_NOT_FromTarget_InM_all_Both; Id ;#", 5000, -2500, 2500);
6495 new TH1D("PdgCase8motherNonE_InM_all_Both", "PdgCase8motherNonE_InM_all_Both; Id ;#", 5000, -2500, 2500);
6498 "Case8ElFromDalitz_InM_all_Both", "Case8ElFromDalitz_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6501 "Case8NonElFrom_pn_InM_all_Both", "Case8NonElFrom_pn_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6504 "Case8NonElFrom_eta_InM_all_Both", "Case8NonElFrom_eta_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6507 new TH1D("Case8NonElFrom_kaon_InM_all_Both", "Case8NonElFrom_kaon_InM_all_Both; invariant mass in GeV/c^{2};#",
6508 1000, 0, 2.0);
6511 new TH1D("sameMIDcase8NonEPdg_InM_all_Both", "sameMIDcase8NonEPdg_InM_all_Both; Id ;#", 5000, -2500, 2500);
6513 sameMIDcase8NonEMotherPdg_InM_all_Both = new TH1D("sameMIDcase8NonEMotherPdg_InM_all_Both",
6514 "sameMIDcase8NonEMotherPdg_InM_all_Both; Id ;#", 5000, -2500, 2500);
6517 new TH1D("sameMIDcase8NonEMotherIM_InM_all_Both",
6518 "sameMIDcase8NonEMotherIM_InM_all_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6521 new TH1D("sameMIDcase8NonEPdgFromTarget_InM_all_Both", "sameMIDcase8NonEPdgFromTarget_InM_all_Both; Id ;#", 5000,
6522 -2500, 2500);
6525 new TH1D("sameMIDcase8NonEComeFromTargetIM_InM_all_Both",
6526 "sameMIDcase8NonEComeFromTargetIM_InM_all_Both; invariant mass in "
6527 "GeV/c^{2};#",
6528 1000, 0, 2.0);
6531 new TH1D("sameMIDcase8NonEComeFromTargetP_InM_all_Both",
6532 "sameMIDcase8NonEComeFromTargetP_InM_all_Both; P in GeV/c^{2} ;#", 200, 0, 10);
6535 new TH1D("sameMIDcase8NonEComeFromTargetPt_InM_all_Both",
6536 "sameMIDcase8NonEComeFromTargetPt_InM_all_Both; Pt in GeV/c^{2} ;#", 200, 0, 10);
6538 //Both zero
6539 BG1_InM_zero_Both = new TH1D("BG1_InM_zero_Both", "BG1_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6541 BG2_InM_zero_Both = new TH1D("BG2_InM_zero_Both", "BG2_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6543 BG3_InM_zero_Both = new TH1D("BG3_InM_zero_Both", "BG3_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6545 BG4_InM_zero_Both = new TH1D("BG4_InM_zero_Both", "BG4_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6547 BG5_InM_zero_Both = new TH1D("BG5_InM_zero_Both", "BG5_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6549 BG6_InM_zero_Both = new TH1D("BG6_InM_zero_Both", "BG6_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6551 BG7_InM_zero_Both = new TH1D("BG7_InM_zero_Both", "BG7_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6553 BG8_InM_zero_Both = new TH1D("BG8_InM_zero_Both", "BG8_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6555 BG9_InM_zero_Both = new TH1D("BG9_InM_zero_Both", "BG9_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6558 new TH1D("BG10_InM_zero_Both", "BG10_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6560 PdgCase8_InM_zero_Both = new TH1D("PdgCase8_InM_zero_Both", "PdgCase8_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6563 new TH1D("PdgCase8mothers_InM_zero_Both", "PdgCase8mothers_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6566 new TH1D("sameMIDcase8_InM_zero_Both", "sameMIDcase8_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6569 new TH1D("sameGRIDcase8_InM_zero_Both", "sameGRIDcase8_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6572 new TH2D("Case1ZYPos_InM_zero_Both", "Case1ZYPos_InM_zero_Both; z[cm]; y[cm]", 400, -1, 200, 200, -50, 50);
6575 new TH1D("sameMIDcase8_mothedPDG_InM_zero_Both", "sameMIDcase8_mothedPDG_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6578 "PdgCase8NonEComeFromTarget_InM_zero_Both", "PdgCase8NonEComeFromTarget_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6581 "PdgCase8NonE_NOT_FromTarget_InM_zero_Both", "PdgCase8NonE_NOT_FromTarget_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6584 new TH1D("PdgCase8motherNonE_InM_zero_Both", "PdgCase8motherNonE_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6587 "Case8ElFromDalitz_InM_zero_Both", "Case8ElFromDalitz_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6590 "Case8NonElFrom_pn_InM_zero_Both", "Case8NonElFrom_pn_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6593 new TH1D("Case8NonElFrom_eta_InM_zero_Both", "Case8NonElFrom_eta_InM_zero_Both; invariant mass in GeV/c^{2};#",
6594 1000, 0, 2.0);
6597 new TH1D("Case8NonElFrom_kaon_InM_zero_Both", "Case8NonElFrom_kaon_InM_zero_Both; invariant mass in GeV/c^{2};#",
6598 1000, 0, 2.0);
6601 new TH1D("sameMIDcase8NonEPdg_InM_zero_Both", "sameMIDcase8NonEPdg_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6604 "sameMIDcase8NonEMotherPdg_InM_zero_Both", "sameMIDcase8NonEMotherPdg_InM_zero_Both; Id ;#", 5000, -2500, 2500);
6607 new TH1D("sameMIDcase8NonEMotherIM_InM_zero_Both",
6608 "sameMIDcase8NonEMotherIM_InM_zero_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6611 new TH1D("sameMIDcase8NonEPdgFromTarget_InM_zero_Both", "sameMIDcase8NonEPdgFromTarget_InM_zero_Both; Id ;#", 5000,
6612 -2500, 2500);
6615 new TH1D("sameMIDcase8NonEComeFromTargetIM_InM_zero_Both",
6616 "sameMIDcase8NonEComeFromTargetIM_InM_zero_Both; invariant mass "
6617 "in GeV/c^{2};#",
6618 1000, 0, 2.0);
6621 new TH1D("sameMIDcase8NonEComeFromTargetP_InM_zero_Both",
6622 "sameMIDcase8NonEComeFromTargetP_InM_zero_Both; P in GeV/c^{2} ;#", 200, 0, 10);
6625 new TH1D("sameMIDcase8NonEComeFromTargetPt_InM_zero_Both",
6626 "sameMIDcase8NonEComeFromTargetPt_InM_zero_Both; Pt in GeV/c^{2} ;#", 200, 0, 10);
6628 //Both one
6629 BG1_InM_one_Both = new TH1D("BG1_InM_one_Both", "BG1_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6631 BG2_InM_one_Both = new TH1D("BG2_InM_one_Both", "BG2_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6633 BG3_InM_one_Both = new TH1D("BG3_InM_one_Both", "BG3_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6635 BG4_InM_one_Both = new TH1D("BG4_InM_one_Both", "BG4_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6637 BG5_InM_one_Both = new TH1D("BG5_InM_one_Both", "BG5_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6639 BG6_InM_one_Both = new TH1D("BG6_InM_one_Both", "BG6_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6641 BG7_InM_one_Both = new TH1D("BG7_InM_one_Both", "BG7_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6643 BG8_InM_one_Both = new TH1D("BG8_InM_one_Both", "BG8_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6645 BG9_InM_one_Both = new TH1D("BG9_InM_one_Both", "BG9_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6647 BG10_InM_one_Both = new TH1D("BG10_InM_one_Both", "BG10_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6649 PdgCase8_InM_one_Both = new TH1D("PdgCase8_InM_one_Both", "PdgCase8_InM_one_Both; Id ;#", 5000, -2500, 2500);
6652 new TH1D("PdgCase8mothers_InM_one_Both", "PdgCase8mothers_InM_one_Both; Id ;#", 5000, -2500, 2500);
6655 new TH1D("sameMIDcase8_InM_one_Both", "sameMIDcase8_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6658 new TH1D("sameGRIDcase8_InM_one_Both", "sameGRIDcase8_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6661 new TH2D("Case1ZYPos_InM_one_Both", "Case1ZYPos_InM_one_Both; z[cm]; y[cm]", 400, -1, 200, 200, -50, 50);
6664 new TH1D("sameMIDcase8_mothedPDG_InM_one_Both", "sameMIDcase8_mothedPDG_InM_one_Both; Id ;#", 5000, -2500, 2500);
6667 "PdgCase8NonEComeFromTarget_InM_one_Both", "PdgCase8NonEComeFromTarget_InM_one_Both; Id ;#", 5000, -2500, 2500);
6670 "PdgCase8NonE_NOT_FromTarget_InM_one_Both", "PdgCase8NonE_NOT_FromTarget_InM_one_Both; Id ;#", 5000, -2500, 2500);
6673 new TH1D("PdgCase8motherNonE_InM_one_Both", "PdgCase8motherNonE_InM_one_Both; Id ;#", 5000, -2500, 2500);
6676 "Case8ElFromDalitz_InM_one_Both", "Case8ElFromDalitz_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6679 "Case8NonElFrom_pn_InM_one_Both", "Case8NonElFrom_pn_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6682 "Case8NonElFrom_eta_InM_one_Both", "Case8NonElFrom_eta_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6685 new TH1D("Case8NonElFrom_kaon_InM_one_Both", "Case8NonElFrom_kaon_InM_one_Both; invariant mass in GeV/c^{2};#",
6686 1000, 0, 2.0);
6689 new TH1D("sameMIDcase8NonEPdg_InM_one_Both", "sameMIDcase8NonEPdg_InM_one_Both; Id ;#", 5000, -2500, 2500);
6691 sameMIDcase8NonEMotherPdg_InM_one_Both = new TH1D("sameMIDcase8NonEMotherPdg_InM_one_Both",
6692 "sameMIDcase8NonEMotherPdg_InM_one_Both; Id ;#", 5000, -2500, 2500);
6695 new TH1D("sameMIDcase8NonEMotherIM_InM_one_Both",
6696 "sameMIDcase8NonEMotherIM_InM_one_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6699 new TH1D("sameMIDcase8NonEPdgFromTarget_InM_one_Both", "sameMIDcase8NonEPdgFromTarget_InM_one_Both; Id ;#", 5000,
6700 -2500, 2500);
6703 new TH1D("sameMIDcase8NonEComeFromTargetIM_InM_one_Both",
6704 "sameMIDcase8NonEComeFromTargetIM_InM_one_Both; invariant mass in "
6705 "GeV/c^{2};#",
6706 1000, 0, 2.0);
6709 new TH1D("sameMIDcase8NonEComeFromTargetP_InM_one_Both",
6710 "sameMIDcase8NonEComeFromTargetP_InM_one_Both; P in GeV/c^{2} ;#", 200, 0, 10);
6713 new TH1D("sameMIDcase8NonEComeFromTargetPt_InM_one_Both",
6714 "sameMIDcase8NonEComeFromTargetPt_InM_one_Both; Pt in GeV/c^{2} ;#", 200, 0, 10);
6716 //Both two
6717 BG1_InM_two_Both = new TH1D("BG1_InM_two_Both", "BG1_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6719 BG2_InM_two_Both = new TH1D("BG2_InM_two_Both", "BG2_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6721 BG3_InM_two_Both = new TH1D("BG3_InM_two_Both", "BG3_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6723 BG4_InM_two_Both = new TH1D("BG4_InM_two_Both", "BG4_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6725 BG5_InM_two_Both = new TH1D("BG5_InM_two_Both", "BG5_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6727 BG6_InM_two_Both = new TH1D("BG6_InM_two_Both", "BG6_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6729 BG7_InM_two_Both = new TH1D("BG7_InM_two_Both", "BG7_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6731 BG8_InM_two_Both = new TH1D("BG8_InM_two_Both", "BG8_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6733 BG9_InM_two_Both = new TH1D("BG9_InM_two_Both", "BG9_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6735 BG10_InM_two_Both = new TH1D("BG10_InM_two_Both", "BG10_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6737 PdgCase8_InM_two_Both = new TH1D("PdgCase8_InM_two_Both", "PdgCase8_InM_two_Both; Id ;#", 5000, -2500, 2500);
6740 new TH1D("PdgCase8mothers_InM_two_Both", "PdgCase8mothers_InM_two_Both; Id ;#", 5000, -2500, 2500);
6743 new TH1D("sameMIDcase8_InM_two_Both", "sameMIDcase8_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6746 new TH1D("sameGRIDcase8_InM_two_Both", "sameGRIDcase8_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6749 new TH2D("Case1ZYPos_InM_two_Both", "Case1ZYPos_InM_two_Both; z[cm]; y[cm]", 400, -1, 200, 200, -50, 50);
6752 new TH1D("sameMIDcase8_mothedPDG_InM_two_Both", "sameMIDcase8_mothedPDG_InM_two_Both; Id ;#", 5000, -2500, 2500);
6755 "PdgCase8NonEComeFromTarget_InM_two_Both", "PdgCase8NonEComeFromTarget_InM_two_Both; Id ;#", 5000, -2500, 2500);
6758 "PdgCase8NonE_NOT_FromTarget_InM_two_Both", "PdgCase8NonE_NOT_FromTarget_InM_two_Both; Id ;#", 5000, -2500, 2500);
6761 new TH1D("PdgCase8motherNonE_InM_two_Both", "PdgCase8motherNonE_InM_two_Both; Id ;#", 5000, -2500, 2500);
6764 "Case8ElFromDalitz_InM_two_Both", "Case8ElFromDalitz_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6767 "Case8NonElFrom_pn_InM_two_Both", "Case8NonElFrom_pn_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6770 "Case8NonElFrom_eta_InM_two_Both", "Case8NonElFrom_eta_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6773 new TH1D("Case8NonElFrom_kaon_InM_two_Both", "Case8NonElFrom_kaon_InM_two_Both; invariant mass in GeV/c^{2};#",
6774 1000, 0, 2.0);
6777 new TH1D("sameMIDcase8NonEPdg_InM_two_Both", "sameMIDcase8NonEPdg_InM_two_Both; Id ;#", 5000, -2500, 2500);
6779 sameMIDcase8NonEMotherPdg_InM_two_Both = new TH1D("sameMIDcase8NonEMotherPdg_InM_two_Both",
6780 "sameMIDcase8NonEMotherPdg_InM_two_Both; Id ;#", 5000, -2500, 2500);
6783 new TH1D("sameMIDcase8NonEMotherIM_InM_two_Both",
6784 "sameMIDcase8NonEMotherIM_InM_two_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6787 new TH1D("sameMIDcase8NonEPdgFromTarget_InM_two_Both", "sameMIDcase8NonEPdgFromTarget_InM_two_Both; Id ;#", 5000,
6788 -2500, 2500);
6791 new TH1D("sameMIDcase8NonEComeFromTargetIM_InM_two_Both",
6792 "sameMIDcase8NonEComeFromTargetIM_InM_two_Both; invariant mass in "
6793 "GeV/c^{2};#",
6794 1000, 0, 2.0);
6797 new TH1D("sameMIDcase8NonEComeFromTargetP_InM_two_Both",
6798 "sameMIDcase8NonEComeFromTargetP_InM_two_Both; P in GeV/c^{2} ;#", 200, 0, 10);
6801 new TH1D("sameMIDcase8NonEComeFromTargetPt_InM_two_Both",
6802 "sameMIDcase8NonEComeFromTargetPt_InM_two_Both; Pt in GeV/c^{2} ;#", 200, 0, 10);
6804 //Both onetwo
6806 new TH1D("BG1_InM_onetwo_Both", "BG1_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6809 new TH1D("BG2_InM_onetwo_Both", "BG2_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6812 new TH1D("BG3_InM_onetwo_Both", "BG3_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6815 new TH1D("BG4_InM_onetwo_Both", "BG4_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6818 new TH1D("BG5_InM_onetwo_Both", "BG5_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6821 new TH1D("BG6_InM_onetwo_Both", "BG6_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6824 new TH1D("BG7_InM_onetwo_Both", "BG7_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6827 new TH1D("BG8_InM_onetwo_Both", "BG8_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6830 new TH1D("BG9_InM_onetwo_Both", "BG9_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6833 new TH1D("BG10_InM_onetwo_Both", "BG10_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6835 PdgCase8_InM_onetwo_Both = new TH1D("PdgCase8_InM_onetwo_Both", "PdgCase8_InM_onetwo_Both; Id ;#", 5000, -2500, 2500);
6838 new TH1D("PdgCase8mothers_InM_onetwo_Both", "PdgCase8mothers_InM_onetwo_Both; Id ;#", 5000, -2500, 2500);
6840 sameMIDcase8_InM_onetwo_Both = new TH1D("sameMIDcase8_InM_onetwo_Both",
6841 "sameMIDcase8_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6844 "sameGRIDcase8_InM_onetwo_Both", "sameGRIDcase8_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6847 new TH2D("Case1ZYPos_InM_onetwo_Both", "Case1ZYPos_InM_onetwo_Both; z[cm]; y[cm]", 400, -1, 200, 200, -50, 50);
6849 sameMIDcase8_mothedPDG_InM_onetwo_Both = new TH1D("sameMIDcase8_mothedPDG_InM_onetwo_Both",
6850 "sameMIDcase8_mothedPDG_InM_onetwo_Both; Id ;#", 5000, -2500, 2500);
6853 new TH1D("PdgCase8NonEComeFromTarget_InM_onetwo_Both", "PdgCase8NonEComeFromTarget_InM_onetwo_Both; Id ;#", 5000,
6854 -2500, 2500);
6857 new TH1D("PdgCase8NonE_NOT_FromTarget_InM_onetwo_Both", "PdgCase8NonE_NOT_FromTarget_InM_onetwo_Both; Id ;#", 5000,
6858 -2500, 2500);
6861 new TH1D("PdgCase8motherNonE_InM_onetwo_Both", "PdgCase8motherNonE_InM_onetwo_Both; Id ;#", 5000, -2500, 2500);
6864 new TH1D("Case8ElFromDalitz_InM_onetwo_Both", "Case8ElFromDalitz_InM_onetwo_Both; invariant mass in GeV/c^{2};#",
6865 1000, 0, 2.0);
6868 new TH1D("Case8NonElFrom_pn_InM_onetwo_Both", "Case8NonElFrom_pn_InM_onetwo_Both; invariant mass in GeV/c^{2};#",
6869 1000, 0, 2.0);
6872 new TH1D("Case8NonElFrom_eta_InM_onetwo_Both", "Case8NonElFrom_eta_InM_onetwo_Both; invariant mass in GeV/c^{2};#",
6873 1000, 0, 2.0);
6876 new TH1D("Case8NonElFrom_kaon_InM_onetwo_Both",
6877 "Case8NonElFrom_kaon_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6880 new TH1D("sameMIDcase8NonEPdg_InM_onetwo_Both", "sameMIDcase8NonEPdg_InM_onetwo_Both; Id ;#", 5000, -2500, 2500);
6883 "sameMIDcase8NonEMotherPdg_InM_onetwo_Both", "sameMIDcase8NonEMotherPdg_InM_onetwo_Both; Id ;#", 5000, -2500, 2500);
6886 new TH1D("sameMIDcase8NonEMotherIM_InM_onetwo_Both",
6887 "sameMIDcase8NonEMotherIM_InM_onetwo_Both; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6890 new TH1D("sameMIDcase8NonEPdgFromTarget_InM_onetwo_Both", "sameMIDcase8NonEPdgFromTarget_InM_onetwo_Both; Id ;#",
6891 5000, -2500, 2500);
6894 new TH1D("sameMIDcase8NonEComeFromTargetIM_InM_onetwo_Both",
6895 "sameMIDcase8NonEComeFromTargetIM_InM_onetwo_Both; invariant mass "
6896 "in GeV/c^{2};#",
6897 1000, 0, 2.0);
6900 new TH1D("sameMIDcase8NonEComeFromTargetP_InM_onetwo_Both",
6901 "sameMIDcase8NonEComeFromTargetP_InM_onetwo_Both; P in GeV/c^{2} ;#", 200, 0, 10);
6904 new TH1D("sameMIDcase8NonEComeFromTargetPt_InM_onetwo_Both",
6905 "sameMIDcase8NonEComeFromTargetPt_InM_onetwo_Both; Pt in GeV/c^{2} ;#", 200, 0, 10);
6907
6908 AnnTruePairs = new TH1D("AnnTruePairs", "AnnTruePairs; Ann value ;#", 100, -1.2, 1.2);
6910 AnnFalsePairs = new TH1D("AnnFalsePairs", "AnnFalsePairs; Ann value ;#", 100, -1.2, 1.2);
6912 AnnTruePairs_AfterCuts = new TH1D("AnnTruePairs_AfterCuts", "AnnTruePairs; Ann value ;#", 100, -1.2, 1.2);
6915 new TH1D("AnnFalsePairs_AfterCuts", "AnnFalsePairs_AfterCuts; Ann value ;#", 100, -1.2, 1.2);
6917
6918
6919 // WAC
6921 new TH1D("Pi0InvMassReco_WAC", "Pi0InvMassReco_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6923 EMT_InvMass_WAC = new TH1D("EMT_InvMass_WAC", "EMT_InvMass_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6926 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.);
6929 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.);
6931 DalitzPi0_WAC = new TH1D("DalitzPi0_WAC", "DalitzPi0_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6933 PhotonsPi0_WAC = new TH1D("PhotonsPi0_WAC", "PhotonsPi0_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6936 new TH2D("MultiplicityGamma_WAC", "MultiplicityGamma_WAC; Nof gammas in event; invariant mass in GeV/c^{2};#", 400,
6937 0, 30, 1000, 0, 2.0);
6939 MultiplicityChargedParticles_WAC = new TH2D("MultiplicityChargedParticles_WAC",
6940 "MultiplicityChargedParticles_WAC; Nof charged particles in "
6941 "event; invariant mass in GeV/c^{2};#",
6942 1000, 0, 1000, 1000, 0, 2.0);
6944 BG1_InM_WAC = new TH1D("BG1_InM_WAC", "BG1_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6946 BG2_InM_WAC = new TH1D("BG2_InM_WAC", "BG2_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6948 BG3_InM_WAC = new TH1D("BG3_InM_WAC", "BG3_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6950 BG4_InM_WAC = new TH1D("BG4_InM_WAC", "BG4_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6952 BG5_InM_WAC = new TH1D("BG5_InM_WAC", "BG5_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6954 BG6_InM_WAC = new TH1D("BG6_InM_WAC", "BG6_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6956 BG7_InM_WAC = new TH1D("BG7_InM_WAC", "BG7_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6958 BG8_InM_WAC = new TH1D("BG8_InM_WAC", "BG8_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6960 BG9_InM_WAC = new TH1D("BG9_InM_WAC", "BG9_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6962 BG10_InM_WAC = new TH1D("BG10_InM_WAC", "BG10_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6964 PdgCase8_InM_WAC = new TH1D("PdgCase8_InM_WAC", "PdgCase8_InM_WAC; Id ;#", 5000, -2500, 2500);
6966 PdgCase8mothers_InM_WAC = new TH1D("PdgCase8mothers_InM_WAC", "PdgCase8mothers_InM_WAC; Id ;#", 5000, -2500, 2500);
6969 new TH1D("sameMIDcase8_InM_WAC", "sameMIDcase8_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6972 new TH1D("sameGRIDcase8_InM_WAC", "sameGRIDcase8_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6974 Case1ZYPos_InM_WAC = new TH2D("Case1ZYPos_InM_WAC", "Case1ZYPos_InM_WAC; z[cm]; y[cm]", 400, -1, 200, 200, -50, 50);
6977 new TH1D("sameMIDcase8_mothedPDG_InM_WAC", "sameMIDcase8_mothedPDG_InM_WAC; Id ;#", 5000, -2500, 2500);
6980 new TH1D("PdgCase8NonEComeFromTarget_InM_WAC", "PdgCase8NonEComeFromTarget_InM_WAC; Id ;#", 5000, -2500, 2500);
6983 new TH1D("PdgCase8NonE_NOT_FromTarget_InM_WAC", "PdgCase8NonE_NOT_FromTarget_InM_WAC; Id ;#", 5000, -2500, 2500);
6986 new TH1D("PdgCase8motherNonE_InM_WAC", "PdgCase8motherNonE_InM_WAC; Id ;#", 5000, -2500, 2500);
6989 new TH1D("Case8ElFromDalitz_InM_WAC", "Case8ElFromDalitz_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6992 new TH1D("Case8NonElFrom_pn_InM_WAC", "Case8NonElFrom_pn_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6995 new TH1D("Case8NonElFrom_eta_InM_WAC", "Case8NonElFrom_eta_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
6998 new TH1D("Case8NonElFrom_kaon_InM_WAC", "Case8NonElFrom_kaon_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
7001 new TH1D("sameMIDcase8NonEPdg_InM_WAC", "sameMIDcase8NonEPdg_InM_WAC; Id ;#", 5000, -2500, 2500);
7004 new TH1D("sameMIDcase8NonEMotherPdg_InM_WAC", "sameMIDcase8NonEMotherPdg_InM_WAC; Id ;#", 5000, -2500, 2500);
7007 new TH1D("sameMIDcase8NonEMotherIM_InM_WAC", "sameMIDcase8NonEMotherIM_InM_WAC; invariant mass in GeV/c^{2};#",
7008 1000, 0, 2.0);
7010 sameMIDcase8NonEPdgFromTarget_InM_WAC = new TH1D("sameMIDcase8NonEPdgFromTarget_InM_WAC",
7011 "sameMIDcase8NonEPdgFromTarget_InM_WAC; Id ;#", 5000, -2500, 2500);
7014 new TH1D("sameMIDcase8NonEComeFromTargetIM_InM_WAC",
7015 "sameMIDcase8NonEComeFromTargetIM_InM_WAC; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
7018 new TH1D("sameMIDcase8NonEComeFromTargetP_InM_WAC", "sameMIDcase8NonEComeFromTargetP_InM_WAC; P in GeV/c^{2} ;#",
7019 200, 0, 10);
7022 new TH1D("sameMIDcase8NonEComeFromTargetPt_InM_WAC", "sameMIDcase8NonEComeFromTargetPt_InM_WAC; Pt in GeV/c^{2} ;#",
7023 200, 0, 10);
7025
7026
7027 Chi2_for_Primary = new TH1D("Chi2_for_Primary", "Chi2_for_Primary; #chi^{2};entries", 200, 0, 20);
7029 Chi2_for_Secondary = new TH1D("Chi2_for_Secondary", "Chi2_for_Secondary; #chi^{2};entries", 200, 0, 20);
7031}
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.
int Int_t
int32_t GetStsTrackIndex() const
int32_t GetRichRingIndex() const
double GetZ() const
Definition CbmHit.h:74
static void SetKFParticleFromStsTrack(CbmStsTrack *track, KFParticle *particle, Int_t pdg=211, Bool_t firstPoint=kTRUE)
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 GetP() const
Definition CbmMCTrack.h:97
double GetStartZ() const
Definition CbmMCTrack.h:74
int32_t GetMotherId() const
Definition CbmMCTrack.h:68
int32_t GetPdgCode() const
Definition CbmMCTrack.h:67
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.
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:20
Double_t fPt
Definition LmvmKinePar.h:18
Double_t fRapidity
Definition LmvmKinePar.h:19
Hash for CbmL1LinkKey.