@@ -343,11 +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- 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-
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+
351351 histos.add (" hMultGen" , " multiplicity of generated MC events" , kTH1F , {axisFt0cMult});
352352 histos.add (" hMultRec" , " multiplicity of selected MC events" , kTH1F , {axisFt0cMult});
353353 histos.add (" hMultvsCentrRec" , " multiplicity of selected MC events vs centrality" , kTH2F , {axisCent, axisFt0cMult});
@@ -466,9 +466,8 @@ struct HeavyionMultiplicity {
466466 auto cent = -1 ;
467467 if (isApplyCentFT0C) {
468468 cent = col.multMCFT0C ();
469- }
470- else if (isApplyCentFT0M) {
471- cent = (col.multMCFT0C () + col.multMCFT0A ())/2 .;
469+ } else if (isApplyCentFT0M) {
470+ cent = (col.multMCFT0C () + col.multMCFT0A ()) / 2 .;
472471 } else if (isApplyCentFV0A) {
473472 cent = col.multMCFV0A ();
474473 }
@@ -996,7 +995,7 @@ struct HeavyionMultiplicity {
996995 if (std::abs (RecCol.posZ ()) >= vtxRange) {
997996 continue ;
998997 }
999-
998+
1000999 histos.fill (HIST (" hImpactParameterSplit" ), mcCollision.impactParameter ());
10011000 histos.fill (HIST (" hMultEta05Split" ), mcCollision.multMCNParticlesEta05 ());
10021001 histos.fill (HIST (" hMultSplit" ), selColMultMC (mcCollision));
0 commit comments