15 #ifndef ROOSTATS_MCMCIntervalPlot
16 #define ROOSTATS_MCMCIntervalPlot
28 class MCMCIntervalPlot :
public TNamed,
public RooPrintable {
32 MCMCIntervalPlot(MCMCInterval& interval);
35 virtual ~MCMCIntervalPlot();
37 void SetMCMCInterval(MCMCInterval& interval);
38 void SetLineColor(Color_t color) {fLineColor = color;}
39 void SetLineWidth(Int_t width) {fLineWidth = width;}
40 void SetShadeColor(Color_t color) {fShadeColor = color;}
41 void SetShowBurnIn(Bool_t showBurnIn) { fShowBurnIn = showBurnIn; }
43 void Draw(
const Option_t* options = NULL);
45 void DrawChainScatter(RooRealVar& xVar, RooRealVar& yVar);
46 void DrawParameterVsTime(RooRealVar& param);
48 void DrawNLLHist(
const Option_t* options = NULL);
49 void DrawWeightHist(
const Option_t* options = NULL);
53 MCMCInterval *fInterval;
54 RooArgSet *fParameters;
56 RooNDKeysPdf* fPosteriorKeysPdf;
57 RooProduct* fPosteriorKeysProduct;
60 TH1* fPosteriorHistHistCopy;
61 TH1* fPosteriorHistTFCopy;
74 void DrawPosterior(
const Option_t* options = NULL);
75 void* DrawPosteriorHist(
const Option_t* options = NULL,
76 const char* title = NULL, Bool_t scale = kTRUE);
77 void* DrawPosteriorKeysPdf(
const Option_t* options = NULL);
78 void* DrawPosteriorKeysProduct(
const Option_t* options = NULL);
80 void DrawInterval(
const Option_t* options = NULL);
81 void DrawShortestInterval(
const Option_t* options = NULL);
82 void DrawHistInterval(
const Option_t* options = NULL);
83 void DrawKeysPdfInterval(
const Option_t* options = NULL);
84 void DrawTailFractionInterval(
const Option_t* options = NULL);
86 ClassDef(MCMCIntervalPlot,1)