@@ -419,7 +419,7 @@ struct LFNucleiBATask {
419419 }
420420
421421 if (enableCentrality)
422- histos.add <TH2>(" event/h1VtxZ" , " V_{z};V_{z} (in cm); counts" , HistType::kTH1F , {{1500 , -15 , 15 }, {binsPercentile, " Centrality FT0M" }});
422+ histos.add <TH2>(" event/h1VtxZ" , " V_{z};V_{z} (in cm); counts" , HistType::kTH2F , {{1500 , -15 , 15 }, {binsPercentile, " Centrality FT0M" }});
423423 else
424424 histos.add <TH1>(" event/h1VtxZ" , " V_{z};V_{z} (in cm); counts" , HistType::kTH1F , {{1500 , -15 , 15 }});
425425
@@ -2162,14 +2162,14 @@ struct LFNucleiBATask {
21622162 spectraGen.add (" helium/histGenPtHe" , " generated particles" , HistType::kTH1F , {ptHeAxis});
21632163 spectraGen.add (" helium/histGenPtHePrim" , " generated particles" , HistType::kTH1F , {ptHeAxis});
21642164 if (enableCentrality)
2165- spectraGen.add (" helium/histGenPtHePrim " , " generated particles" , HistType::kTH2F , {{ptHeAxis}, {binsPercentile}});
2165+ spectraGen.add (" helium/histGenPtHePrimVsMult " , " generated particles" , HistType::kTH2F , {{ptHeAxis}, {binsPercentile}});
21662166 spectraGen.add (" helium/histGenPtHeSec" , " generated particles" , HistType::kTH1F , {ptHeAxis});
21672167 spectraGen.add (" helium/histSecTransportPtHe" , " generated particles" , HistType::kTH1F , {ptHeAxis});
21682168
21692169 spectraGen.add (" helium/histGenPtantiHe" , " generated particles" , HistType::kTH1F , {ptHeAxis});
21702170 spectraGen.add (" helium/histGenPtantiHePrim" , " generated particles" , HistType::kTH1F , {ptHeAxis});
21712171 if (enableCentrality)
2172- spectraGen.add (" helium/histGenPtantiHePrim " , " generated particles" , HistType::kTH2F , {{ptHeAxis}, {binsPercentile}});
2172+ spectraGen.add (" helium/histGenPtantiHePrimVsMult " , " generated particles" , HistType::kTH2F , {{ptHeAxis}, {binsPercentile}});
21732173 spectraGen.add (" helium/histGenPtantiHeSec" , " generated particles" , HistType::kTH1F , {ptHeAxis});
21742174 spectraGen.add (" helium/histSecTransportPtantiHe" , " generated particles" , HistType::kTH1F , {ptHeAxis});
21752175 }
@@ -5752,7 +5752,7 @@ struct LFNucleiBATask {
57525752 if (isWeakDecay) {
57535753 histos.fill (HIST (" tracks/helium/h1HeliumSpectraTrueSec_Z2" ), 2 * hePt);
57545754 if (enableCentrality)
5755- histos.fill (HIST (" tracks/helium/h1HeliumSpectraTrueSecVsMult_Z2 " ), 2 * hePt);
5755+ histos.fill (HIST (" tracks/helium/h2HeliumSpectraTrueSecVsMult_Z2 " ), 2 * hePt, event. centFT0M () );
57565756 if (outFlagOptions.makeDCAAfterCutPlots ) {
57575757 histos.fill (HIST (" tracks/helium/dca/after/hDCAxyVsPtHeliumTrueSec" ), hePt, track.dcaXY ());
57585758 histos.fill (HIST (" tracks/helium/dca/after/hDCAzVsPtHeliumTrueSec" ), hePt, track.dcaZ ());
@@ -6304,10 +6304,9 @@ struct LFNucleiBATask {
63046304 if (pdgCode == PDGHelium) {
63056305 spectraGen.fill (HIST (" helium/histGenPtHe" ), ptMC);
63066306 if (isPhysPrim) {
6307+ spectraGen.fill (HIST (" helium/histGenPtHePrim" ), ptMC);
63076308 if (enableCentrality)
6308- spectraGen.fill (HIST (" helium/histGenPtHePrim" ), ptMC, mcCollision.centFT0M ());
6309- else
6310- spectraGen.fill (HIST (" helium/histGenPtHePrim" ), ptMC);
6309+ spectraGen.fill (HIST (" helium/histGenPtHePrimVsMult" ), ptMC, mcCollision.centFT0M ());
63116310 }
63126311 if (!isPhysPrim && isProdByGen) {
63136312 {
@@ -6324,10 +6323,9 @@ struct LFNucleiBATask {
63246323 if (pdgCode == -PDGHelium) {
63256324 spectraGen.fill (HIST (" helium/histGenPtantiHe" ), ptMC);
63266325 if (isPhysPrim) {
6326+ spectraGen.fill (HIST (" helium/histGenPtantiHePrim" ), ptMC);
63276327 if (enableCentrality)
6328- spectraGen.fill (HIST (" helium/histGenPtantiHePrim" ), ptMC, mcCollision.centFT0M ());
6329- else
6330- spectraGen.fill (HIST (" helium/histGenPtantiHePrim" ), ptMC);
6328+ spectraGen.fill (HIST (" helium/histGenPtantiHePrimVsMult" ), ptMC, mcCollision.centFT0M ());
63316329 }
63326330 if (!isPhysPrim && isProdByGen) {
63336331 {
0 commit comments