Skip to content
Merged
Prev Previous commit
Next Next commit
remove overloaded TFitResult* setter
  • Loading branch information
paulgessinger committed Aug 31, 2016
commit 59248b4a57c3c89bec279b6a16a6a3604d1f6b4b
1 change: 0 additions & 1 deletion graf2d/gpad/inc/TRatioPlot.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ class TRatioPlot : public TObject {

// Setters
void SetFitResult(TFitResultPtr fitres);
void SetFitResult(TFitResult *fitres);

// Setters for margins
void SetUpTopMargin(Float_t margin);
Expand Down
12 changes: 0 additions & 12 deletions graf2d/gpad/src/TRatioPlot.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1739,18 +1739,6 @@ void TRatioPlot::SetFitResult(TFitResultPtr fitres)
fFitResult = fitres.Get();
}

////////////////////////////////////////////////////////////////////////////////
/// Explicitly specify the fit result that is to be used for fit residual calculation.
/// If it is not provided, the last fit registered in the global fitter is used.
/// The fit result can also be specified in the constructor.
///
/// \param fitres The fit result coming from the fit function call

void TRatioPlot::SetFitResult(TFitResult* fitres)
{
fFitResult = fitres;
}

////////////////////////////////////////////////////////////////////////////////
/// Internal method to import TAxis attributes to a TGaxis. Copied from
/// `TGaxis::ImportAxisAttributes`
Expand Down