From 178d964e3fd39a8794bf6000494d926a707c2087 Mon Sep 17 00:00:00 2001
From: Ziyue Zhang <Ziyue_Zhang@localhost.localdomain>
Date: Wed, 31 Mar 2021 01:09:38 -0500
Subject: [PATCH] WIP: factorize hist def and test def 02

---
 benchmarks/dvmp/analysis/vm_invar.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/benchmarks/dvmp/analysis/vm_invar.cxx b/benchmarks/dvmp/analysis/vm_invar.cxx
index 7ce7dbfe..8628aa4f 100644
--- a/benchmarks/dvmp/analysis/vm_invar.cxx
+++ b/benchmarks/dvmp/analysis/vm_invar.cxx
@@ -178,7 +178,7 @@ int vm_invar(const std::string& config_name)
       }
       histTitles[i][j] = histTitles[i][j] + ";#";
       //construct RawhistName
-      RawhistName[i] = VarName[i] + "_" + VarCate[j];
+      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);
-- 
GitLab