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

WIP: debug - hist def 01.4

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