From 8f081baf0aae6669f08c981d0f84db2117ffb626 Mon Sep 17 00:00:00 2001 From: Ziyue Zhang <Ziyue_Zhang@localhost.localdomain> Date: Wed, 31 Mar 2021 02:02:57 -0500 Subject: [PATCH] WIP: debug - hist def 01.5 --- benchmarks/dvmp/analysis/vm_invar.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/benchmarks/dvmp/analysis/vm_invar.cxx b/benchmarks/dvmp/analysis/vm_invar.cxx index 599981f3..4325b948 100644 --- a/benchmarks/dvmp/analysis/vm_invar.cxx +++ b/benchmarks/dvmp/analysis/vm_invar.cxx @@ -145,6 +145,7 @@ int vm_invar(const std::string& config_name) 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()); + auto& htmp = *h_tmp; //TH1D* hptr_tmp = &(*h_tmp); //h_Var1D[i][j] = (TH1D*)hptr_tmp->Clone(histName[i][j].c_str()); //delete hptr_tmp; -- GitLab