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

WIP: debug - fit and plot 02

parent b43ec68b
Branches
No related tags found
1 merge request!42Add y, Q2, x, t resolution tests
...@@ -221,8 +221,9 @@ int vm_invar(const std::string& config_name) ...@@ -221,8 +221,9 @@ int vm_invar(const std::string& config_name)
tptr[i][j] = t[i][j]->AddText(fmt::format("#Delta{}", VarName[i]).c_str()); tptr[i][j] = t[i][j]->AddText(fmt::format("#Delta{}", VarName[i]).c_str());
} }
tptr[i][j]->SetTextColor(1); tptr[i][j]->SetTextColor(1);
break;
case 3://dx/x case 3://dx/x
/*h_Var1D[i][3]->Draw("hist"); h_Var1D[i][3]->Draw("hist");
myFitPtr[i][1] = h_Var1D[i][3]->Fit(myf[i][1], "S 0", "", range_l[i][j], range_h[i][j]); myFitPtr[i][1] = h_Var1D[i][3]->Fit(myf[i][1], "S 0", "", range_l[i][j], range_h[i][j]);
myf[i][1]->Draw("same"); myf[i][1]->Draw("same");
if(i==1){ if(i==1){
...@@ -230,7 +231,7 @@ int vm_invar(const std::string& config_name) ...@@ -230,7 +231,7 @@ int vm_invar(const std::string& config_name)
}else{ }else{
tptr[i][j] = t[i][j]->AddText(fmt::format("#Delta{}/{}", VarName[i], VarName[i]).c_str()); tptr[i][j] = t[i][j]->AddText(fmt::format("#Delta{}/{}", VarName[i], VarName[i]).c_str());
} }
tptr[i][j]->SetTextColor(1);*/ tptr[i][j]->SetTextColor(1);
break; break;
default: default:
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment