16 #include "Riostream.h"
31 Table->setColumnCount(0);
32 Table->setRowCount(0);
33 Table->setEnabled(
false);
37 if (fitter==0)
return;
38 Table->setColumnCount(1);
39 Table->setHorizontalHeaderItem(0,
new QTableWidgetItem(
"Value"));
40 Table->setColumnWidth(0,150);
42 Table->setVerticalHeaderItem(0,
new QTableWidgetItem(
"Fit function"));
43 Table->setItem(0,0,
new QTableWidgetItem(QString::number(fitter->
GetResultFF())));
44 Table->setVerticalHeaderItem(1,
new QTableWidgetItem(
"NDF"));
45 Table->setItem(1,0,
new QTableWidgetItem(QString::number(fitter->
GetResultNDF())));
48 Table->setVerticalHeaderItem(n+2,
new QTableWidgetItem(QString(
"Result") + QString::number(n)));
49 Table->setItem(n+2, 0,
new QTableWidgetItem(QString::number(fitter->
GetResultValue(n))));
Int_t GetResultNDF() const
Int_t GetNumResults() const
Double_t GetResultFF() const
Double_t GetResultValue(Int_t n) const