16 #ifndef ROOSTATS_LikelihoodIntervalPlot
17 #define ROOSTATS_LikelihoodIntervalPlot
30 class LikelihoodIntervalPlot :
public TNamed,
public RooPrintable {
33 LikelihoodIntervalPlot();
35 LikelihoodIntervalPlot(LikelihoodInterval* theInterval);
38 virtual ~LikelihoodIntervalPlot();
42 TObject * GetPlottedObject()
const {
return fPlotObject; }
44 void SetLikelihoodInterval(LikelihoodInterval* theInterval);
45 void SetPlotParameters(
const RooArgSet *params) ;
49 void SetRange(
double x1,
double x2) { fXmin = x1; fXmax = x2; }
51 void SetRange(
double x1,
double y1,
double x2,
double y2) {
52 fXmin = x1; fXmax = x2;
53 fYmin = y1; fYmax = y2;
57 void SetPrecision(
double eps) { fPrecision = eps; }
59 void SetLineColor(
const Color_t color) {fLineColor = color;}
61 void SetFillStyle(
const Style_t style) {fFillStyle = style;}
63 void SetContourColor(
const Color_t color) {fColor = color;}
64 void SetMaximum(
const Double_t theMaximum) {fMaximum = theMaximum;}
65 void SetNPoints(Int_t np) { fNPoints = np; }
73 void Draw(
const Option_t *options=0);
91 LikelihoodInterval *fInterval;
93 RooArgSet *fParamsPlot;
94 TObject * fPlotObject;
99 ClassDef(LikelihoodIntervalPlot,2)