From a2556e40ef428714fe47c4d69b3566d1e16969f6 Mon Sep 17 00:00:00 2001 From: Ziyue Zhang <Ziyue_Zhang@localhost.localdomain> Date: Wed, 31 Mar 2021 01:56:02 -0500 Subject: [PATCH] WIP: debug - hist def 01.3 --- benchmarks/dvmp/analysis/vm_invar.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/dvmp/analysis/vm_invar.cxx b/benchmarks/dvmp/analysis/vm_invar.cxx index 1bce55cc..4bc01670 100644 --- a/benchmarks/dvmp/analysis/vm_invar.cxx +++ b/benchmarks/dvmp/analysis/vm_invar.cxx @@ -144,10 +144,10 @@ int vm_invar(const std::string& config_name) //construct RawhistName RawhistName[i][j] = VarName[i] + "_" + VarCate[j]; //get histograms - auto h_tmp = d_im.Histo1D({fmt::format("{}_tmp", histName[i][j]).c_str(), histTitles[i][j].c_str(), 50, range_l[i][j], range_h[i][j]}, RawhistName[i][j].c_str()); - TH1D* hptr_tmp = &(*h_tmp); + //auto h_tmp = d_im.Histo1D({fmt::format("{}_tmp", histName[i][j]).c_str(), histTitles[i][j].c_str(), 50, range_l[i][j], range_h[i][j]}, RawhistName[i][j].c_str()); + //TH1D* hptr_tmp = &(*h_tmp); //h_Var1D[i][j] = (TH1D*)hptr_tmp->Clone(histName[i][j].c_str()); - delete hptr_tmp; + //delete hptr_tmp; /*TCanvas* ctest = new TCanvas("ctest", "ctest", 800,600); h_Var1D[i][j]->Draw("hist"); -- GitLab