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

WIP: factorize hist def and test def 02

parent dfd1143f
Branches
No related tags found
1 merge request!42Add y, Q2, x, t resolution tests
...@@ -178,7 +178,7 @@ int vm_invar(const std::string& config_name) ...@@ -178,7 +178,7 @@ int vm_invar(const std::string& config_name)
} }
histTitles[i][j] = histTitles[i][j] + ";#"; histTitles[i][j] = histTitles[i][j] + ";#";
//construct RawhistName //construct RawhistName
RawhistName[i] = VarName[i] + "_" + VarCate[j]; RawhistName[i][j] = VarName[i] + "_" + VarCate[j];
//get histograms //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 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); TH1D* hptr_tmp = &(*h_tmp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment