RooStats::BATCalculator Class Reference

Adapter to call BAT from within RooStats to compute credibility intervals. More...

#include <BATCalculator.h>

Inheritance diagram for RooStats::BATCalculator:
[legend]
Collaboration diagram for RooStats::BATCalculator:
[legend]

Public Member Functions

 BATCalculator ()
 constructor
 
 BATCalculator (RooAbsData &data, RooAbsPdf &pdf, RooArgSet &POI, RooAbsPdf &prior, RooArgSet *params=0, bool fillChain=false)
 
 BATCalculator (RooAbsData &data, ModelConfig &model, bool fillChain=false)
 
virtual ~BATCalculator ()
 destructor
 
RooPlot * GetPosteriorPlot1D () const
 
RooAbsPdf * GetPosteriorPdf1D () const
 return posterior pdf
 
RooAbsPdf * GetPosteriorPdf1D (const char *POIname) const
 
virtual SimpleInterval * GetInterval1D () const
 return SimpleInterval object: central interval (one poi only)
 
virtual SimpleInterval * GetInterval1D (const char *POIname) const
 
SimpleInterval * GetShortestInterval1D () const
 return SimpleInterval object: shortest interval (not necessarily connected, one poi only)
 
SimpleInterval * GetShortestInterval1D (const char *POIname, bool &checkConnected) const
 
Double_t GetOneSidedUperLim ()
 temporary solution ?
 
virtual void SetData (RooAbsData &data)
 
virtual void SetModel (const ModelConfig &)
 
virtual void SetTestSize (Double_t size)
 set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval)
 
void SetLeftSideTailFraction (Double_t leftSideFraction)
 set left side tail fraction (only for 1D interval, not meaningful for shortest interval)
 
virtual void SetConfidenceLevel (Double_t cl)
 set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)
 
virtual Double_t Size () const
 Get the size of the test.
 
double GetLeftSideTailFraction ()
 Get left side tail fraction (only for 1D interval, not meaningful for shortest interval)
 
virtual Double_t ConfidenceLevel () const
 Get the Confidence level for the test.
 
void SetBrfPrecision (double precision)
 
double GetBrfPrecision ()
 
void SetnMCMC (int nMCMC)
 set number of iterations per chain
 
int GetnMCMC ()
 return number of iterations per chain
 
BCRooInterfaceGetBCRooInterface () const
 
RooStats::MarkovChain * GetRooStatsMarkovChain () const
 
virtual MCMCInterval * GetInterval () const
 returns MCMCInterval object
 
bool GetConnected ()
 returns if last calculated shortest interval is connected (1 poi only)
 
std::vector< double > GetIntervalBorders1D ()
 returns interval borders of shortest interval (1 poi only)
 
void SetNumBins (const char *parname, int nbins)
 set the number of histogram bins for a specific parameter
 
void SetNumBins (int nbins)
 set the number of histogram bins for all parameters
 
void CleanCalculatorForNewData ()
 
void ClearAll () const
 

Detailed Description

Adapter to call BAT from within RooStats to compute credibility intervals.

Definition at line 39 of file BATCalculator.h.


The documentation for this class was generated from the following files: