diff --git a/src/classes/PFitter.cpp b/src/classes/PFitter.cpp index db7a6af2..5bca9a6f 100644 --- a/src/classes/PFitter.cpp +++ b/src/classes/PFitter.cpp @@ -943,12 +943,25 @@ Bool_t PFitter::ExecuteSave() fout << endl; fout << endl << "*************************************************************************"; + // identifiy the longest variable name for proper formating reasons + Int_t maxLength = 10; + for (UInt_t i=0; i maxLength) + maxLength = fParams[i].fName.Length() + 1; + } + // write parameters fParams = *(fRunInfo->GetMsrParamList()); // get the update parameters back fout << endl << " PARAMETERS"; fout << endl << "-------------------------------------------------------------------------"; - fout << endl << " Parabolic Minos"; - fout << endl << " No Name Value Error Negative Positive Limits"; + fout << endl << " "; + for (Int_t j=0; j<=maxLength-4; j++) + fout << " "; + fout << "Parabolic Minos"; + fout << endl << " No Name"; + for (Int_t j=0; j<=maxLength-4; j++) + fout << " "; + fout << "Value Error Negative Positive Limits"; for (UInt_t i=0; i