114 gROOT->GetListOfCleanups()->Remove(
this);
120 for (
unsigned int i=0;i<
fGridlines.size();++i) {
151 if (optionString.
Contains(
"divsym")) {
153 fMode = TRatioPlot::CalculationMode::kDivideHist;
154 }
else if (optionString.
Contains(
"diffsig")) {
156 fMode = TRatioPlot::CalculationMode::kDifferenceSign;
159 if (optionString.
Contains(
"errasym")) {
160 fErrorMode = TRatioPlot::ErrorMode::kErrorAsymmetric;
164 if (optionString.
Contains(
"errfunc")) {
165 fErrorMode = TRatioPlot::ErrorMode::kErrorFunc;
168 }
else if (optionString.
Contains(
"diff")) {
170 fMode = TRatioPlot::CalculationMode::kDifference;
172 fMode = TRatioPlot::CalculationMode::kDivideGraph;
202 gROOT->GetListOfCleanups()->Add(
this);
205 Warning(
"TRatioPlot",
"Need two histograms.");
212 if (!h1IsTH1 && !h2IsTH1) {
213 Warning(
"TRatioPlot",
"Need two histograms deriving from TH2 or TH3.");
234 Warning(
"TRatioPlot",
"Need a histogram and a stack");
240 if (stackHists->
GetSize() == 0) {
241 Warning(
"TRatioPlot",
"Stack does not have histograms");
248 for (
int i=0;i<stackHists->
GetSize();++i) {
249 tmpHist->
Add((
TH1*)stackHists->
At(i));
254 Init(tmpHist, h2, option);
269 gROOT->GetListOfCleanups()->Add(
this);
272 Warning(
"TRatioPlot",
"Need a histogram.");
279 Warning(
"TRatioPlot",
"Need a histogram deriving from TH2 or TH3.");
285 if (h1Functions->
GetSize() < 1) {
286 Warning(
"TRatioPlot",
"Histogram given needs to have a (fit) function associated with it");
295 fMode = TRatioPlot::CalculationMode::kFitResidual;
300 if (optionString.
Contains(
"errasym")) {
301 fErrorMode = TRatioPlot::ErrorMode::kErrorAsymmetric;
305 if (optionString.
Contains(
"errfunc")) {
306 fErrorMode = TRatioPlot::ErrorMode::kErrorFunc;
386 Error(
"SetupPads",
"need to create a canvas first");
392 double height =
gPad->GetHNDC();
401 fUpperPad->
Connect(
"RangeAxisChanged()",
"TRatioPlot",
this,
"RangeAxisChanged()");
402 fLowerPad->
Connect(
"RangeAxisChanged()",
"TRatioPlot",
this,
"RangeAxisChanged()");
426 Draw(
b ?
b->GetDrawOption() :
"");
549 }
else if (drawOpt.
Contains(
"grid")) {
554 if (drawOpt.
Contains(
"noconfint")) {
557 }
else if (drawOpt.
Contains(
"confint")) {
564 }
else if (drawOpt.
Contains(
"fhidelow")) {
566 }
else if (drawOpt.
Contains(
"hideup")) {
568 }
else if (drawOpt.
Contains(
"hidelow")) {
570 }
else if (drawOpt.
Contains(
"nohide")) {
577 Error(
"Draw",
"need to create a canvas first");
606 if (
fMode == TRatioPlot::CalculationMode::kFitResidual) {
611 Error(
"BuildLowerPlot",
"h1 does not have a fit function");
635 Warning(
"Draw",
"Draw proxy not of type TH1 or THStack, not drawing it");
673 Error(
"GetLowerRefGraph",
"Lower pad has not been defined");
678 if (primlist->
GetSize() == 0) {
679 Error(
"GetLowerRefGraph",
"Lower pad does not have primitives");
695 Error(
"GetLowerRefGraph",
"Did not find graph in list");
709 refobj = primlist->
At(i);
715 Error(
"GetUpperRefObject",
"No upper ref object of TH1 or THStack type found");
726 if (!refobj)
return 0;
729 return ((
TH1*)refobj)->GetXaxis();
731 return ((
THStack*)refobj)->GetXaxis();
744 if (!refobj)
return 0;
747 return ((
TH1*)refobj)->GetYaxis();
749 return ((
THStack*)refobj)->GetYaxis();
779 if (
y < lowYFirst || lowYLast <
y) {
788 for (
unsigned int i=0;i<
fGridlines.size();++i) {
794 for (
unsigned int i=0;i<
dest;++i) {
805 unsigned int skipped = 0;
809 if (
y < lowYFirst || lowYLast <
y) {
877 static Double_t divideGridlines[] = {0.7, 1.0, 1.3};
878 static Double_t diffGridlines[] = {0.0};
879 static Double_t signGridlines[] = {1.0, 0.0, -1.0};
883 if (
fMode == TRatioPlot::CalculationMode::kDivideGraph) {
901 }
else if (
fMode == TRatioPlot::CalculationMode::kDifference) {
912 }
else if (
fMode == TRatioPlot::CalculationMode::kDifferenceSign) {
928 if (
fErrorMode == TRatioPlot::ErrorMode::kErrorAsymmetric) {
933 if (val - val2 > 0) {
941 }
else if (
fErrorMode == TRatioPlot::ErrorMode::kErrorSymmetric) {
944 Warning(
"BuildLowerPlot",
"error mode is invalid");
950 res = (val - val2) / error;
960 }
else if (
fMode == TRatioPlot::CalculationMode::kFitResidual) {
968 Error(
"BuildLowerPlot",
"h1 does not have a fit function");
978 std::vector<double> ci1;
979 std::vector<double> ci2;
999 ci1.push_back(ci_arr1[i-1]);
1004 ci2.push_back(ci_arr2[i-1]);
1009 ci1.push_back(ci_arr1[i-1]);
1013 ci2.push_back(ci_arr2[i-1]);
1025 if (
fErrorMode == TRatioPlot::ErrorMode::kErrorAsymmetric) {
1038 }
else if (
fErrorMode == TRatioPlot::ErrorMode::kErrorSymmetric) {
1040 }
else if (
fErrorMode == TRatioPlot::ErrorMode::kErrorFunc) {
1045 Warning(
"BuildLowerPlot",
"error mode is invalid");
1070 }
else if (
fMode == TRatioPlot::CalculationMode::kDivideHist){
1083 Error(
"BuildLowerPlot",
"Invalid fMode value");
1091 Error(
"BuildLowerPlot",
"Error creating lower graph");
1112 TString thisfunc =
"CreateVisualAxes";
1150 if (upYFirst <= 0 || upYLast <= 0) {
1151 Error(thisfunc,
"Cannot set upper Y axis to log scale");
1159 if (lowYFirst <= 0 || lowYLast <= 0) {
1160 Error(thisfunc,
"Cannot set lower Y axis to log scale");
1167 if (
first <= 0 || last <= 0) {
1168 Error(thisfunc,
"Cannot set X axis to log scale");
1174 if (logx) xopt.
Append(
"G");
1176 if (uplogy) upyopt.
Append(
"G");
1178 if (lowlogy) lowyopt.
Append(
"G");
1253 Double_t ratio = ( (upBM-(1-upTM))*(1-sf) ) / ( (lowBM-(1-lowTM))*sf ) ;
1262 }
else if (
fHideLabelMode == TRatioPlot::HideLabelMode::kForceHideLow) {
1272 }
else if (
fHideLabelMode == TRatioPlot::HideLabelMode::kHideLow) {
1281 }
else if (
fHideLabelMode == TRatioPlot::HideLabelMode::kHideLow) {
1290 if (axistop || axisright) {
1430 verticalChanged =
kTRUE;
1437 verticalChanged =
kTRUE;
1455 if (verticalChanged) {
1459 return changed || verticalChanged;
1513 if (upFirst != globFirst || upLast != globLast) {
1517 else if (lowFirst != globFirst || lowLast != globLast) {
1522 if (upChanged || lowChanged) {
1537 if (marginsChanged) {
1581 Float_t lowyup = lowylow + lowh;
1619 Warning(
"SetSplitFraction",
"Can only be used after TRatioPlot has been drawn.");
1640 Warning(
"SetInsetWidth",
"Can only be used after TRatioPlot has been drawn.");
1691 for (
Int_t i=0;i<numGridlines;++i) {
include TDocParser_001 C image html pict1_TDocParser_001 png width
void GetConfidenceIntervals(unsigned int n, unsigned int stride1, unsigned int stride2, const double *x, double *ci, double cl=0.95, bool norm=false) const
get confidence intervals for an array of n points x.
virtual Color_t GetTitleColor() const
virtual Color_t GetLabelColor() const
virtual Int_t GetNdivisions() const
virtual Color_t GetAxisColor() const
virtual Style_t GetTitleFont() const
virtual Float_t GetLabelOffset() const
virtual Style_t GetLabelFont() const
virtual Float_t GetTitleSize() const
virtual Float_t GetLabelSize() const
virtual Float_t GetTickLength() const
virtual Float_t GetTitleOffset() const
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetBottomMargin(Float_t bottommargin)
Set Pad bottom margin in fraction of the pad height.
virtual void SetLeftMargin(Float_t leftmargin)
Set Pad left margin in fraction of the pad width.
Style_t GetFrameFillStyle() const
Float_t GetLeftMargin() const
Float_t GetBottomMargin() const
virtual void SetRightMargin(Float_t rightmargin)
Set Pad right margin in fraction of the pad width.
Float_t GetRightMargin() const
virtual void SetTopMargin(Float_t topmargin)
Set Pad top margin in fraction of the pad height.
Float_t GetTopMargin() const
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
Class to manage histogram axis.
virtual Double_t GetBinLowEdge(Int_t bin) const
Return low edge of bin.
Bool_t GetDecimals() const
Int_t GetLast() const
Return last bin on the axis i.e.
virtual void SetLimits(Double_t xmin, Double_t xmax)
virtual void SetRangeUser(Double_t ufirst, Double_t ulast)
Set the viewing range for the axis from ufirst to ulast (in user coordinates).
virtual const char * GetTimeFormat() const
const char * GetTitle() const
Returns title of object.
virtual void SetRange(Int_t first=0, Int_t last=0)
Set the viewing range for the axis from bin first to last.
virtual Double_t GetBinUpEdge(Int_t bin) const
Return up edge of bin.
Int_t GetFirst() const
Return first bin on the axis i.e.
Using a TBrowser one can browse all ROOT objects.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
virtual void Draw(Option_t *option="")
Draw this function with its current attributes.
virtual Double_t Eval(Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const
Evaluate this function.
Extends the ROOT::Fit::Result class with a TNamed inheritance providing easy possibility for I/O.
void SetTimeFormat(const char *tformat)
Change the format used for time plotting.
void SetTitleOffset(Float_t titleoffset=1)
void SetLabelFont(Int_t labelfont)
void SetTitleSize(Float_t titlesize)
virtual void SetTitle(const char *title="")
Change the title of the axis.
void SetLabelOffset(Float_t labeloffset)
virtual const char * GetTitle() const
Returns title of object.
virtual void SetNdivisions(Int_t ndiv)
void SetWmax(Double_t wmax)
void ChangeLabel(Int_t labNum=0, Double_t labAngle=-1., Double_t labSize=-1., Int_t labAlign=-1, Int_t labColor=-1, Int_t labFont=-1, TString labText="")
Define new text attributes for the label number "labNum".
void SetLabelColor(Int_t labelcolor)
Float_t GetTickSize() const
void SetWmin(Double_t wmin)
void SetTickSize(Float_t ticksize)
void SetLabelSize(Float_t labelsize)
void SetOption(Option_t *option="")
To set axis options.
TGraph with asymmetric error bars.
virtual void Divide(const TH1 *pass, const TH1 *total, Option_t *opt="cp")
Fill this TGraphAsymmErrors by dividing two 1-dimensional histograms pass/total.
A TGraphErrors is a TGraph with error bars.
virtual void SetPointError(Double_t ex, Double_t ey)
Set ex and ey values for point pointed by the mouse.
A TGraph is an object made of two arrays X and Y with npoints each.
virtual void SetPoint(Int_t i, Double_t x, Double_t y)
Set x and y values for point number i.
virtual void SetTitle(const char *title="")
Change (i.e.
virtual void Draw(Option_t *chopt="")
Draw this graph with its current attributes.
TAxis * GetYaxis() const
Get y axis of the graph.
virtual Double_t GetBinCenter(Int_t bin) const
Return bin center for 1D histogram.
virtual Double_t GetBinError(Int_t bin) const
Return value of error associated to bin number bin.
virtual void Reset(Option_t *option="")
Reset this histogram: contents, errors, etc.
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...
TObject * Clone(const char *newname=0) const
Make a complete copy of the underlying object.
virtual Int_t GetNbinsX() const
virtual Bool_t Add(TF1 *h1, Double_t c1=1, Option_t *option="")
Performs the operation: this = this + c1*f1 if errors are defined (see TH1::Sumw2),...
virtual Double_t GetBinErrorLow(Int_t bin) const
Return lower error associated to bin number bin.
TList * GetListOfFunctions() const
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
virtual Double_t GetBinWidth(Int_t bin) const
Return bin width for 1D histogram.
virtual Double_t GetBinErrorUp(Int_t bin) const
Return upper error associated to bin number bin.
virtual void Scale(Double_t c1=1, Option_t *option="")
Multiply this histogram by a constant c1.
virtual Int_t GetSumw2N() const
virtual Bool_t Divide(TF1 *f1, Double_t c1=1)
Performs the operation: this = this/(c1*f1) if errors are defined (see TH1::Sumw2),...
The Histogram stack class.
virtual void SetY2(Double_t y2)
virtual void SetX2(Double_t x2)
virtual void SetX1(Double_t x1)
virtual void SetY1(Double_t y1)
virtual TObject * FindObject(const char *name) const
Find an object in this list using its name.
virtual TObjLink * FirstLink() const
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
Wrapper around a TObject so it can be stored in a TList.
TObject * GetObject() const
Mother of all ROOT objects.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
@ kNotDeleted
object has not been deleted
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
@ kCannotPick
if object in a pad cannot be picked
The most important graphics class in the ROOT system.
virtual void SetLogy(Int_t value=1)
Set Lin/Log scale for Y.
virtual void SetGridx(Int_t value=1)
Double_t GetYlowNDC() const
Double_t GetUymin() const
Returns the minimum y-coordinate value visible on the pad. If log axis the returned value is in decad...
virtual void SetGridy(Int_t value=1)
virtual void SetLogx(Int_t value=1)
Set Lin/Log scale for X.
Double_t GetUymax() const
Returns the maximum y-coordinate value visible on the pad. If log axis the returned value is in decad...
Double_t GetHNDC() const
Get height of pad along Y in Normalized Coordinates (NDC)
virtual void SetPad(const char *name, const char *title, Double_t xlow, Double_t ylow, Double_t xup, Double_t yup, Color_t color=35, Short_t bordersize=5, Short_t bordermode=-1)
Set all pad parameters.
void Modified(Bool_t flag=1)
TList * GetListOfPrimitives() const
virtual void Draw(Option_t *option="")
Draw Pad in Current pad (re-parent pad if necessary).
TVirtualPad * cd(Int_t subpadnumber=0)
Set Current pad.
virtual void SetFillStyle(Style_t fstyle)
Override TAttFill::FillStyle for TPad because we want to handle style=0 as style 4000.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
void SubPadResized()
Slot that handles common resizing of upper and lower pad.
TGraphErrors * fConfidenceInterval2
Stores the graph for the 2 sigma band.
TAxis * GetLowerRefXaxis() const
Shortcut for:
Int_t fErrorMode
Stores the error mode, sym, asym or func.
TAxis * GetLowerRefYaxis() const
Shortcut for:
TGaxis * fUpperGXaxisMirror
Upper mirror of the x axis.
TGaxis * fLowerGXaxisMirror
Lower mirror of the x axis.
TAxis * GetUpperRefYaxis() const
Gets the y axis of the object returned by TRatioPlot::GetUpperRefObject.
Float_t fLowBottomMargin
Stores the bottom margin of the lower pad.
Int_t BuildLowerPlot()
Build the lower plot according to which constructor was called, and which options were passed.
void SetUpBottomMargin(Float_t margin)
Sets the bottom margin of the upper pad.
Float_t fUpBottomMargin
Stores the bottom margin of the upper pad.
TH1 * fH1
Stores the primary histogram.
void SetH2DrawOpt(Option_t *opt)
Sets the drawing option for h2.
virtual void Draw(Option_t *chopt="")
Draws the ratio plot to the currently active pad.
TFitResult * fFitResult
Stores the explicit fit result given in the fit residual case. Can be 0.
virtual Bool_t SyncPadMargins()
Figures out which pad margin has deviated from the stored ones, to figure out what the new nominal is...
Color_t fCi1Color
Stores the color for the 1 sigma band.
TGaxis * fUpperGYaxis
Upper graphical y axis.
Double_t fC2
Stores the scale factor for h2.
void SetLowBottomMargin(Float_t margin)
Sets the bottom margin of the lower pad.
Bool_t IsDrawn()
Check if ... is drawn.
Double_t fC1
Stores the scale factor for h1 (or THStack sum)
virtual void CreateVisualAxes()
(Re-)Creates the TGAxis objects that are used for consistent display of the axes.
Float_t fLowTopMargin
Stores the top margin of the lower pad.
TString fH2DrawOpt
Stores draw option for h2 given in constructor.
void SetUpTopMargin(Float_t margin)
Sets the top margin of the upper pad.
TGaxis * fLowerGXaxis
Lower graphical x axis.
TRatioPlot()
TRatioPlot default constructor.
Bool_t fIsUpdating
Keeps track of whether its currently updating to reject other calls until done.
void SetGraphDrawOpt(Option_t *opt)
Sets the drawing option for the lower graph.
Double_t fCl1
Stores the confidence level for the inner confidence interval band.
virtual ~TRatioPlot()
Destructor.
Float_t GetSeparationMargin() const
Return the separation margin value.
void ImportAxisAttributes(TGaxis *gaxis, TAxis *axis)
Internal method to import TAxis attributes to a TGaxis.
void SetFitDrawOpt(Option_t *opt)
Sets the drawing option for the fit in the fit residual case.
std::vector< TLine * > fGridlines
Keeps TLine objects for the gridlines.
void SetPadMargins()
Sets the margins of all the pads to the value specified in class members.
void SetConfidenceIntervalColors(Color_t ci1=kGreen, Color_t ci2=kYellow)
Set the confidence interval colors.
TPad * fLowerPad
The pad which contains the calculated lower plot part.
TAxis * fSharedXAxis
X axis that stores the range for both plots.
TString fFitDrawOpt
Stores draw option for the fit function in the fit residual case.
virtual void SetGridlines(Double_t *gridlines, Int_t numGridlines)
Set where horizontal, dashed lines are drawn on the lower pad.
TGaxis * fUpperGYaxisMirror
Upper mirror of the y axis.
virtual void SetupPads()
Setup the pads.
TAxis * fUpYaxis
Clone of the upper y axis.
TVirtualPad * fParentPad
Stores the pad the ratio plot was created in.
Float_t fUpTopMargin
Stores the top margin of the upper pad.
void SetH1DrawOpt(Option_t *opt)
Sets the drawing option for h1.
TGraph * fRatioGraph
Stores the lower plot's graph.
virtual TGraph * GetLowerRefGraph() const
Returns the reference graph for the lower pad, which means the graph that is responsible for setting ...
virtual void Browse(TBrowser *b)
Browse.
Int_t fMode
Stores which calculation is supposed to be performed as specified by user option.
void SetSplitFraction(Float_t sf)
Set the fraction of the parent pad, at which the to sub pads should meet.
TObject * fHistDrawProxy
The object which is actually drawn, this might be TH1 or THStack.
Float_t fRightMargin
Stores the common right margin of both pads.
TGaxis * fLowerGYaxisMirror
Lower mirror of the y axis.
Int_t fHideLabelMode
Stores which label to hide if the margin is to narrow, if at all.
void CreateGridline()
Create a grid line.
TPad * fTopPad
The Pad that drawn on top on the others to have consistent coordinates.
void SetInsetWidth(Double_t width)
Set the inset on the outer sides of all the pads.
virtual void SyncAxesRanges()
Syncs the axes ranges from the shared ones to the actual ones.
void RangeAxisChanged()
Slot that receives the RangeAxisChanged signal from any of the pads and reacts correspondingly.
void UnZoomed()
Slot for the UnZoomed signal that was introduced to TAxis.
virtual void Paint(Option_t *opt="")
Creates the visual axes when painting.
Bool_t fIsPadUpdating
Keeps track whether pads are updating during resizing.
TH1 * fH2
Stores the secondary histogram, if there is one.
Double_t fCl2
Stores the confidence level for the outer confidence interval band.
TAxis * fLowYaxis
Clone of the lower y axis.
TString fOption
Stores the option which is given in the constructor as a string.
TPad * fUpperPad
The pad which contains the upper plot part.
Bool_t fShowConfidenceIntervals
Stores whether to show the confidence interval bands. From Draw option.
void SetLowTopMargin(Float_t margin)
Sets the top margin of the lower pad.
void SetSeparationMargin(Float_t)
Sets the margin that separates the two pads.
void SetLeftMargin(Float_t margin)
Sets the left margin of both pads.
Float_t fLeftMargin
Stores the common left margin of both pads.
TAxis * GetUpperRefXaxis() const
Gets the x axis of the object returned by TRatioPlot::GetUpperRefObject.
Float_t fSplitFraction
Stores the fraction at which the upper and lower pads meet.
virtual TObject * GetUpperRefObject() const
Return the reference object.
TGraphErrors * fConfidenceInterval1
Stores the graph for the 1 sigma band.
TGaxis * fUpperGXaxis
Upper graphical x axis.
std::vector< double > fGridlinePositions
Stores the y positions for the gridlines.
TString fH1DrawOpt
Stores draw option for h1 given in constructor.
virtual void Init(TH1 *h1, TH1 *h2, Option_t *option="")
Internal method that shares constructor logic.
Bool_t fShowGridlines
Stores whether to show the gridlines at all.
TString fGraphDrawOpt
Stores draw option for the lower plot graph given in constructor.
Color_t fCi2Color
Stores the color for the 2 sigma band.
void SetRightMargin(Float_t margin)
Sets the right margin of both pads.
TGaxis * fLowerGYaxis
Lower graphical y axis.
void SetConfidenceLevels(Double_t cl1, Double_t cl2)
Sets the confidence levels used to calculate the bands in the fit residual case.
const char * Data() const
TString & ReplaceAll(const TString &s1, const TString &s2)
TString & Append(const char *cs)
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
static TVirtualFitter * GetFitter()
static: return the current Fitter
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual void Modified(Bool_t flag=1)=0
virtual void SetLogx(Int_t value=1)=0
virtual TList * GetListOfPrimitives() const =0
virtual TVirtualPad * cd(Int_t subpadnumber=0)=0
virtual Bool_t GetGridx() const =0
virtual Int_t GetTicky() const =0
virtual Int_t GetLogy() const =0
virtual Double_t GetHNDC() const =0
virtual Double_t GetWNDC() const =0
virtual Int_t GetTickx() const =0
virtual Int_t GetLogx() const =0
virtual Bool_t GetGridy() const =0
bool GetConfidenceIntervals(const TH1 *h1, const ROOT::Fit::FitResult &r, TGraphErrors *gr, double cl=0.95)
compute confidence intervals at level cl for a fitted histogram h1 in a TGraphErrors gr
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
#define dest(otri, vertexptr)