Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix whitespaces
  • Loading branch information
paulgessinger committed Sep 2, 2016
commit 1e614e9b856886239c2c30d90f4372107fa1858c
10 changes: 5 additions & 5 deletions graf2d/gpad/inc/TRatioPlot.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class TRatioPlot : public TObject {
void SetH2DrawOpt(Option_t *opt);
void SetGraphDrawOpt(Option_t *opt);
void SetFitDrawOpt(Option_t *opt);

void SetInsetWidth(Double_t width);

virtual void Draw(Option_t *chopt="");
Expand Down Expand Up @@ -203,14 +203,14 @@ class TRatioPlot : public TObject {
/// ~~~

TAxis *GetLowerRefXaxis() const { return GetLowerRefGraph()->GetXaxis(); }

////////////////////////////////////////////////////////////////////////////////
/// Shortcut for:
///
/// ~~~{.cpp}
/// rp->GetLowerRefGraph()->GetYaxis();
/// ~~~

TAxis *GetLowerRefYaxis() const { return GetLowerRefGraph()->GetYaxis(); }

virtual TObject *GetUpperRefObject() const;
Expand Down Expand Up @@ -244,8 +244,8 @@ class TRatioPlot : public TObject {
void SetSplitFraction(Float_t sf);
void SetConfidenceLevels(Double_t cl1, Double_t cl2);

virtual void SetGridlines(Double_t *gridlines, Int_t numGridlines);
virtual void SetGridlines(std::vector<double> gridlines);
virtual void SetGridlines(Double_t *gridlines, Int_t numGridlines);
virtual void SetGridlines(std::vector<double> gridlines);

void SetConfidenceIntervalColors(Color_t ci1 = kGreen, Color_t ci2 = kYellow);

Expand Down
10 changes: 5 additions & 5 deletions graf2d/gpad/src/TRatioPlot.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Begin_Macro(source)
End_Macro

## Error options for difference divided by uncertainty and fit residual
The uncertainty that is used in the calculation can be steered by providing
The uncertainty that is used in the calculation can be steered by providing
options to the `option` argument.

| Option | Description |
Expand Down Expand Up @@ -1642,13 +1642,13 @@ Bool_t TRatioPlot::IsDrawn()
////////////////////////////////////////////////////////////////////////////////
/// Set the fraction of the parent pad, at which the to sub pads should meet

void TRatioPlot::SetSplitFraction(Float_t sf)
void TRatioPlot::SetSplitFraction(Float_t sf)
{
if (fParentPad == 0) {
Warning("SetSplitFraction", "Can only be used after TRatioPlot has been drawn.");
return;
}

fSplitFraction = sf;
double pm = fInsetWidth;
double width = fParentPad->GetWNDC();
Expand All @@ -1669,10 +1669,10 @@ void TRatioPlot::SetInsetWidth(Double_t width)
Warning("SetInsetWidth", "Can only be used after TRatioPlot has been drawn.");
return;
}

fInsetWidth = width;
SetSplitFraction(fSplitFraction);

double pm = fInsetWidth;
double w = fParentPad->GetWNDC();
double h = fParentPad->GetHNDC();
Expand Down