Skip to content

Commit

Permalink
Final aesthetic touches for 21.09
Browse files Browse the repository at this point in the history
  • Loading branch information
KajetanNiewczas committed Sep 22, 2021
1 parent 8ec7181 commit b732fd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/chooser.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,18 +198,18 @@ inline bool chooser::accept(int i, double x, double bias)
inline void chooser::short_report(ostream &f, bool format=false)
{
string tab (8,' ');
string line(39,'-');
string line(42,'-');
/// write calculated total cross sections for each channel to file
if(format)
f << tab << " ";
f << "dyn events ratio sigma[cm2]" << endl;
f << "dyn events ratio sigma[cm2]" << endl;
for (int k = 0; k < N; k++)
{
if(format)
f << tab << line << endl << tab << " ";
f << setw(3) << dyn(k) << " "
<< setw(9) << desired(k) << " "
<< setw(9) << ratio(k) << " "
<< setw(10) << desired(k) << " "
<< setw(12) << ratio(k) << " "
<< setw(12) << avg(k) << endl;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/nuwro.cc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void NuWro::init (int argc, char **argv)
if(p.beam_test_only==0 && p.kaskada_redo==0)
if(p.dyn_dis_nc or p.dyn_res_nc or p.dyn_dis_cc or p.dyn_res_cc )
{
cout << " -> Calculating the one pion functions..." << endl;
cout << " -> Calculating the single-pion functions..." << endl;
singlepion (p);
}
if(p.kaskada_redo==0)
Expand Down

0 comments on commit b732fd7

Please sign in to comment.