@@ -304,18 +304,18 @@ struct ThreeParticleCorrelations {
304304 rMCRegistry.add (" hPIDProtonN" , " hPIDProtonN" , {HistType::kTH3D , {{trackPtAxis}, {trackEtaAxis}, {centralityAxis}}});
305305
306306 // Purity
307- rMCRegistry.add (" hSelectPionP" , " hSelectPionP" , {HistType::kTH1D , {trackPtAxis}});
308- rMCRegistry.add (" hSelectPionN" , " hSelectPionN" , {HistType::kTH1D , {trackPtAxis}});
309- rMCRegistry.add (" hSelectKaonP" , " hSelectKaonP" , {HistType::kTH1D , {trackPtAxis}});
310- rMCRegistry.add (" hSelectKaonN" , " hSelectKaonN" , {HistType::kTH1D , {trackPtAxis}});
311- rMCRegistry.add (" hSelectProtonP" , " hSelectProtonP" , {HistType::kTH1D , {trackPtAxis}});
312- rMCRegistry.add (" hSelectProtonN" , " hSelectProtonN" , {HistType::kTH1D , {trackPtAxis}});
313- rMCRegistry.add (" hTrueSelectPionP" , " hTrueSelectPionP" , {HistType::kTH1D , {trackPtAxis}});
314- rMCRegistry.add (" hTrueSelectPionN" , " hTrueSelectPionN" , {HistType::kTH1D , {trackPtAxis}});
315- rMCRegistry.add (" hTrueSelectKaonP" , " hTrueSelectKaonP" , {HistType::kTH1D , {trackPtAxis}});
316- rMCRegistry.add (" hTrueSelectKaonN" , " hTrueSelectKaonN" , {HistType::kTH1D , {trackPtAxis}});
317- rMCRegistry.add (" hTrueSelectProtonP" , " hTrueSelectProtonP" , {HistType::kTH1D , {trackPtAxis}});
318- rMCRegistry.add (" hTrueSelectProtonN" , " hTrueSelectProtonN" , {HistType::kTH1D , {trackPtAxis}});
307+ rMCRegistry.add (" hSelectPionP" , " hSelectPionP" , {HistType::kTH2D , {{ trackPtAxis}, {centralityAxis} }});
308+ rMCRegistry.add (" hSelectPionN" , " hSelectPionN" , {HistType::kTH2D , {{ trackPtAxis}, {centralityAxis} }});
309+ rMCRegistry.add (" hSelectKaonP" , " hSelectKaonP" , {HistType::kTH2D , {{ trackPtAxis}, {centralityAxis} }});
310+ rMCRegistry.add (" hSelectKaonN" , " hSelectKaonN" , {HistType::kTH2D , {{ trackPtAxis}, {centralityAxis} }});
311+ rMCRegistry.add (" hSelectProtonP" , " hSelectProtonP" , {HistType::kTH2D , {{ trackPtAxis}, {centralityAxis} }});
312+ rMCRegistry.add (" hSelectProtonN" , " hSelectProtonN" , {HistType::kTH2D , {{ trackPtAxis}, {centralityAxis} }});
313+ rMCRegistry.add (" hTrueSelectPionP" , " hTrueSelectPionP" , {HistType::kTH2D , {{ trackPtAxis}, {centralityAxis} }});
314+ rMCRegistry.add (" hTrueSelectPionN" , " hTrueSelectPionN" , {HistType::kTH2D , {{ trackPtAxis}, {centralityAxis} }});
315+ rMCRegistry.add (" hTrueSelectKaonP" , " hTrueSelectKaonP" , {HistType::kTH2D , {{ trackPtAxis}, {centralityAxis} }});
316+ rMCRegistry.add (" hTrueSelectKaonN" , " hTrueSelectKaonN" , {HistType::kTH2D , {{ trackPtAxis}, {centralityAxis} }});
317+ rMCRegistry.add (" hTrueSelectProtonP" , " hTrueSelectProtonP" , {HistType::kTH2D , {{ trackPtAxis}, {centralityAxis} }});
318+ rMCRegistry.add (" hTrueSelectProtonN" , " hTrueSelectProtonN" , {HistType::kTH2D , {{ trackPtAxis}, {centralityAxis} }});
319319
320320 // Correlations
321321 rSECorrRegistry.add (" hSameLambdaPion_SGNL" , " Same-event #Lambda - #pi correlator (SGNL region)" , {HistType::kTHnSparseF , {{dPhiAxis}, {dEtaAxis}, {centralityAxis}, {zvtxAxis}, {2 , -2 , 2 }, {2 , -2 , 2 }}});
@@ -800,36 +800,36 @@ struct ThreeParticleCorrelations {
800800 // Purity (PID)
801801 if (track.sign () > 0 ) { // Positive tracks
802802 if (assocPID[0 ] == pionID) { // Pions
803- rMCRegistry.fill (HIST (" hSelectPionP" ), track.pt ());
803+ rMCRegistry.fill (HIST (" hSelectPionP" ), track.pt (), collision. centFT0C () );
804804 if (particle.pdgCode () == kPiPlus ) {
805- rMCRegistry.fill (HIST (" hTrueSelectPionP" ), track.pt ());
805+ rMCRegistry.fill (HIST (" hTrueSelectPionP" ), track.pt (), collision. centFT0C () );
806806 }
807807 } else if (assocPID[0 ] == kaonID) { // Kaons
808- rMCRegistry.fill (HIST (" hSelectKaonP" ), track.pt ());
808+ rMCRegistry.fill (HIST (" hSelectKaonP" ), track.pt (), collision. centFT0C () );
809809 if (particle.pdgCode () == kKPlus ) {
810- rMCRegistry.fill (HIST (" hTrueSelectKaonP" ), track.pt ());
810+ rMCRegistry.fill (HIST (" hTrueSelectKaonP" ), track.pt (), collision. centFT0C () );
811811 }
812812 } else if (assocPID[0 ] == protonID) { // Protons
813- rMCRegistry.fill (HIST (" hSelectProtonP" ), track.pt ());
813+ rMCRegistry.fill (HIST (" hSelectProtonP" ), track.pt (), collision. centFT0C () );
814814 if (particle.pdgCode () == kProton ) {
815- rMCRegistry.fill (HIST (" hTrueSelectProtonP" ), track.pt ());
815+ rMCRegistry.fill (HIST (" hTrueSelectProtonP" ), track.pt (), collision. centFT0C () );
816816 }
817817 }
818818 } else if (track.sign () < 0 ) { // Negative tracks
819819 if (assocPID[0 ] == pionID) { // Pions
820- rMCRegistry.fill (HIST (" hSelectPionN" ), track.pt ());
820+ rMCRegistry.fill (HIST (" hSelectPionN" ), track.pt (), collision. centFT0C () );
821821 if (particle.pdgCode () == kPiMinus ) {
822- rMCRegistry.fill (HIST (" hTrueSelectPionN" ), track.pt ());
822+ rMCRegistry.fill (HIST (" hTrueSelectPionN" ), track.pt (), collision. centFT0C () );
823823 }
824824 } else if (assocPID[0 ] == kaonID) { // Kaons
825- rMCRegistry.fill (HIST (" hSelectKaonN" ), track.pt ());
825+ rMCRegistry.fill (HIST (" hSelectKaonN" ), track.pt (), collision. centFT0C () );
826826 if (particle.pdgCode () == kKMinus ) {
827- rMCRegistry.fill (HIST (" hTrueSelectKaonN" ), track.pt ());
827+ rMCRegistry.fill (HIST (" hTrueSelectKaonN" ), track.pt (), collision. centFT0C () );
828828 }
829829 } else if (assocPID[0 ] == protonID) { // Protons
830- rMCRegistry.fill (HIST (" hSelectProtonN" ), track.pt ());
830+ rMCRegistry.fill (HIST (" hSelectProtonN" ), track.pt (), collision. centFT0C () );
831831 if (particle.pdgCode () == kProtonBar ) {
832- rMCRegistry.fill (HIST (" hTrueSelectProtonN" ), track.pt ());
832+ rMCRegistry.fill (HIST (" hTrueSelectProtonN" ), track.pt (), collision. centFT0C () );
833833 }
834834 }
835835 }
0 commit comments