Extract data from histograms related to Do*.
377{
378
379
380 auto* hist_D0_InvM =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_InvM");
381 auto* hist_delta_m =
findHist(
"PhysicsObjectsMiraBelleDst/hist_delta_m");
382 auto* hist_D0_softpi_PID_ALL_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_softpi_PID_ALL_pion");
383 auto* hist_D0_softpi_PID_SVD_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_softpi_PID_SVD_pion");
384 auto* hist_D0_softpi_PID_CDC_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_softpi_PID_CDC_pion");
385 auto* hist_D0_softpi_PID_TOP_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_softpi_PID_TOP_pion");
386 auto* hist_D0_softpi_PID_ARICH_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_softpi_PID_ARICH_pion");
387 auto* hist_D0_softpi_PID_ECL_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_softpi_PID_ECL_pion");
388 auto* hist_D0_softpi_PID_KLM_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_softpi_PID_KLM_pion");
389 auto* hist_D0_pi_PID_ALL_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_pi_PID_ALL_pion");
390 auto* hist_D0_pi_PID_SVD_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_pi_PID_SVD_pion");
391 auto* hist_D0_pi_PID_CDC_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_pi_PID_CDC_pion");
392 auto* hist_D0_pi_PID_TOP_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_pi_PID_TOP_pion");
393 auto* hist_D0_pi_PID_ARICH_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_pi_PID_ARICH_pion");
394 auto* hist_D0_pi_PID_ECL_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_pi_PID_ECL_pion");
395 auto* hist_D0_pi_PID_KLM_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_pi_PID_KLM_pion");
396 auto* hist_D0_K_PID_ALL_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_K_PID_ALL_kaon");
397 auto* hist_D0_K_PID_SVD_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_K_PID_SVD_kaon");
398 auto* hist_D0_K_PID_CDC_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_K_PID_CDC_kaon");
399 auto* hist_D0_K_PID_TOP_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_K_PID_TOP_kaon");
400 auto* hist_D0_K_PID_ARICH_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_K_PID_ARICH_kaon");
401 auto* hist_D0_K_PID_ECL_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_K_PID_ECL_kaon");
402 auto* hist_D0_K_PID_KLM_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_D0_K_PID_KLM_kaon");
403 auto* hist_sideband_D0_softpi_PID_ALL_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_softpi_PID_ALL_pion");
404 auto* hist_sideband_D0_softpi_PID_SVD_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_softpi_PID_SVD_pion");
405 auto* hist_sideband_D0_softpi_PID_CDC_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_softpi_PID_CDC_pion");
406 auto* hist_sideband_D0_softpi_PID_TOP_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_softpi_PID_TOP_pion");
407 auto* hist_sideband_D0_softpi_PID_ARICH_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_softpi_PID_ARICH_pion");
408 auto* hist_sideband_D0_softpi_PID_ECL_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_softpi_PID_ECL_pion");
409 auto* hist_sideband_D0_softpi_PID_KLM_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_softpi_PID_KLM_pion");
410 auto* hist_sideband_D0_pi_PID_ALL_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_pi_PID_ALL_pion");
411 auto* hist_sideband_D0_pi_PID_SVD_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_pi_PID_SVD_pion");
412 auto* hist_sideband_D0_pi_PID_CDC_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_pi_PID_CDC_pion");
413 auto* hist_sideband_D0_pi_PID_TOP_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_pi_PID_TOP_pion");
414 auto* hist_sideband_D0_pi_PID_ARICH_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_pi_PID_ARICH_pion");
415 auto* hist_sideband_D0_pi_PID_ECL_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_pi_PID_ECL_pion");
416 auto* hist_sideband_D0_pi_PID_KLM_pion =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_pi_PID_KLM_pion");
417 auto* hist_sideband_D0_K_PID_ALL_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_K_PID_ALL_kaon");
418 auto* hist_sideband_D0_K_PID_SVD_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_K_PID_SVD_kaon");
419 auto* hist_sideband_D0_K_PID_CDC_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_K_PID_CDC_kaon");
420 auto* hist_sideband_D0_K_PID_TOP_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_K_PID_TOP_kaon");
421 auto* hist_sideband_D0_K_PID_ARICH_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_K_PID_ARICH_kaon");
422 auto* hist_sideband_D0_K_PID_ECL_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_K_PID_ECL_kaon");
423 auto* hist_sideband_D0_K_PID_KLM_kaon =
findHist(
"PhysicsObjectsMiraBelleDst/hist_sideband_D0_K_PID_KLM_kaon");
424 auto* hist_D0_pi0_InvM =
findHist(
"PhysicsObjectsMiraBelleDst2/hist_D0_pi0_InvM");
425 if (hist_D0_InvM == nullptr) {
426 B2ERROR("Can not find the hist_D0_InvM histogram!");
427 return;
428 }
429 if (hist_delta_m == nullptr) {
430 B2ERROR("Can not find the hist_delta_m histogram!");
431 return;
432 }
433 if (hist_D0_softpi_PID_ALL_pion == nullptr) {
434 B2ERROR("Can not find the hist_D0_softpi_PID_ALL_pion histogram!");
435 return;
436 }
437 if (hist_D0_softpi_PID_SVD_pion == nullptr) {
438 B2ERROR("Can not find the hist_D0_softpi_PID_SVD_pion histogram!");
439 return;
440 }
441 if (hist_D0_softpi_PID_CDC_pion == nullptr) {
442 B2ERROR("Can not find the hist_D0_softpi_PID_CDC_pion histogram!");
443 return;
444 }
445 if (hist_D0_softpi_PID_TOP_pion == nullptr) {
446 B2ERROR("Can not find the hist_D0_softpi_PID_TOP_pion histogram!");
447 return;
448 }
449 if (hist_D0_softpi_PID_ARICH_pion == nullptr) {
450 B2ERROR("Can not find the hist_D0_softpi_PID_ARICH_pion histogram!");
451 return;
452 }
453 if (hist_D0_softpi_PID_ECL_pion == nullptr) {
454 B2ERROR("Can not find the hist_D0_softpi_PID_ECL_pion histogram!");
455 return;
456 }
457 if (hist_D0_softpi_PID_KLM_pion == nullptr) {
458 B2ERROR("Can not find the hist_D0_softpi_PID_KLM_pion histogram!");
459 return;
460 }
461 if (hist_D0_pi_PID_ALL_pion == nullptr) {
462 B2ERROR("Can not find the hist_D0_pi_PID_ALL_pion histogram!");
463 return;
464 }
465 if (hist_D0_pi_PID_SVD_pion == nullptr) {
466 B2ERROR("Can not find the hist_D0_pi_PID_SVD_pion histogram!");
467 return;
468 }
469 if (hist_D0_pi_PID_CDC_pion == nullptr) {
470 B2ERROR("Can not find the hist_D0_pi_PID_CDC_pion histogram!");
471 return;
472 }
473 if (hist_D0_pi_PID_TOP_pion == nullptr) {
474 B2ERROR("Can not find the hist_D0_pi_PID_TOP_pion histogram!");
475 return;
476 }
477 if (hist_D0_pi_PID_ARICH_pion == nullptr) {
478 B2ERROR("Can not find the hist_D0_pi_PID_ARICH_pion histogram!");
479 return;
480 }
481 if (hist_D0_pi_PID_ECL_pion == nullptr) {
482 B2ERROR("Can not find the hist_D0_pi_PID_ECL_pion histogram!");
483 return;
484 }
485 if (hist_D0_pi_PID_KLM_pion == nullptr) {
486 B2ERROR("Can not find the hist_D0_pi_PID_KLM_pion histogram!");
487 return;
488 }
489 if (hist_D0_K_PID_ALL_kaon == nullptr) {
490 B2ERROR("Can not find the hist_D0_K_PID_ALL_kaon histogram!");
491 return;
492 }
493 if (hist_D0_K_PID_SVD_kaon == nullptr) {
494 B2ERROR("Can not find the hist_D0_K_PID_SVD_kaon histogram!");
495 return;
496 }
497 if (hist_D0_K_PID_CDC_kaon == nullptr) {
498 B2ERROR("Can not find the hist_D0_K_PID_CDC_kaon histogram!");
499 return;
500 }
501 if (hist_D0_K_PID_TOP_kaon == nullptr) {
502 B2ERROR("Can not find the hist_D0_K_PID_TOP_kaon histogram!");
503 return;
504 }
505 if (hist_D0_K_PID_ARICH_kaon == nullptr) {
506 B2ERROR("Can not find the hist_D0_K_PID_ARICH_kaon histogram!");
507 return;
508 }
509 if (hist_D0_K_PID_ECL_kaon == nullptr) {
510 B2ERROR("Can not find the hist_D0_K_PID_ECL_kaon histogram!");
511 return;
512 }
513 if (hist_D0_K_PID_KLM_kaon == nullptr) {
514 B2ERROR("Can not find the hist_D0_K_PID_KLM_kaon histogram!");
515 return;
516 }
517 if (hist_sideband_D0_softpi_PID_ALL_pion == nullptr) {
518 B2ERROR("Can not find the hist_sideband_D0_softpi_PID_ALL_pion histogram!");
519 return;
520 }
521 if (hist_sideband_D0_softpi_PID_SVD_pion == nullptr) {
522 B2ERROR("Can not find the hist_sideband_D0_softpi_PID_SVD_pion histogram!");
523 return;
524 }
525 if (hist_sideband_D0_softpi_PID_CDC_pion == nullptr) {
526 B2ERROR("Can not find the hist_sideband_D0_softpi_PID_CDC_pion histogram!");
527 return;
528 }
529 if (hist_sideband_D0_softpi_PID_TOP_pion == nullptr) {
530 B2ERROR("Can not find the hist_sideband_D0_softpi_PID_TOP_pion histogram!");
531 return;
532 }
533 if (hist_sideband_D0_softpi_PID_ARICH_pion == nullptr) {
534 B2ERROR("Can not find the hist_sideband_D0_softpi_PID_ARICH_pion histogram!");
535 return;
536 }
537 if (hist_sideband_D0_softpi_PID_ECL_pion == nullptr) {
538 B2ERROR("Can not find the hist_sideband_D0_softpi_PID_ECL_pion histogram!");
539 return;
540 }
541 if (hist_sideband_D0_softpi_PID_KLM_pion == nullptr) {
542 B2ERROR("Can not find the hist_sideband_D0_softpi_PID_KLM_pion histogram!");
543 return;
544 }
545 if (hist_sideband_D0_pi_PID_ALL_pion == nullptr) {
546 B2ERROR("Can not find the hist_sideband_D0_pi_PID_ALL_pion histogram!");
547 return;
548 }
549 if (hist_sideband_D0_pi_PID_SVD_pion == nullptr) {
550 B2ERROR("Can not find the hist_sideband_D0_pi_PID_SVD_pion histogram!");
551 return;
552 }
553 if (hist_sideband_D0_pi_PID_CDC_pion == nullptr) {
554 B2ERROR("Can not find the hist_sideband_D0_pi_PID_CDC_pion histogram!");
555 return;
556 }
557 if (hist_sideband_D0_pi_PID_TOP_pion == nullptr) {
558 B2ERROR("Can not find the hist_sideband_D0_pi_PID_TOP_pion histogram!");
559 return;
560 }
561 if (hist_sideband_D0_pi_PID_ARICH_pion == nullptr) {
562 B2ERROR("Can not find the hist_sideband_D0_pi_PID_ARICH_pion histogram!");
563 return;
564 }
565 if (hist_sideband_D0_pi_PID_ECL_pion == nullptr) {
566 B2ERROR("Can not find the hist_sideband_D0_pi_PID_ECL_pion histogram!");
567 return;
568 }
569 if (hist_sideband_D0_pi_PID_KLM_pion == nullptr) {
570 B2ERROR("Can not find the hist_sideband_D0_pi_PID_KLM_pion histogram!");
571 return;
572 }
573 if (hist_sideband_D0_K_PID_ALL_kaon == nullptr) {
574 B2ERROR("Can not find the hist_sideband_D0_K_PID_ALL_kaon histogram!");
575 return;
576 }
577 if (hist_sideband_D0_K_PID_SVD_kaon == nullptr) {
578 B2ERROR("Can not find the hist_sideband_D0_K_PID_SVD_kaon histogram!");
579 return;
580 }
581 if (hist_sideband_D0_K_PID_CDC_kaon == nullptr) {
582 B2ERROR("Can not find the hist_sideband_D0_K_PID_CDC_kaon histogram!");
583 return;
584 }
585 if (hist_sideband_D0_K_PID_TOP_kaon == nullptr) {
586 B2ERROR("Can not find the hist_sideband_D0_K_PID_TOP_kaon histogram!");
587 return;
588 }
589 if (hist_sideband_D0_K_PID_ARICH_kaon == nullptr) {
590 B2ERROR("Can not find the hist_sideband_D0_K_PID_ARICH_kaon histogram!");
591 return;
592 }
593 if (hist_sideband_D0_K_PID_ECL_kaon == nullptr) {
594 B2ERROR("Can not find the hist_sideband_D0_K_PID_ECL_kaon histogram!");
595 return;
596 }
597 if (hist_sideband_D0_K_PID_KLM_kaon == nullptr) {
598 B2ERROR("Can not find the hist_sideband_D0_K_PID_KLM_kaon histogram!");
599 return;
600 }
601 if (hist_D0_pi0_InvM == nullptr) {
602 B2ERROR("Can not find the hist_D0_pi0_InvM histogram!");
603 return;
604 }
605
606 TF1* f_InvM = new TF1("f_InvM", "[0]*TMath::Gaus(x,[1],[2])+[3]*pow(x-[4],2)+[5]", 1.81, 1.95);
607 f_InvM->SetParNames("Height", "#mu", "#sigma", "a", "b", "c");
608 f_InvM->SetParameters(hist_D0_InvM->GetMaximum(), 1.86, 5e-3, 0., 1.86, 0.);
609 hist_D0_InvM->Fit(f_InvM, "", "", 1.81, 1.95);
610 f_InvM->SetLineColor(kRed);
611
612 TF1* f_delta_m = new TF1("f_delta_m", "[0]*TMath::Gaus(x,[1],[2])+[3]*pow(x-[4],2)+[5]", 0.14, 0.16);
613 f_delta_m->SetParNames("Height", "#mu", "#sigma", "a", "b", "c");
614 f_delta_m->SetParameters(hist_delta_m->GetMaximum(), 0.145, 5e-4, 0., 0.145, 0.);
615 hist_delta_m->Fit(f_delta_m, "", "", 0.14, 0.16);
616 f_delta_m->SetLineColor(kRed);
617
618 TF1* f_pi0_InvM = new TF1("f_pi0_InvM", "[0]*TMath::Gaus(x,[1],[2])+[3]*pow(x-[4],2)+[5]", 0.09, 0.17);
619 f_pi0_InvM->SetParNames("Height", "#mu", "#sigma", "a", "b", "c");
620 f_pi0_InvM->SetParameters(hist_D0_pi0_InvM->GetMaximum(), 0.13, 5e-3, 0., 0.13, 0.);
621 hist_D0_pi0_InvM->Fit(f_pi0_InvM, "", "", 0.09, 0.17);
622 f_pi0_InvM->SetLineColor(kRed);
623
624
625 TF1* f_gaus_InvM = new TF1("f_gaus_InvM", "gaus", 1.81, 1.95);
626 f_gaus_InvM->SetParameters(f_InvM->GetParameter(0), f_InvM->GetParameter(1), f_InvM->GetParameter(2));
627 double InvM_bin_width = hist_D0_InvM->GetXaxis()->GetBinWidth(1);
628 double neve_dst = f_gaus_InvM->Integral(1.81, 1.95) / InvM_bin_width;
629
630 TF1* f_gaus_pi0_InvM = new TF1("f_gaus_pi0_InvM", "gaus", 0.09, 0.17);
631 f_gaus_pi0_InvM->SetParameters(f_pi0_InvM->GetParameter(0), f_pi0_InvM->GetParameter(1), f_pi0_InvM->GetParameter(2));
632 double pi0_InvM_bin_width = hist_D0_pi0_InvM->GetXaxis()->GetBinWidth(1);
633 double neve_pi0 = f_gaus_pi0_InvM->Integral(0.09, 0.17) / pi0_InvM_bin_width;
634
635
636 hist_D0_softpi_PID_ALL_pion->Sumw2();
637 hist_D0_softpi_PID_SVD_pion->Sumw2();
638 hist_D0_softpi_PID_CDC_pion->Sumw2();
639 hist_D0_softpi_PID_TOP_pion->Sumw2();
640 hist_D0_softpi_PID_ARICH_pion->Sumw2();
641 hist_D0_softpi_PID_ECL_pion->Sumw2();
642 hist_D0_softpi_PID_KLM_pion->Sumw2();
643 hist_D0_pi_PID_ALL_pion->Sumw2();
644 hist_D0_pi_PID_SVD_pion->Sumw2();
645 hist_D0_pi_PID_CDC_pion->Sumw2();
646 hist_D0_pi_PID_TOP_pion->Sumw2();
647 hist_D0_pi_PID_ARICH_pion->Sumw2();
648 hist_D0_pi_PID_ECL_pion->Sumw2();
649 hist_D0_pi_PID_KLM_pion->Sumw2();
650 hist_D0_K_PID_ALL_kaon->Sumw2();
651 hist_D0_K_PID_SVD_kaon->Sumw2();
652 hist_D0_K_PID_CDC_kaon->Sumw2();
653 hist_D0_K_PID_TOP_kaon->Sumw2();
654 hist_D0_K_PID_ARICH_kaon->Sumw2();
655 hist_D0_K_PID_ECL_kaon->Sumw2();
656 hist_D0_K_PID_KLM_kaon->Sumw2();
657 hist_sideband_D0_softpi_PID_ALL_pion->Sumw2();
658 hist_sideband_D0_softpi_PID_SVD_pion->Sumw2();
659 hist_sideband_D0_softpi_PID_CDC_pion->Sumw2();
660 hist_sideband_D0_softpi_PID_TOP_pion->Sumw2();
661 hist_sideband_D0_softpi_PID_ARICH_pion->Sumw2();
662 hist_sideband_D0_softpi_PID_ECL_pion->Sumw2();
663 hist_sideband_D0_softpi_PID_KLM_pion->Sumw2();
664 hist_sideband_D0_pi_PID_ALL_pion->Sumw2();
665 hist_sideband_D0_pi_PID_SVD_pion->Sumw2();
666 hist_sideband_D0_pi_PID_CDC_pion->Sumw2();
667 hist_sideband_D0_pi_PID_TOP_pion->Sumw2();
668 hist_sideband_D0_pi_PID_ARICH_pion->Sumw2();
669 hist_sideband_D0_pi_PID_ECL_pion->Sumw2();
670 hist_sideband_D0_pi_PID_KLM_pion->Sumw2();
671 hist_sideband_D0_K_PID_ALL_kaon->Sumw2();
672 hist_sideband_D0_K_PID_SVD_kaon->Sumw2();
673 hist_sideband_D0_K_PID_CDC_kaon->Sumw2();
674 hist_sideband_D0_K_PID_TOP_kaon->Sumw2();
675 hist_sideband_D0_K_PID_ARICH_kaon->Sumw2();
676 hist_sideband_D0_K_PID_ECL_kaon->Sumw2();
677 hist_sideband_D0_K_PID_KLM_kaon->Sumw2();
678
679
680 hist_sideband_D0_softpi_PID_ALL_pion->Scale(
m_scale_dst);
681 hist_sideband_D0_softpi_PID_SVD_pion->Scale(
m_scale_dst);
682 hist_sideband_D0_softpi_PID_CDC_pion->Scale(
m_scale_dst);
683 hist_sideband_D0_softpi_PID_TOP_pion->Scale(
m_scale_dst);
684 hist_sideband_D0_softpi_PID_ARICH_pion->Scale(
m_scale_dst);
685 hist_sideband_D0_softpi_PID_ECL_pion->Scale(
m_scale_dst);
686 hist_sideband_D0_softpi_PID_KLM_pion->Scale(
m_scale_dst);
687 hist_sideband_D0_pi_PID_ALL_pion->Scale(
m_scale_dst);
688 hist_sideband_D0_pi_PID_SVD_pion->Scale(
m_scale_dst);
689 hist_sideband_D0_pi_PID_CDC_pion->Scale(
m_scale_dst);
690 hist_sideband_D0_pi_PID_TOP_pion->Scale(
m_scale_dst);
691 hist_sideband_D0_pi_PID_ARICH_pion->Scale(
m_scale_dst);
692 hist_sideband_D0_pi_PID_ECL_pion->Scale(
m_scale_dst);
693 hist_sideband_D0_pi_PID_KLM_pion->Scale(
m_scale_dst);
694 hist_sideband_D0_K_PID_ALL_kaon->Scale(
m_scale_dst);
695 hist_sideband_D0_K_PID_SVD_kaon->Scale(
m_scale_dst);
696 hist_sideband_D0_K_PID_CDC_kaon->Scale(
m_scale_dst);
697 hist_sideband_D0_K_PID_TOP_kaon->Scale(
m_scale_dst);
698 hist_sideband_D0_K_PID_ARICH_kaon->Scale(
m_scale_dst);
699 hist_sideband_D0_K_PID_ECL_kaon->Scale(
m_scale_dst);
700 hist_sideband_D0_K_PID_KLM_kaon->Scale(
m_scale_dst);
701
702
703 hist_D0_softpi_PID_ALL_pion->Add(hist_sideband_D0_softpi_PID_ALL_pion, -1);
704 hist_D0_softpi_PID_SVD_pion->Add(hist_sideband_D0_softpi_PID_SVD_pion, -1);
705 hist_D0_softpi_PID_CDC_pion->Add(hist_sideband_D0_softpi_PID_CDC_pion, -1);
706 hist_D0_softpi_PID_TOP_pion->Add(hist_sideband_D0_softpi_PID_TOP_pion, -1);
707 hist_D0_softpi_PID_ARICH_pion->Add(hist_sideband_D0_softpi_PID_ARICH_pion, -1);
708 hist_D0_softpi_PID_ECL_pion->Add(hist_sideband_D0_softpi_PID_ECL_pion, -1);
709 hist_D0_softpi_PID_KLM_pion->Add(hist_sideband_D0_softpi_PID_KLM_pion, -1);
710 hist_D0_pi_PID_ALL_pion->Add(hist_sideband_D0_pi_PID_ALL_pion, -1);
711 hist_D0_pi_PID_SVD_pion->Add(hist_sideband_D0_pi_PID_SVD_pion, -1);
712 hist_D0_pi_PID_CDC_pion->Add(hist_sideband_D0_pi_PID_CDC_pion, -1);
713 hist_D0_pi_PID_TOP_pion->Add(hist_sideband_D0_pi_PID_TOP_pion, -1);
714 hist_D0_pi_PID_ARICH_pion->Add(hist_sideband_D0_pi_PID_ARICH_pion, -1);
715 hist_D0_pi_PID_ECL_pion->Add(hist_sideband_D0_pi_PID_ECL_pion, -1);
716 hist_D0_pi_PID_KLM_pion->Add(hist_sideband_D0_pi_PID_KLM_pion, -1);
717 hist_D0_K_PID_ALL_kaon->Add(hist_sideband_D0_K_PID_ALL_kaon, -1);
718 hist_D0_K_PID_SVD_kaon->Add(hist_sideband_D0_K_PID_SVD_kaon, -1);
719 hist_D0_K_PID_CDC_kaon->Add(hist_sideband_D0_K_PID_CDC_kaon, -1);
720 hist_D0_K_PID_TOP_kaon->Add(hist_sideband_D0_K_PID_TOP_kaon, -1);
721 hist_D0_K_PID_ARICH_kaon->Add(hist_sideband_D0_K_PID_ARICH_kaon, -1);
722 hist_D0_K_PID_ECL_kaon->Add(hist_sideband_D0_K_PID_ECL_kaon, -1);
723 hist_D0_K_PID_KLM_kaon->Add(hist_sideband_D0_K_PID_KLM_kaon, -1);
724
725
726
729 hist_D0_InvM->Draw();
730 f_InvM->Draw("SAME");
732 hist_delta_m->Draw();
733 f_delta_m->Draw("SAME");
735 hist_D0_pi0_InvM->Draw();
736 f_pi0_InvM->Draw("SAME");
737
739 dst_pi_val->cd(1); hist_D0_pi_PID_ALL_pion->Draw();
740 dst_pi_val->cd(2); hist_D0_pi_PID_SVD_pion->Draw();
741 dst_pi_val->cd(3); hist_D0_pi_PID_CDC_pion->Draw();
742 dst_pi_val->cd(4); hist_D0_pi_PID_TOP_pion->Draw();
743 dst_pi_val->cd(5); hist_D0_pi_PID_ARICH_pion->Draw();
744 dst_pi_val->cd(6); hist_D0_pi_PID_ECL_pion->Draw();
745 dst_pi_val->cd(7); hist_D0_pi_PID_KLM_pion->Draw();
746
748 dst_k_val->cd(1); hist_D0_K_PID_ALL_kaon->Draw();
749 dst_k_val->cd(2); hist_D0_K_PID_SVD_kaon->Draw();
750 dst_k_val->cd(3); hist_D0_K_PID_CDC_kaon->Draw();
751 dst_k_val->cd(4); hist_D0_K_PID_TOP_kaon->Draw();
752 dst_k_val->cd(5); hist_D0_K_PID_ARICH_kaon->Draw();
753 dst_k_val->cd(6); hist_D0_K_PID_ECL_kaon->Draw();
754 dst_k_val->cd(7); hist_D0_K_PID_KLM_kaon->Draw();
755
756
757 double mean_D0_InvM = f_InvM->GetParameter(1);
758 double width_D0_InvM = f_InvM->GetParameter(2);
759 double mean_delta_m = f_delta_m->GetParameter(1);
760 double width_delta_m = f_delta_m->GetParameter(2);
761 double mean_pi0_InvM = f_pi0_InvM->GetParameter(1);
762 double width_pi0_InvM = f_pi0_InvM->GetParameter(2);
763 double mean_D0_softpi_PID_ALL_pion = hist_D0_softpi_PID_ALL_pion->GetMean();
764 double mean_D0_softpi_PID_SVD_pion = hist_D0_softpi_PID_SVD_pion->GetMean();
765 double mean_D0_softpi_PID_CDC_pion = hist_D0_softpi_PID_CDC_pion->GetMean();
766 double mean_D0_softpi_PID_TOP_pion = hist_D0_softpi_PID_TOP_pion->GetMean();
767 double mean_D0_softpi_PID_ARICH_pion = hist_D0_softpi_PID_ARICH_pion->GetMean();
768 double mean_D0_softpi_PID_ECL_pion = hist_D0_softpi_PID_ECL_pion->GetMean();
769 double mean_D0_softpi_PID_KLM_pion = hist_D0_softpi_PID_KLM_pion->GetMean();
770 double mean_D0_pi_PID_ALL_pion = hist_D0_pi_PID_ALL_pion->GetMean();
771 double mean_D0_pi_PID_SVD_pion = hist_D0_pi_PID_SVD_pion->GetMean();
772 double mean_D0_pi_PID_CDC_pion = hist_D0_pi_PID_CDC_pion->GetMean();
773 double mean_D0_pi_PID_TOP_pion = hist_D0_pi_PID_TOP_pion->GetMean();
774 double mean_D0_pi_PID_ARICH_pion = hist_D0_pi_PID_ARICH_pion->GetMean();
775 double mean_D0_pi_PID_ECL_pion = hist_D0_pi_PID_ECL_pion->GetMean();
776 double mean_D0_pi_PID_KLM_pion = hist_D0_pi_PID_KLM_pion->GetMean();
777 double mean_D0_K_PID_ALL_kaon = hist_D0_K_PID_ALL_kaon->GetMean();
778 double mean_D0_K_PID_SVD_kaon = hist_D0_K_PID_SVD_kaon->GetMean();
779 double mean_D0_K_PID_CDC_kaon = hist_D0_K_PID_CDC_kaon->GetMean();
780 double mean_D0_K_PID_TOP_kaon = hist_D0_K_PID_TOP_kaon->GetMean();
781 double mean_D0_K_PID_ARICH_kaon = hist_D0_K_PID_ARICH_kaon->GetMean();
782 double mean_D0_K_PID_ECL_kaon = hist_D0_K_PID_ECL_kaon->GetMean();
783 double mean_D0_K_PID_KLM_kaon = hist_D0_K_PID_KLM_kaon->GetMean();
784
785
786 mon_dst->setVariable(
"neve_dst", neve_dst);
787 mon_dst->setVariable(
"neve_pi0", neve_pi0);
788 mon_dst->setVariable(
"mean_D0_InvM", mean_D0_InvM);
789 mon_dst->setVariable(
"width_D0_InvM", width_D0_InvM);
790 mon_dst->setVariable(
"mean_delta_m", mean_delta_m);
791 mon_dst->setVariable(
"width_delta_m", width_delta_m);
792 mon_dst->setVariable(
"mean_pi0_InvM", mean_pi0_InvM);
793 mon_dst->setVariable(
"width_pi0_InvM", width_pi0_InvM);
794 mon_dst->setVariable(
"mean_D0_softpi_PID_ALL_pion", mean_D0_softpi_PID_ALL_pion);
795 mon_dst->setVariable(
"mean_D0_softpi_PID_SVD_pion", mean_D0_softpi_PID_SVD_pion);
796 mon_dst->setVariable(
"mean_D0_softpi_PID_CDC_pion", mean_D0_softpi_PID_CDC_pion);
797 mon_dst->setVariable(
"mean_D0_softpi_PID_TOP_pion", mean_D0_softpi_PID_TOP_pion);
798 mon_dst->setVariable(
"mean_D0_softpi_PID_ARICH_pion", mean_D0_softpi_PID_ARICH_pion);
799 mon_dst->setVariable(
"mean_D0_softpi_PID_ECL_pion", mean_D0_softpi_PID_ECL_pion);
800 mon_dst->setVariable(
"mean_D0_softpi_PID_KLM_pion", mean_D0_softpi_PID_KLM_pion);
801 mon_dst->setVariable(
"mean_D0_pi_PID_ALL_pion", mean_D0_pi_PID_ALL_pion);
802 mon_dst->setVariable(
"mean_D0_pi_PID_SVD_pion", mean_D0_pi_PID_SVD_pion);
803 mon_dst->setVariable(
"mean_D0_pi_PID_CDC_pion", mean_D0_pi_PID_CDC_pion);
804 mon_dst->setVariable(
"mean_D0_pi_PID_TOP_pion", mean_D0_pi_PID_TOP_pion);
805 mon_dst->setVariable(
"mean_D0_pi_PID_ARICH_pion", mean_D0_pi_PID_ARICH_pion);
806 mon_dst->setVariable(
"mean_D0_pi_PID_ECL_pion", mean_D0_pi_PID_ECL_pion);
807 mon_dst->setVariable(
"mean_D0_pi_PID_KLM_pion", mean_D0_pi_PID_KLM_pion);
808 mon_dst->setVariable(
"mean_D0_K_PID_ALL_kaon", mean_D0_K_PID_ALL_kaon);
809 mon_dst->setVariable(
"mean_D0_K_PID_SVD_kaon", mean_D0_K_PID_SVD_kaon);
810 mon_dst->setVariable(
"mean_D0_K_PID_CDC_kaon", mean_D0_K_PID_CDC_kaon);
811 mon_dst->setVariable(
"mean_D0_K_PID_TOP_kaon", mean_D0_K_PID_TOP_kaon);
812 mon_dst->setVariable(
"mean_D0_K_PID_ARICH_kaon", mean_D0_K_PID_ARICH_kaon);
813 mon_dst->setVariable(
"mean_D0_K_PID_ECL_kaon", mean_D0_K_PID_ECL_kaon);
814 mon_dst->setVariable(
"mean_D0_K_PID_KLM_kaon", mean_D0_K_PID_KLM_kaon);
815}
TCanvas * dst_k_val
TCanvas object for PID distributions of K.
TCanvas * dst_pi_val
TCanvas object for PID distributions of pi.
Belle2::MonitoringObject * mon_dst
MonitoringObject for D* events.
TCanvas * dst_mass
TCanvas object for D0 mass, delta mass, and pi0 mass.