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

WIP: debug - hist def 01.3

parent 3d4b07de
Branches
No related tags found
1 merge request!42Add y, Q2, x, t resolution tests
......@@ -144,10 +144,10 @@ int vm_invar(const std::string& config_name)
//construct RawhistName
RawhistName[i][j] = VarName[i] + "_" + VarCate[j];
//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);
//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].c_str());
delete hptr_tmp;
//delete hptr_tmp;
/*TCanvas* ctest = new TCanvas("ctest", "ctest", 800,600);
h_Var1D[i][j]->Draw("hist");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment