Skip to content
Snippets Groups Projects
Commit f078078c authored by Ziyue Zhang's avatar Ziyue Zhang
Browse files

WIP: factorize hist def and test def 03

parent 178d964e
No related branches found
No related tags found
1 merge request!42Add y, Q2, x, t resolution tests
......@@ -182,7 +182,7 @@ int vm_invar(const std::string& config_name)
//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);
h_Var1D[i][j] = (TH1D*)hptr_tmp->Clone(histName[i][j]);
h_Var1D[i][j] = (TH1D*)hptr_tmp->Clone(histName[i][j].c_str());
delete hptr_tmp;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment