@@ -343,7 +343,11 @@ struct HeavyionMultiplicity {
343343 histos.add (" hMultEta05vsCentrRec" , " multiplicity in eta<0.5 of selected MC events vs centrality" , kTH2F , {axisCent, multAxis});
344344 histos.add (" hgendndetaVsMultEta05BeforeEvtSel" , " hgendndetaBeforeEvtSel vs multiplicity in eta<0.5" , kTH2F , {axisEta, multAxis});
345345 histos.add (" hgendndetaVsMultEta05AfterEvtSel" , " hgendndetaAfterEvtSel vs multiplicity in eta<0.5" , kTH2F , {axisEta, multAxis});
346-
346+ histos.add (" hImpactParameterSplit" , " Impact parameter of selected and split MC events" , kTH1F ,{impactParAxis});
347+ histos.add (" hMultEta05Split" , " multiplicity in eta<0.5 of selected and split MC events" , kTH1F ,{multAxis});
348+ histos.add (" hMultSplit" , " multiplicity of selected and split MC events" , kTH1F ,{axisFt0cMult});
349+ histos.add (" hMultvsCentrSplit" , " multiplicity of selected and split MC events vs centrality " , kTH2F ,{axisCent, axisFt0cMult});
350+
347351 histos.add (" hMultGen" , " multiplicity of generated MC events" , kTH1F , {axisFt0cMult});
348352 histos.add (" hMultRec" , " multiplicity of selected MC events" , kTH1F , {axisFt0cMult});
349353 histos.add (" hMultvsCentrRec" , " multiplicity of selected MC events vs centrality" , kTH2F , {axisCent, axisFt0cMult});
@@ -463,7 +467,9 @@ struct HeavyionMultiplicity {
463467 if (isApplyCentFT0C) {
464468 cent = col.multMCFT0C ();
465469 }
466- if (isApplyCentFV0A) {
470+ else if (isApplyCentFT0M) {
471+ cent = (col.multMCFT0C () + col.multMCFT0A ())/2 .;
472+ } else if (isApplyCentFV0A) {
467473 cent = col.multMCFV0A ();
468474 }
469475 return cent;
@@ -990,6 +996,12 @@ struct HeavyionMultiplicity {
990996 if (std::abs (RecCol.posZ ()) >= vtxRange) {
991997 continue ;
992998 }
999+
1000+ histos.fill (HIST (" hImpactParameterSplit" ), mcCollision.impactParameter ());
1001+ histos.fill (HIST (" hMultEta05Split" ), mcCollision.multMCNParticlesEta05 ());
1002+ histos.fill (HIST (" hMultSplit" ), selColMultMC (mcCollision));
1003+ histos.fill (HIST (" hMultvsCentrSplit" ), selColCent (RecCol), selColMultMC (mcCollision));
1004+
9931005 if (RecCol.numContrib () <= numcontributors) {
9941006 continue ;
9951007 } else {
0 commit comments