@@ -159,6 +159,15 @@ struct deltaAnalysis {
159159 histos.add (" hRecPionDeltaPlusPlus" , " Pion from #Delta^{++}" , kTH1F , {ptAxis});
160160 histos.add (" hRecPionAntiDeltaZero" , " Pion from #bar{#Delta^{0}}" , kTH1F , {ptAxis});
161161 histos.add (" hRecPionDeltaZero" , " Pion from #Delta^{0}" , kTH1F , {ptAxis});
162+
163+ histos.add (" hGenProtonAntiDeltaPlusPlus" , " Proton from #bar{#Delta^{++}}" , kTH1F , {ptAxis});
164+ histos.add (" hGenProtonDeltaPlusPlus" , " Proton from #Delta^{++}" , kTH1F , {ptAxis});
165+ histos.add (" hGenProtonAntiDeltaZero" , " Proton from #bar{#Delta^{0}}" , kTH1F , {ptAxis});
166+ histos.add (" hGenProtonDeltaZero" , " Proton from #Delta^{0}" , kTH1F , {ptAxis});
167+ histos.add (" hGenPionAntiDeltaPlusPlus" , " Pion from #bar{#Delta^{++}}" , kTH1F , {ptAxis});
168+ histos.add (" hGenPionDeltaPlusPlus" , " Pion from #Delta^{++}" , kTH1F , {ptAxis});
169+ histos.add (" hGenPionAntiDeltaZero" , " Pion from #bar{#Delta^{0}}" , kTH1F , {ptAxis});
170+ histos.add (" hGenPionDeltaZero" , " Pion from #Delta^{0}" , kTH1F , {ptAxis});
162171 }
163172 }
164173
@@ -564,13 +573,17 @@ struct deltaAnalysis {
564573 auto daughters = mcParticle.daughters_as <aod::McParticles>();
565574 bool daughtPr = false ;
566575 bool daughtPi = false ;
576+ float ptPr = -999 .;
577+ float ptPi = -999 .;
567578 double eDelta = 0 .;
568579 for (auto daught : daughters) {
569580 if (std::abs (daught.pdgCode ()) == protonPDG) {
570581 daughtPr = true ;
582+ ptPr = daught.pt ();
571583 eDelta += daught.e ();
572584 } else if (std::abs (daught.pdgCode ()) == pionPDG) {
573585 daughtPi = true ;
586+ ptPi = daught.pt ();
574587 eDelta += daught.e ();
575588 }
576589 }
@@ -584,14 +597,22 @@ struct deltaAnalysis {
584597 if (pdg > 0 ) {
585598 if (std::abs (pdg) == deltaPlusPlusPDG) {
586599 histos.fill (HIST (" hDeltaPlusPlusInvMassGen" ), mcParticle.pt (), gen_mass);
600+ histos.fill (HIST (" hGenProtonDeltaPlusPlus" ), ptPr);
601+ histos.fill (HIST (" hGenPionDeltaPlusPlus" ), ptPi);
587602 } else if (std::abs (pdg) == deltaZeroPDG) {
588603 histos.fill (HIST (" hDeltaZeroInvMassGen" ), mcParticle.pt (), gen_mass);
604+ histos.fill (HIST (" hGenProtonDeltaZero" ), ptPr);
605+ histos.fill (HIST (" hGenPionDeltaZero" ), ptPi);
589606 }
590607 } else {
591608 if (std::abs (pdg) == deltaPlusPlusPDG) {
592609 histos.fill (HIST (" hAntiDeltaPlusPlusInvMassGen" ), mcParticle.pt (), gen_mass);
610+ histos.fill (HIST (" hGenProtonAntiDeltaPlusPlus" ), ptPr);
611+ histos.fill (HIST (" hGenPionAntiDeltaPlusPlus" ), ptPi);
593612 } else if (std::abs (pdg) == deltaZeroPDG) {
594613 histos.fill (HIST (" hAntiDeltaZeroInvMassGen" ), mcParticle.pt (), gen_mass);
614+ histos.fill (HIST (" hGenProtonAntiDeltaZero" ), ptPr);
615+ histos.fill (HIST (" hGenPionAntiDeltaZero" ), ptPi);
595616 }
596617 }
597618 }
0 commit comments