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

WIP: debug - hist def 01.9

parent 55440f49
Branches
No related tags found
1 merge request!42Add y, Q2, x, t resolution tests
......@@ -151,11 +151,11 @@ int vm_invar(const std::string& config_name)
h_Var1D[i][j] = (TH1D*)htmp.Clone(histName[i][j].c_str());
//delete hptr_tmp;
//TCanvas* ctest = new TCanvas("ctest", "ctest", 800,600);
//h_Var1D[i][j]->Draw("hist");
//htmp.Draw("hist");
//ctest->Print(fmt::format("{}{}{}test.png", output_prefix, i, j).c_str());
//delete ctest;
TCanvas* ctest = new TCanvas("ctest", "ctest", 800,600);
h_Var1D[i][j]->Draw("hist");
htmp.Draw("hist");
ctest->Print(fmt::format("{}{}{}test.png", output_prefix, i, j).c_str());
delete ctest;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment