@@ -666,7 +666,6 @@ struct StrangeCascTrack {
666666 if (passedAllSelsOmega) {
667667 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec/FiltersOmega" ), 5.5 );
668668 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec/MassOmega" ), massOmega);
669- histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec/Xi" ), massXi, pt, mult);
670669 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec/Omega" ), massOmega, pt, mult);
671670 // fill for particle-antiparticle type
672671 if (cascade.sign () < 0 ) {
@@ -688,7 +687,8 @@ struct StrangeCascTrack {
688687 }
689688
690689 // statistics - compare gen and reco pt and rapidity
691- int charmBeautyCodes = 4000 ;
690+ int charmBeautyCodesLow = 4000 ;
691+ int charmBeautyCodesHigh = 6000 ;
692692 if constexpr (requires { collision.straMCCollisionId (); }) {
693693 if constexpr (requires { stdCasc.has_cascMCCore (); }) {
694694 auto cascmccore = stdCasc.template cascMCCore_as <DerMCGenCascades>();
@@ -709,10 +709,10 @@ struct StrangeCascTrack {
709709 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/GenRecRapidityXi" ), genYXi, cascade.yXi ());
710710 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/DCA/DCAxyPrimaryXi" ), cascade.dcaXYCascToPV (), pt, mult);
711711 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/DCA/DCAzPrimaryXi" ), cascade.dcaZCascToPV (), pt, mult);
712- if (std::abs (cascmccore.pdgCodeMother ()) > charmBeautyCodes ) {
712+ if (std::abs (cascmccore.pdgCodeMother ()) > charmBeautyCodesLow && std::abs (cascmccore. pdgCodeMother ()) < charmBeautyCodesHigh ) {
713713 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/DCA/DCAxyDecayXi" ), cascade.dcaXYCascToPV (), pt, mult);
714714 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/DCA/DCAzDecayXi" ), cascade.dcaZCascToPV (), pt, mult);
715- } else {
715+ } else if (cascmccore. pdgCodeMother () == - 1 ) {
716716 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/DCA/DCAxyDirectXi" ), cascade.dcaXYCascToPV (), pt, mult);
717717 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/DCA/DCAzDirectXi" ), cascade.dcaZCascToPV (), pt, mult);
718718 }
@@ -724,10 +724,10 @@ struct StrangeCascTrack {
724724 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/DCA/DCAxyPrimaryXi" ), cascade.dcaXYCascToPV (), pt, mult);
725725 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/DCA/DCAzPrimaryXi" ), cascade.dcaZCascToPV (), pt, mult);
726726 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/Radius/PrimaryXi" ), cascade.cascradius (), pt);
727- if (std::abs (cascmccore.pdgCodeMother ()) > charmBeautyCodes ) {
727+ if (std::abs (cascmccore.pdgCodeMother ()) > charmBeautyCodesLow && std::abs (cascmccore. pdgCodeMother ()) < charmBeautyCodesHigh ) {
728728 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/DCA/DCAxyDecayXi" ), cascade.dcaXYCascToPV (), pt, mult);
729729 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/DCA/DCAzDecayXi" ), cascade.dcaZCascToPV (), pt, mult);
730- } else {
730+ } else if (cascmccore. pdgCodeMother () == - 1 ) {
731731 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/DCA/DCAxyDirectXi" ), cascade.dcaXYCascToPV (), pt, mult);
732732 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/DCA/DCAzDirectXi" ), cascade.dcaZCascToPV (), pt, mult);
733733 }
@@ -737,10 +737,10 @@ struct StrangeCascTrack {
737737 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/GenRecRapidityOmega" ), genYOmega, cascade.yOmega ());
738738 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/DCA/DCAxyPrimaryOmega" ), cascade.dcaXYCascToPV (), pt, mult);
739739 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/DCA/DCAzPrimaryOmega" ), cascade.dcaZCascToPV (), pt, mult);
740- if (std::abs (cascmccore.pdgCodeMother ()) > charmBeautyCodes ) {
740+ if (std::abs (cascmccore.pdgCodeMother ()) > charmBeautyCodesLow && std::abs (cascmccore. pdgCodeMother ()) < charmBeautyCodesHigh ) {
741741 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/DCA/DCAxyDecayOmega" ), cascade.dcaXYCascToPV (), pt, mult);
742742 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/DCA/DCAzDecayOmega" ), cascade.dcaZCascToPV (), pt, mult);
743- } else {
743+ } else if (cascmccore. pdgCodeMother () == - 1 ) {
744744 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/DCA/DCAxyDirectOmega" ), cascade.dcaXYCascToPV (), pt, mult);
745745 histos.fill (HIST (TypeNames[Type]) + HIST (" /NoSel-Truth/DCA/DCAzDirectOmega" ), cascade.dcaZCascToPV (), pt, mult);
746746 }
@@ -752,10 +752,10 @@ struct StrangeCascTrack {
752752 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/DCA/DCAxyPrimaryOmega" ), cascade.dcaXYCascToPV (), pt, mult);
753753 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/DCA/DCAzPrimaryOmega" ), cascade.dcaZCascToPV (), pt, mult);
754754 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/Radius/PrimaryOmega" ), cascade.cascradius (), pt);
755- if (std::abs (cascmccore.pdgCodeMother ()) > charmBeautyCodes ) {
755+ if (std::abs (cascmccore.pdgCodeMother ()) > charmBeautyCodesLow && std::abs (cascmccore. pdgCodeMother ()) < charmBeautyCodesHigh ) {
756756 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/DCA/DCAxyDecayOmega" ), cascade.dcaXYCascToPV (), pt, mult);
757757 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/DCA/DCAzDecayOmega" ), cascade.dcaZCascToPV (), pt, mult);
758- } else {
758+ } else if (cascmccore. pdgCodeMother () == - 1 ) {
759759 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/DCA/DCAxyDirectOmega" ), cascade.dcaXYCascToPV (), pt, mult);
760760 histos.fill (HIST (TypeNames[Type]) + HIST (" /Rec-Truth/DCA/DCAzDirectOmega" ), cascade.dcaZCascToPV (), pt, mult);
761761 }
0 commit comments