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

WIP: re-test factorizing out histogram definition with c_str() 6.6

parent 560e57f0
Branches
No related tags found
1 merge request!42Add y, Q2, x, t resolution tests
......@@ -150,7 +150,7 @@ int vm_invar(const std::string& config_name)
TH1D* h_sim[4];
for(int i = 0 ; i < 4 ; i++){
auto h_tmp = d_im.Histo1D({histName[i].c_str(), histTitle[i].c_str(), 50, hist_range_l[i], hist_range_h[i]}, RawHist[i].c_str()); //directly quote the string
auto h_tmp = d_im.Histo1D({(VarName[i]+"test").c_str(), histTitle[i].c_str(), 50, hist_range_l[i], hist_range_h[i]}, RawHist[i].c_str()); //directly quote the string
h_sim[i] = &(*h_tmp);
h_sim[i] = (TH1D*)h_sim[i]->Clone();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment