From a2cb887e3d21e4053fa855876ddc363b375ad6d0 Mon Sep 17 00:00:00 2001 From: Navneet Date: Fri, 4 Oct 2024 17:12:02 +0530 Subject: [PATCH] To add the histogram --- PWGLF/Tasks/QC/mcParticlePrediction.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGLF/Tasks/QC/mcParticlePrediction.cxx b/PWGLF/Tasks/QC/mcParticlePrediction.cxx index 47802bd5f2b..1b7ef5abce6 100644 --- a/PWGLF/Tasks/QC/mcParticlePrediction.cxx +++ b/PWGLF/Tasks/QC/mcParticlePrediction.cxx @@ -263,7 +263,7 @@ struct mcParticlePrediction { hestimators[i]->GetXaxis()->SetTitle(Form("Multiplicity %s", name)); auto make2DH = [&](const std::string& h, const char* ytitle) { - auto hist = histos.add(Form("%s/%s", h.c_str(), name), + auto hist = histos.add(Form("%s%s", h.c_str(), name), name, kTH2D, {axisMultiplicity, axisMultiplicity});