Skip to content
Snippets Groups Projects
Commit d982a3ad authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: allow DIS DA fits to fail

parent 2754ccd2
No related branches found
No related tags found
1 merge request!183fix: allow DIS DA fits to fail
...@@ -195,11 +195,11 @@ int dis_electrons(const std::string& config_name) ...@@ -195,11 +195,11 @@ int dis_electrons(const std::string& config_name)
//return 1; //return 1;
} }
if (f_Q2_da_res == 0) { if (f_Q2_da_res == 0) {
fmt::print(" - DA: {} +/- {}\n", fmt::print(" - DA: (FIXME: allowed to fail) {} +/- {}\n",
f_Q2_da_res->Parameter(1), f_Q2_da_res->Error(1)); f_Q2_da_res->Parameter(1), f_Q2_da_res->Error(1));
} else { } else {
fmt::print("Q2 DA fit failed\n"); fmt::print("Q2 DA fit failed (FIXME: allowed to fail)\n");
return 1; //return 1;
} }
fmt::print("x resolution:\n"); fmt::print("x resolution:\n");
if (f_x_el_res == 0) { if (f_x_el_res == 0) {
...@@ -234,8 +234,8 @@ int dis_electrons(const std::string& config_name) ...@@ -234,8 +234,8 @@ int dis_electrons(const std::string& config_name)
fmt::print(" - DA: {} +/- {}\n", fmt::print(" - DA: {} +/- {}\n",
f_x_da_res->Parameter(1), f_x_da_res->Error(1)); f_x_da_res->Parameter(1), f_x_da_res->Error(1));
} else { } else {
fmt::print("x DA fit failed\n"); fmt::print("x DA fit failed (FIXME: allowed to fail)\n");
return 1; //return 1;
} }
// Plot our histograms. // Plot our histograms.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment