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

WIP: Factorize: test 02

parent 69b41a3f
No related branches found
No related tags found
1 merge request!42Add y, Q2, x, t resolution tests
...@@ -132,22 +132,23 @@ int vm_invar(const std::string& config_name) ...@@ -132,22 +132,23 @@ int vm_invar(const std::string& config_name)
//Factorized //Factorized
TString VarName[4] = {"y", "Q2", "x", "t"}; TString VarName[4] = {"y", "Q2", "x", "t"};
TH1D h_sim[4]; auto h_sim[4];
TH1D h_rec[4]; auto h_rec[4];
TH1D h_diff[4]; auto h_diff[4];
double fun_range[4] = {1.5, 0.3, 1., 2.}; double fun_range[4] = {1.5, 0.3, 1., 2.};
double hist_range_l[4] = {0., 0., 0., -1.}; double hist_range_l[4] = {0., 0., 0., -1.};
double hist_range_h[4] = {1., 15., 0.1, 0.}; double hist_range_h[4] = {1., 15., 0.1, 0.};
h_sim[0] = (TH1D*)d_im.Histo1D({"h_" + VarName[0] + "_sim", ";Q^{2};#", 50, hist_range_l[0], hist_range_h[0]}, VarName[0] + "_sim");
for(int i = 0 ; i < 4 ; i++){ /*for(int i = 0 ; i < 4 ; i++){
if(i==1){ if(i==1){
h_sim[i] = d_im.Histo1D({"h_" + VarName[i] + "_sim", ";Q^{2};#", 50, hist_range_l[i], hist_range_h[i]}, VarName[i] + "_sim"); h_sim[i] = (TH1D*)d_im.Histo1D({"h_" + VarName[i] + "_sim", ";Q^{2};#", 50, hist_range_l[i], hist_range_h[i]}, VarName[i] + "_sim");
}else{ }else{
h_sim[i] = d_im.Histo1D({"h_" + VarName[i] + "_sim", ";" + VarName[i] + ";#", 50, hist_range_l[i], hist_range_h[i]}, VarName[i] + "_sim"); h_sim[i] = (TH1D*)d_im.Histo1D({"h_" + VarName[i] + "_sim", ";" + VarName[i] + ";#", 50, hist_range_l[i], hist_range_h[i]}, VarName[i] + "_sim");
}
} }
}*/
//================================================================== //==================================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment