@@ -710,6 +710,12 @@ struct MeanPtFlucId {
710710 hist.get <TH1 >(HIST (" Model/h_EventCount" ))->GetXaxis ()->SetBinLabel (2 , " Accepted" );
711711 hist.add (" Model/h_VtxZ" , " Generated vertex Z" , kTH1D , {axisVtxZ});
712712 hist.add (" Model/h_Nch" , " Accepted events (including zero selected particles)" , kTH1D , {axisModelMult});
713+ hist.add (" Model/h2_Nch_Cent" , " Generated charged multiplicity vs centrality (including zero selected particles)" , kTH2D , {axisModelCent, axisModelMult});
714+ // The profile retains exact integer multiplicities, independent of the
715+ // possibly coarse multiplicity bins in h2_Nch_Cent. Use the same event
716+ // weights and calibrated event ensemble as the particle matrices.
717+ const std::string modelNchProfileTitle = " Mean generated charged physical-primary multiplicity, all pT, |eta| < " + std::to_string (trackCuts.cfgCutEta .value );
718+ hist.add (" Model/p_Nch_Cent" , modelNchProfileTitle.c_str (), kTProfile , {axisModelCent});
713719 auto addModelSpecies = [&](const std::string& directory, const AxisSpec& axisPtId) {
714720 hist.add (directory + " h_Pt" , " Generated physical primaries" , kTH1D , {axisPtId});
715721 hist.add (directory + " h_Eta" , " Generated physical primaries" , kTH1D , {axisEta});
@@ -1736,6 +1742,8 @@ struct MeanPtFlucId {
17361742 hist.fill (HIST (" Model/h_Centrality" ), centrality, eventWeight);
17371743 const int multiplicity = countSimMultiplicity (mcParts);
17381744 hist.fill (HIST (" Model/h_Nch" ), multiplicity, eventWeight);
1745+ hist.fill (HIST (" Model/h2_Nch_Cent" ), centrality, multiplicity, eventWeight);
1746+ hist.fill (HIST (" Model/p_Nch_Cent" ), centrality, multiplicity, eventWeight);
17391747
17401748 std::array<std::vector<TrackInfo>, 4 > modelTracks;
17411749 for (auto const & particle : mcParts) {
0 commit comments