FACT++  1.0
void MPointing::PrintMinuitParameters ( TMinuit &  m,
Int_t  n = -1 
) const

Definition at line 825 of file MPointing.cc.

References Tools::Form().

Referenced by TPointGui::Fit().

826 {
827  if (n<0)
828  n = m.GetNumPars();
829 
830  cout << setprecision(3);
831 
832  Double_t par, er;
833 
834  while (n--)
835  {
836  m.GetParameter(n, par, er);
837  cout << Form(" %2d %6s: ", n, (const char*)fNames[n]);
838  cout << setw(8) << par << " \xb1 " << setw(6) << er << endl;
839  }
840 }
TString * fNames
Definition: MPointing.h:184
std::string Form(const char *fmt,...)
Definition: tools.cc:45

+ Here is the call graph for this function:

+ Here is the caller graph for this function: