#include <BATCalculator.h>
Public Member Functions | |
BATCalculator () | |
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 () |
RooPlot * | GetPosteriorPlot1D () const |
RooAbsPdf * | GetPosteriorPdf1D () const |
RooAbsPdf * | GetPosteriorPdf1D (const char *POIname) const |
virtual SimpleInterval * | GetInterval1D () const |
virtual SimpleInterval * | GetInterval1D (const char *POIname) const |
SimpleInterval * | GetShortestInterval1D () const |
SimpleInterval * | GetShortestInterval1D (const char *POIname, bool &checkConnected) const |
Double_t | GetOneSidedUperLim () |
virtual void | SetData (RooAbsData &data) |
virtual void | SetModel (const ModelConfig &model) |
virtual void | SetTestSize (Double_t size) |
void | SetLeftSideTailFraction (Double_t leftSideFraction) |
virtual void | SetConfidenceLevel (Double_t cl) |
virtual Double_t | Size () const |
double | GetLeftSideTailFraction () |
virtual Double_t | ConfidenceLevel () const |
void | SetBrfPrecision (double precision) |
double | GetBrfPrecision () |
void | SetnMCMC (int nMCMC) |
int | GetnMCMC () |
BCRooInterface * | GetBCRooInterface () const |
RooStats::MarkovChain * | GetRooStatsMarkovChain () const |
virtual MCMCInterval * | GetInterval () const |
bool | GetConnected () |
vector< double > | GetIntervalBorders1D () |
void | SetNumBins (const char *parname, int nbins) |
void | SetNumBins (int nbins) |
void | CleanCalculatorForNewData () |
Protected Member Functions | |
void | ClearAll () const |
Private Member Functions | |
RooArgSet * | GetMode (RooArgSet *parameters) const |
Private Attributes | |
RooAbsData * | fData |
RooAbsPdf * | fPdf |
const RooArgSet | fPOI |
RooAbsPdf * | fPrior |
const RooArgSet * | fparams |
BCRooInterface * | _myRooInterface |
TH1D * | _posteriorTH1D |
RooAbsPdf * | fProductPdf |
RooAbsReal * | fLogLike |
RooAbsReal * | fLikelihood |
RooAbsReal * | fIntegratedLikelihood |
RooAbsPdf * | fPosteriorPdf |
Double_t | fLower |
Double_t | fUpper |
double | fBrfPrecision |
Bool_t | fValidInterval |
bool | fConnectedInterval |
int | _nMCMC |
double | fSize |
double | fLeftSideFraction |
vector< double > | _intervalBorders1D |
Definition at line 31 of file BATCalculator.h.
RooStats::BATCalculator::BATCalculator | ( | ) |
RooStats::BATCalculator::BATCalculator | ( | RooAbsData & | data, | |
RooAbsPdf & | pdf, | |||
RooArgSet & | POI, | |||
RooAbsPdf & | prior, | |||
RooArgSet * | params = 0 , |
|||
bool | fillChain = false | |||
) |
RooStats::BATCalculator::BATCalculator | ( | RooAbsData & | data, | |
ModelConfig & | model, | |||
bool | fillChain = false | |||
) |
virtual RooStats::BATCalculator::~BATCalculator | ( | ) | [virtual] |
void RooStats::BATCalculator::CleanCalculatorForNewData | ( | ) | [inline] |
Definition at line 142 of file BATCalculator.h.
{ ClearAll(); }
void RooStats::BATCalculator::ClearAll | ( | ) | const [protected] |
virtual Double_t RooStats::BATCalculator::ConfidenceLevel | ( | ) | const [inline, virtual] |
Definition at line 97 of file BATCalculator.h.
{ return 1.-fSize; }
BCRooInterface* RooStats::BATCalculator::GetBCRooInterface | ( | ) | const [inline] |
Definition at line 114 of file BATCalculator.h.
{ return _myRooInterface; }
double RooStats::BATCalculator::GetBrfPrecision | ( | ) | [inline] |
Definition at line 103 of file BATCalculator.h.
{ return fBrfPrecision; }
bool RooStats::BATCalculator::GetConnected | ( | ) | [inline] |
Definition at line 124 of file BATCalculator.h.
{ return fConnectedInterval; }
virtual MCMCInterval* RooStats::BATCalculator::GetInterval | ( | ) | const [virtual] |
virtual SimpleInterval* RooStats::BATCalculator::GetInterval1D | ( | ) | const [virtual] |
virtual SimpleInterval* RooStats::BATCalculator::GetInterval1D | ( | const char * | POIname | ) | const [virtual] |
vector<double> RooStats::BATCalculator::GetIntervalBorders1D | ( | ) | [inline] |
Definition at line 128 of file BATCalculator.h.
{ return _intervalBorders1D; }
double RooStats::BATCalculator::GetLeftSideTailFraction | ( | ) | [inline] |
Definition at line 93 of file BATCalculator.h.
{return fLeftSideFraction;}
RooArgSet* RooStats::BATCalculator::GetMode | ( | RooArgSet * | parameters | ) | const [private] |
int RooStats::BATCalculator::GetnMCMC | ( | ) | [inline] |
Definition at line 111 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 |
RooStats::MarkovChain* RooStats::BATCalculator::GetRooStatsMarkovChain | ( | ) | const [inline] |
Definition at line 117 of file BATCalculator.h.
{ return _myRooInterface->GetRooStatsMarkovChain();}
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 100 of file BATCalculator.h.
{ fBrfPrecision = precision; }
virtual void RooStats::BATCalculator::SetConfidenceLevel | ( | Double_t | cl | ) | [inline, virtual] |
Definition at line 85 of file BATCalculator.h.
{ SetTestSize(1.-cl); }
virtual void RooStats::BATCalculator::SetData | ( | RooAbsData & | data | ) | [inline, virtual] |
Definition at line 72 of file BATCalculator.h.
void RooStats::BATCalculator::SetLeftSideTailFraction | ( | Double_t | leftSideFraction | ) |
virtual void RooStats::BATCalculator::SetModel | ( | const ModelConfig & | model | ) | [virtual] |
void RooStats::BATCalculator::SetnMCMC | ( | int | nMCMC | ) | [inline] |
Definition at line 107 of file BATCalculator.h.
{ _nMCMC = nMCMC; }
void RooStats::BATCalculator::SetNumBins | ( | const char * | parname, | |
int | nbins | |||
) |
void RooStats::BATCalculator::SetNumBins | ( | int | nbins | ) |
virtual void RooStats::BATCalculator::SetTestSize | ( | Double_t | size | ) | [inline, virtual] |
Definition at line 78 of file BATCalculator.h.
{ fSize = size; fValidInterval = false; }
virtual Double_t RooStats::BATCalculator::Size | ( | ) | const [inline, virtual] |
Definition at line 89 of file BATCalculator.h.
{ return fSize; }
vector<double> RooStats::BATCalculator::_intervalBorders1D [mutable, private] |
Definition at line 180 of file BATCalculator.h.
Definition at line 162 of file BATCalculator.h.
int RooStats::BATCalculator::_nMCMC [private] |
Definition at line 177 of file BATCalculator.h.
TH1D* RooStats::BATCalculator::_posteriorTH1D [mutable, private] |
Definition at line 163 of file BATCalculator.h.
double RooStats::BATCalculator::fBrfPrecision [private] |
Definition at line 173 of file BATCalculator.h.
bool RooStats::BATCalculator::fConnectedInterval [mutable, private] |
Definition at line 175 of file BATCalculator.h.
RooAbsData* RooStats::BATCalculator::fData [private] |
Definition at line 157 of file BATCalculator.h.
RooAbsReal* RooStats::BATCalculator::fIntegratedLikelihood [mutable, private] |
Definition at line 169 of file BATCalculator.h.
double RooStats::BATCalculator::fLeftSideFraction [private] |
Definition at line 179 of file BATCalculator.h.
RooAbsReal* RooStats::BATCalculator::fLikelihood [mutable, private] |
Definition at line 168 of file BATCalculator.h.
RooAbsReal* RooStats::BATCalculator::fLogLike [mutable, private] |
Definition at line 167 of file BATCalculator.h.
Double_t RooStats::BATCalculator::fLower [mutable, private] |
Definition at line 171 of file BATCalculator.h.
const RooArgSet* RooStats::BATCalculator::fparams [private] |
Definition at line 161 of file BATCalculator.h.
RooAbsPdf* RooStats::BATCalculator::fPdf [private] |
Definition at line 158 of file BATCalculator.h.
const RooArgSet RooStats::BATCalculator::fPOI [private] |
Definition at line 159 of file BATCalculator.h.
RooAbsPdf* RooStats::BATCalculator::fPosteriorPdf [mutable, private] |
Definition at line 170 of file BATCalculator.h.
RooAbsPdf* RooStats::BATCalculator::fPrior [private] |
Definition at line 160 of file BATCalculator.h.
RooAbsPdf* RooStats::BATCalculator::fProductPdf [mutable, private] |
Definition at line 166 of file BATCalculator.h.
double RooStats::BATCalculator::fSize [private] |
Definition at line 178 of file BATCalculator.h.
Double_t RooStats::BATCalculator::fUpper [mutable, private] |
Definition at line 172 of file BATCalculator.h.
Bool_t RooStats::BATCalculator::fValidInterval [mutable, private] |
Definition at line 174 of file BATCalculator.h.