IAP GITLAB

Skip to content
Snippets Groups Projects
Commit dbbeb6f2 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by Ralf Ulrich
Browse files

write fitparams to file

parent 37d39a8c
No related branches found
No related tags found
No related merge requests found
...@@ -167,6 +167,7 @@ void CONEXSourceCut::SolveCE() { ...@@ -167,6 +167,7 @@ void CONEXSourceCut::SolveCE() {
" {:>8.2f} {:>13.3} {:>13.3} {:>13.3} {:>13.3} {:>13.3} {:>13.3} {:>13.3}\n", " {:>8.2f} {:>13.3} {:>13.3} {:>13.3} {:>13.3} {:>13.3} {:>13.3} {:>13.3}\n",
X[i], N[i], dEdX[i], Mu[i], dMu[i], Gamma[i], Electrons[i], Hadrons[i]); X[i], N[i], dEdX[i], Mu[i], dMu[i], Gamma[i], Electrons[i], Hadrons[i]);
} }
file.close();
std::ofstream fitout{"conex_fit.txt"}; std::ofstream fitout{"conex_fit.txt"};
fitout << fitpars[1 - 1] << " # log10(eprima/eV)" << std::endl; fitout << fitpars[1 - 1] << " # log10(eprima/eV)" << std::endl;
...@@ -182,6 +183,7 @@ void CONEXSourceCut::SolveCE() { ...@@ -182,6 +183,7 @@ void CONEXSourceCut::SolveCE() {
fitout << fitpars[11 - 1] << " # phi" << std::endl; fitout << fitpars[11 - 1] << " # phi" << std::endl;
fitout << fitpars[12 - 1] << " # inelasticity 1st int." << std::endl; fitout << fitpars[12 - 1] << " # inelasticity 1st int." << std::endl;
fitout << fitpars[13 - 1] << " # ???" << std::endl; fitout << fitpars[13 - 1] << " # ???" << std::endl;
fitout.close();
} }
CONEXSourceCut::CONEXSourceCut(geometry::Point center, CONEXSourceCut::CONEXSourceCut(geometry::Point center,
......
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