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

WIP: add 2d histograms def 1

parent 4580378e
Branches
No related tags found
1 merge request!42Add y, Q2, x, t resolution tests
......@@ -153,7 +153,7 @@ int vm_invar(const std::string& config_name)
}else{
histTitles[i][4] = fmt::format(";{}_{sim};{}_{rec};#", VarName[i], VarName[i]);
}
auto h_tmp = d_im.Histo2D({fmt::format("{}_tmp", histName[i][4]).c_str(), histTitles[i][4].c_str(), 50, range_l[i][j], range_h[i][j], 50, range_l[i][j], range_h[i][j]}, RawhistName[i][0].c_str(), RawhistName[i][1].c_str());
auto h_tmp = d_im.Histo2D({fmt::format("{}_tmp", histName[i][4]).c_str(), histTitles[i][4].c_str(), 50, range_l[i][0], range_h[i][0], 50, range_l[i][0], range_h[i][0]}, RawhistName[i][0].c_str(), RawhistName[i][1].c_str());
auto& htmp = *h_tmp;
h_Var2D[i] = (TH2D*)htmp.Clone(histName[i][4].c_str());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment