@@ -987,10 +987,14 @@ struct derivedlambdakzeroanalysis {
987987 }
988988 }
989989
990- if (analyseLambda && calculateFeeddownMatrix && (doprocessMonteCarloRun3 || doprocessMonteCarloRun2))
990+ if (analyseLambda && calculateFeeddownMatrix && (doprocessMonteCarloRun3 || doprocessMonteCarloRun2)) {
991991 histos.add (" h3dLambdaFeeddown" , " h3dLambdaFeeddown" , kTH3D , {axisConfigurations.axisCentrality , axisConfigurations.axisPt , axisConfigurations.axisPtXi });
992- if (analyseAntiLambda && calculateFeeddownMatrix && (doprocessMonteCarloRun3 || doprocessMonteCarloRun2))
992+ histos.add (" h3dLambdaFeeddownFromXi0" , " h3dLambdaFeeddownFromXi0" , kTH3D , {axisConfigurations.axisCentrality , axisConfigurations.axisPt , axisConfigurations.axisPtXi });
993+ }
994+ if (analyseAntiLambda && calculateFeeddownMatrix && (doprocessMonteCarloRun3 || doprocessMonteCarloRun2)) {
993995 histos.add (" h3dAntiLambdaFeeddown" , " h3dAntiLambdaFeeddown" , kTH3D , {axisConfigurations.axisCentrality , axisConfigurations.axisPt , axisConfigurations.axisPtXi });
996+ histos.add (" h3dAntiLambdaFeeddownFromXi0" , " h3dAntiLambdaFeeddownFromXi0" , kTH3D , {axisConfigurations.axisCentrality , axisConfigurations.axisPt , axisConfigurations.axisPtXi });
997+ }
994998
995999 if (analyseK0Short)
9961000 histos.add (" hMassK0Short" , " hMassK0Short" , kTH1D , {axisConfigurations.axisK0Mass });
@@ -1962,12 +1966,20 @@ struct derivedlambdakzeroanalysis {
19621966
19631967 // __________________________________________
19641968 if (verifyMask (selMap, secondaryMaskSelectionLambda) && analyseLambda) {
1965- if (v0mother.pdgCode () == PDG_t::kXiMinus && v0mother.isPhysicalPrimary ())
1966- histos.fill (HIST (" h3dLambdaFeeddown" ), centrality, pt, std::hypot (v0mother.px (), v0mother.py ()));
1969+ if (v0mother.isPhysicalPrimary ()) {
1970+ if (v0mother.pdgCode () == PDG_t::kXiMinus )
1971+ histos.fill (HIST (" h3dLambdaFeeddown" ), centrality, pt, std::hypot (v0mother.px (), v0mother.py ()));
1972+ if (v0mother.pdgCode () == PDG_t::kXiMinus || v0mother.pdgCode () == o2::constants::physics::Pdg::kXi0 )
1973+ histos.fill (HIST (" h3dLambdaFeeddownFromXi0" ), centrality, pt, std::hypot (v0mother.px (), v0mother.py ()));
1974+ }
19671975 }
19681976 if (verifyMask (selMap, secondaryMaskSelectionAntiLambda) && analyseAntiLambda) {
1969- if (v0mother.pdgCode () == PDG_t::kXiPlusBar && v0mother.isPhysicalPrimary ())
1970- histos.fill (HIST (" h3dAntiLambdaFeeddown" ), centrality, pt, std::hypot (v0mother.px (), v0mother.py ()));
1977+ if (v0mother.isPhysicalPrimary ()) {
1978+ if (v0mother.pdgCode () == PDG_t::kXiPlusBar )
1979+ histos.fill (HIST (" h3dAntiLambdaFeeddown" ), centrality, pt, std::hypot (v0mother.px (), v0mother.py ()));
1980+ if (v0mother.pdgCode () == PDG_t::kXiPlusBar || v0mother.pdgCode () == -o2::constants::physics::Pdg::kXi0 )
1981+ histos.fill (HIST (" h3dAntiLambdaFeeddownFromXi0" ), centrality, pt, std::hypot (v0mother.px (), v0mother.py ()));
1982+ }
19711983 }
19721984 }
19731985
0 commit comments