#include <BATCalculator.h>
Public Member Functions | |
BATCalculator () | |
BATCalculator (RooAbsData &data, RooAbsPdf &pdf, RooArgSet &POI, RooAbsPdf &prior, RooArgSet *params=0) | |
BATCalculator (RooAbsData &data, ModelConfig &model) | |
void | CleanCalculatorForNewData () |
virtual Double_t | ConfidenceLevel () const |
double | GetBrfPrecision () |
bool | GetConnected () |
virtual SimpleInterval * | GetInterval () const |
virtual SimpleInterval * | GetInterval (const char *POIname) const |
vector< double > | GetIntervalBorders1D () |
int | GetnMCMC () |
Double_t | GetOneSidedUperLim () |
RooAbsPdf * | GetPosteriorPdf1D () const |
RooAbsPdf * | GetPosteriorPdf1D (const char *POIname) const |
RooPlot * | GetPosteriorPlot1D () const |
SimpleInterval * | GetShortestInterval1D () const |
SimpleInterval * | GetShortestInterval1D (const char *POIname, bool &checkConnected) const |
void | SetBrfPrecision (double precision) |
virtual void | SetConfidenceLevel (Double_t cl) |
virtual void | SetData (RooAbsData &data) |
virtual void | SetModel (const ModelConfig &model) |
void | SetNbins (const char *parname, int nbins) |
void | SetnMCMC (int nMCMC) |
virtual void | SetTestSize (Double_t size) |
virtual Double_t | Size () const |
virtual | ~BATCalculator () |
Protected Member Functions | |
void | ClearAll () const |
Private Member Functions | |
RooArgSet * | GetMode (RooArgSet *parameters) const |
Private Attributes | |
vector< double > | _intervalBorders1D |
BCRooInterface * | _myRooInterface |
int | _nMCMC |
TH1D * | _posteriorTH1D |
double | fBrfPrecision |
bool | fConnectedInterval |
RooAbsData * | fData |
RooAbsReal * | fIntegratedLikelihood |
RooAbsReal * | fLikelihood |
RooAbsReal * | fLogLike |
Double_t | fLower |
const RooArgSet * | fparams |
RooAbsPdf * | fPdf |
const RooArgSet | fPOI |
RooAbsPdf * | fPosteriorPdf |
RooAbsPdf * | fPrior |
RooAbsPdf * | fProductPdf |
double | fSize |
Double_t | fUpper |
Bool_t | fValidInterval |
Definition at line 29 of file BATCalculator.h.
RooStats::BATCalculator::BATCalculator | ( | ) |
RooStats::BATCalculator::BATCalculator | ( | RooAbsData & | data, | |
RooAbsPdf & | pdf, | |||
RooArgSet & | POI, | |||
RooAbsPdf & | prior, | |||
RooArgSet * | params = 0 | |||
) |
RooStats::BATCalculator::BATCalculator | ( | RooAbsData & | data, | |
ModelConfig & | model | |||
) |
virtual RooStats::BATCalculator::~BATCalculator | ( | ) | [virtual] |
void RooStats::BATCalculator::CleanCalculatorForNewData | ( | ) | [inline] |
Definition at line 113 of file BATCalculator.h.
{ ClearAll(); }
void RooStats::BATCalculator::ClearAll | ( | ) | const [protected] |
virtual Double_t RooStats::BATCalculator::ConfidenceLevel | ( | ) | const [inline, virtual] |
Definition at line 83 of file BATCalculator.h.
{ return 1.-fSize; }
double RooStats::BATCalculator::GetBrfPrecision | ( | ) | [inline] |
Definition at line 89 of file BATCalculator.h.
{ return fBrfPrecision; }
bool RooStats::BATCalculator::GetConnected | ( | ) | [inline] |
Definition at line 99 of file BATCalculator.h.
{ return fConnectedInterval; }
virtual SimpleInterval* RooStats::BATCalculator::GetInterval | ( | const char * | POIname | ) | const [virtual] |
virtual SimpleInterval* RooStats::BATCalculator::GetInterval | ( | ) | const [virtual] |
vector<double> RooStats::BATCalculator::GetIntervalBorders1D | ( | ) | [inline] |
Definition at line 102 of file BATCalculator.h.
{ return _intervalBorders1D; }
RooArgSet* RooStats::BATCalculator::GetMode | ( | RooArgSet * | parameters | ) | const [private] |
int RooStats::BATCalculator::GetnMCMC | ( | ) | [inline] |
Definition at line 95 of file BATCalculator.h.
{ return _nMCMC; }
Double_t RooStats::BATCalculator::GetOneSidedUperLim | ( | ) |
RooAbsPdf* RooStats::BATCalculator::GetPosteriorPdf1D | ( | ) | const |
RooAbsPdf* RooStats::BATCalculator::GetPosteriorPdf1D | ( | const char * | POIname | ) | const |
RooPlot* RooStats::BATCalculator::GetPosteriorPlot1D | ( | ) | const |
SimpleInterval* RooStats::BATCalculator::GetShortestInterval1D | ( | ) | const |
SimpleInterval* RooStats::BATCalculator::GetShortestInterval1D | ( | const char * | POIname, | |
bool & | checkConnected | |||
) | const |
void RooStats::BATCalculator::SetBrfPrecision | ( | double | precision | ) | [inline] |
Definition at line 86 of file BATCalculator.h.
{ fBrfPrecision = precision; }
virtual void RooStats::BATCalculator::SetConfidenceLevel | ( | Double_t | cl | ) | [inline, virtual] |
Definition at line 75 of file BATCalculator.h.
{ SetTestSize(1.-cl); }
virtual void RooStats::BATCalculator::SetData | ( | RooAbsData & | data | ) | [inline, virtual] |
Definition at line 65 of file BATCalculator.h.
virtual void RooStats::BATCalculator::SetModel | ( | const ModelConfig & | model | ) | [virtual] |
void RooStats::BATCalculator::SetNbins | ( | const char * | parname, | |
int | nbins | |||
) |
void RooStats::BATCalculator::SetnMCMC | ( | int | nMCMC | ) | [inline] |
Definition at line 92 of file BATCalculator.h.
{ _nMCMC = nMCMC; }
virtual void RooStats::BATCalculator::SetTestSize | ( | Double_t | size | ) | [inline, virtual] |
Definition at line 71 of file BATCalculator.h.
{ fSize = size; fValidInterval = false; }
virtual Double_t RooStats::BATCalculator::Size | ( | ) | const [inline, virtual] |
Definition at line 79 of file BATCalculator.h.
{ return fSize; }
vector<double> RooStats::BATCalculator::_intervalBorders1D [mutable, private] |
Definition at line 151 of file BATCalculator.h.
Definition at line 134 of file BATCalculator.h.
int RooStats::BATCalculator::_nMCMC [private] |
Definition at line 149 of file BATCalculator.h.
TH1D* RooStats::BATCalculator::_posteriorTH1D [mutable, private] |
Definition at line 135 of file BATCalculator.h.
double RooStats::BATCalculator::fBrfPrecision [private] |
Definition at line 145 of file BATCalculator.h.
bool RooStats::BATCalculator::fConnectedInterval [mutable, private] |
Definition at line 147 of file BATCalculator.h.
RooAbsData* RooStats::BATCalculator::fData [private] |
Definition at line 129 of file BATCalculator.h.
RooAbsReal* RooStats::BATCalculator::fIntegratedLikelihood [mutable, private] |
Definition at line 141 of file BATCalculator.h.
RooAbsReal* RooStats::BATCalculator::fLikelihood [mutable, private] |
Definition at line 140 of file BATCalculator.h.
RooAbsReal* RooStats::BATCalculator::fLogLike [mutable, private] |
Definition at line 139 of file BATCalculator.h.
Double_t RooStats::BATCalculator::fLower [mutable, private] |
Definition at line 143 of file BATCalculator.h.
const RooArgSet* RooStats::BATCalculator::fparams [private] |
Definition at line 133 of file BATCalculator.h.
RooAbsPdf* RooStats::BATCalculator::fPdf [private] |
Definition at line 130 of file BATCalculator.h.
const RooArgSet RooStats::BATCalculator::fPOI [private] |
Definition at line 131 of file BATCalculator.h.
RooAbsPdf* RooStats::BATCalculator::fPosteriorPdf [mutable, private] |
Definition at line 142 of file BATCalculator.h.
RooAbsPdf* RooStats::BATCalculator::fPrior [private] |
Definition at line 132 of file BATCalculator.h.
RooAbsPdf* RooStats::BATCalculator::fProductPdf [mutable, private] |
Definition at line 138 of file BATCalculator.h.
double RooStats::BATCalculator::fSize [private] |
Definition at line 150 of file BATCalculator.h.
Double_t RooStats::BATCalculator::fUpper [mutable, private] |
Definition at line 144 of file BATCalculator.h.
Bool_t RooStats::BATCalculator::fValidInterval [mutable, private] |
Definition at line 146 of file BATCalculator.h.