Skip to content

Commit 4dc666a

Browse files
murionialibuild
andauthored
[PWGLF] heavyionmultiplicity - FT0M multiplicity, split events (#15472)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent ccf08e8 commit 4dc666a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@ 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});
346350

347351
histos.add("hMultGen", "multiplicity of generated MC events", kTH1F, {axisFt0cMult});
348352
histos.add("hMultRec", "multiplicity of selected MC events", kTH1F, {axisFt0cMult});
@@ -462,8 +466,9 @@ struct HeavyionMultiplicity {
462466
auto cent = -1;
463467
if (isApplyCentFT0C) {
464468
cent = col.multMCFT0C();
465-
}
466-
if (isApplyCentFV0A) {
469+
} else if (isApplyCentFT0M) {
470+
cent = (col.multMCFT0C() + col.multMCFT0A()) / 2.;
471+
} else if (isApplyCentFV0A) {
467472
cent = col.multMCFV0A();
468473
}
469474
return cent;
@@ -990,6 +995,12 @@ struct HeavyionMultiplicity {
990995
if (std::abs(RecCol.posZ()) >= vtxRange) {
991996
continue;
992997
}
998+
999+
histos.fill(HIST("hImpactParameterSplit"), mcCollision.impactParameter());
1000+
histos.fill(HIST("hMultEta05Split"), mcCollision.multMCNParticlesEta05());
1001+
histos.fill(HIST("hMultSplit"), selColMultMC(mcCollision));
1002+
histos.fill(HIST("hMultvsCentrSplit"), selColCent(RecCol), selColMultMC(mcCollision));
1003+
9931004
if (RecCol.numContrib() <= numcontributors) {
9941005
continue;
9951006
} else {

0 commit comments

Comments
 (0)