#include <RooHistPdf.h>
Inheritance diagram for RooHistPdf:
Definition at line 28 of file RooHistPdf.h.
RooHistPdf::RooHistPdf | ( | ) |
Definition at line 45 of file RooHistPdf.cxx.
References _histObsIter, _histObsList, _pdfObsIter, _pdfObsList, and RooAbsCollection::createIterator().
Referenced by clone().
RooHistPdf::RooHistPdf | ( | const char * | name, | |
const char * | title, | |||
const RooArgSet & | vars, | |||
const RooDataHist & | dhist, | |||
Int_t | intOrder = 0 | |||
) |
Definition at line 55 of file RooHistPdf.cxx.
References _histObsIter, _histObsList, _pdfObsIter, _pdfObsList, RooSetProxy::add(), RooArgSet::addClone(), coutE, RooAbsCollection::createIterator(), RooAbsCollection::find(), RooDataHist::get(), TNamed::GetName(), RooAbsCollection::getSize(), RooFit::InputArguments, and TIterator::Next().
RooHistPdf::RooHistPdf | ( | const char * | name, | |
const char * | title, | |||
const RooArgList & | pdfObs, | |||
const RooArgList & | histObs, | |||
const RooDataHist & | dhist, | |||
Int_t | intOrder = 0 | |||
) |
Definition at line 100 of file RooHistPdf.cxx.
References _histObsIter, _histObsList, _pdfObsIter, _pdfObsList, RooSetProxy::add(), RooArgSet::addClone(), coutE, RooAbsCollection::createIterator(), RooAbsCollection::find(), RooDataHist::get(), TNamed::GetName(), RooAbsCollection::getSize(), RooFit::InputArguments, RooAbsArg::isFundamental(), and TIterator::Next().
RooHistPdf::RooHistPdf | ( | const RooHistPdf & | other, | |
const char * | name = 0 | |||
) |
Definition at line 150 of file RooHistPdf.cxx.
References _histObsIter, _histObsList, _pdfObsIter, _pdfObsList, RooArgSet::addClone(), and RooAbsCollection::createIterator().
RooHistPdf::~RooHistPdf | ( | ) | [virtual] |
RooHistPdf::RooHistPdf | ( | ) |
RooHistPdf::RooHistPdf | ( | const char * | name, | |
const char * | title, | |||
const RooArgSet & | vars, | |||
const RooDataHist & | dhist, | |||
Int_t | intOrder = 0 | |||
) |
RooHistPdf::RooHistPdf | ( | const char * | name, | |
const char * | title, | |||
const RooArgList & | pdfObs, | |||
const RooArgList & | histObs, | |||
const RooDataHist & | dhist, | |||
Int_t | intOrder = 0 | |||
) |
RooHistPdf::RooHistPdf | ( | const RooHistPdf & | other, | |
const char * | name = 0 | |||
) |
virtual RooHistPdf::~RooHistPdf | ( | ) | [virtual] |
virtual TObject* RooHistPdf::clone | ( | const char * | newname | ) | const [inline, virtual] |
RooDataHist& RooHistPdf::dataHist | ( | ) | [inline] |
const RooDataHist& RooHistPdf::dataHist | ( | ) | const [inline] |
void RooHistPdf::setInterpolationOrder | ( | Int_t | order | ) | [inline] |
Int_t RooHistPdf::getInterpolationOrder | ( | ) | const [inline] |
Int_t RooHistPdf::getAnalyticalIntegral | ( | RooArgSet & | allVars, | |
RooArgSet & | analVars, | |||
const char * | rangeName = 0 | |||
) | const [virtual] |
Reimplemented from RooAbsReal.
Definition at line 245 of file RooHistPdf.cxx.
References _histObsList, _pdfObsList, RooArgSet::add(), RooArgList::at(), code, RooAbsCollection::createIterator(), RooAbsCollection::find(), TNamed::GetName(), RooAbsCollection::getSize(), RooArgList::index(), n, TIterator::Next(), and RooAbsCollection::selectCommon().
Reimplemented from RooAbsReal.
Definition at line 316 of file RooHistPdf.cxx.
References _dataHist, _histObsIter, _histObsList, _pdfObsIter, _pdfObsList, RooArgSet::add(), RooAbsArg::copyCache(), RooAbsCollection::createIterator(), RooAbsCollection::getSize(), kFALSE, kTRUE, n, TIterator::Next(), TIterator::Reset(), RooDataHist::sum(), and RooAbsArg::syncCache().
void RooHistPdf::setCdfBoundaries | ( | Bool_t | flag | ) | [inline] |
Bool_t RooHistPdf::getCdfBoundaries | ( | ) | const [inline] |
void RooHistPdf::setUnitNorm | ( | Bool_t | flag | ) | [inline] |
Bool_t RooHistPdf::haveUnitNorm | ( | ) | const [inline] |
Definition at line 71 of file RooHistPdf.h.
References _unitNorm.
Referenced by RooAbsCachedPdf::getAnalyticalIntegralWN(), and RooAbsCachedPdf::getCache().
virtual Bool_t RooHistPdf::selfNormalized | ( | ) | const [inline, virtual] |
Reimplemented from RooAbsReal.
Definition at line 412 of file RooHistPdf.cxx.
References _pdfObsList, RooAbsCollection::getSize(), and RooAbsCollection::selectCommon().
Reimplemented from RooAbsReal.
Definition at line 426 of file RooHistPdf.cxx.
References _dataHist, RooDataHist::get(), i, max, RooDataHist::numEntries(), and RooDataHist::weight().
list< Double_t > * RooHistPdf::plotSamplingHint | ( | RooAbsRealLValue & | obs, | |
Double_t | xlo, | |||
Double_t | xhi | |||
) | const [virtual] |
Reimplemented from RooAbsReal.
Definition at line 368 of file RooHistPdf.cxx.
References _dataHist, _intOrder, RooAbsBinning::array(), RooAbsCollection::find(), RooDataHist::get(), RooAbsLValue::getBinningPtr(), TNamed::GetName(), i, and RooAbsBinning::numBoundaries().
Bool_t RooHistPdf::importWorkspaceHook | ( | RooWorkspace & | ws | ) | [protected, virtual] |
Reimplemented from RooAbsArg.
Definition at line 442 of file RooHistPdf.cxx.
References _dataHist, RooWorkspace::allData(), xmlio::Class, coutE, RooWorkspace::data(), flag, TNamed::GetName(), RooWorkspace::import(), TObject::InheritsFrom(), kFALSE, kTRUE, and RooFit::ObjectHandling.
Double_t RooHistPdf::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
Definition at line 185 of file RooHistPdf.cxx.
References _cdfBoundaries, _dataHist, _histObsIter, _histObsList, _intOrder, _pdfObsIter, _pdfObsList, _unitNorm, RooAbsArg::copyCache(), RooAbsCollection::getSize(), kFALSE, kTRUE, TIterator::Next(), TIterator::Reset(), RooAbsArg::syncCache(), and RooDataHist::weight().
Double_t RooHistPdf::totalVolume | ( | ) | const [protected] |
Double_t RooHistPdf::totVolume | ( | ) | const [protected] |
Definition at line 216 of file RooHistPdf.cxx.
References _histObsList, _totVolume, RooAbsCollection::createIterator(), RooAbsRealLValue::getMax(), RooAbsRealLValue::getMin(), TIterator::Next(), and RooAbsCategory::numTypes().
virtual TObject* RooHistPdf::clone | ( | const char * | newname | ) | const [inline, virtual] |
RooDataHist& RooHistPdf::dataHist | ( | ) | [inline] |
const RooDataHist& RooHistPdf::dataHist | ( | ) | const [inline] |
void RooHistPdf::setInterpolationOrder | ( | Int_t | order | ) | [inline] |
Int_t RooHistPdf::getInterpolationOrder | ( | ) | const [inline] |
Int_t RooHistPdf::getAnalyticalIntegral | ( | RooArgSet & | allVars, | |
RooArgSet & | analVars, | |||
const char * | rangeName = 0 | |||
) | const [virtual] |
Reimplemented from RooAbsReal.
Reimplemented from RooAbsReal.
void RooHistPdf::setCdfBoundaries | ( | Bool_t | flag | ) | [inline] |
Bool_t RooHistPdf::getCdfBoundaries | ( | ) | const [inline] |
void RooHistPdf::setUnitNorm | ( | Bool_t | flag | ) | [inline] |
Bool_t RooHistPdf::haveUnitNorm | ( | ) | const [inline] |
virtual Bool_t RooHistPdf::selfNormalized | ( | ) | const [inline, virtual] |
Reimplemented from RooAbsReal.
Reimplemented from RooAbsReal.
virtual std::list<Double_t>* RooHistPdf::plotSamplingHint | ( | RooAbsRealLValue & | obs, | |
Double_t | xlo, | |||
Double_t | xhi | |||
) | const [virtual] |
Reimplemented from RooAbsReal.
Bool_t RooHistPdf::importWorkspaceHook | ( | RooWorkspace & | ws | ) | [protected, virtual] |
Reimplemented from RooAbsArg.
Double_t RooHistPdf::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
Double_t RooHistPdf::totalVolume | ( | ) | const [protected] |
Double_t RooHistPdf::totVolume | ( | ) | const [protected] |
RooAbsCachedPdf [friend] |
Definition at line 89 of file RooHistPdf.h.
RooArgSet RooHistPdf::_histObsList [protected] |
Definition at line 92 of file RooHistPdf.h.
Referenced by analyticalIntegral(), evaluate(), getAnalyticalIntegral(), RooHistPdf(), and totVolume().
RooSetProxy RooHistPdf::_pdfObsList [protected] |
Definition at line 93 of file RooHistPdf.h.
Referenced by analyticalIntegral(), evaluate(), getAnalyticalIntegral(), getMaxVal(), and RooHistPdf().
RooDataHist* RooHistPdf::_dataHist [protected] |
Definition at line 94 of file RooHistPdf.h.
Referenced by analyticalIntegral(), dataHist(), evaluate(), importWorkspaceHook(), maxVal(), and plotSamplingHint().
TIterator* RooHistPdf::_histObsIter [protected] |
Definition at line 95 of file RooHistPdf.h.
Referenced by analyticalIntegral(), evaluate(), RooHistPdf(), and ~RooHistPdf().
TIterator* RooHistPdf::_pdfObsIter [protected] |
Definition at line 96 of file RooHistPdf.h.
Referenced by analyticalIntegral(), evaluate(), RooHistPdf(), and ~RooHistPdf().
RooAICRegistry RooHistPdf::_codeReg [mutable, protected] |
Definition at line 97 of file RooHistPdf.h.
Int_t RooHistPdf::_intOrder [protected] |
Auxiliary class keeping tracking of analytical integration code.
Definition at line 98 of file RooHistPdf.h.
Referenced by evaluate(), getInterpolationOrder(), plotSamplingHint(), and setInterpolationOrder().
Bool_t RooHistPdf::_cdfBoundaries [protected] |
Definition at line 99 of file RooHistPdf.h.
Referenced by evaluate(), getCdfBoundaries(), and setCdfBoundaries().
Double_t RooHistPdf::_totVolume [mutable, protected] |
Bool_t RooHistPdf::_unitNorm [protected] |
Total volume of space (product of ranges of observables).
Definition at line 101 of file RooHistPdf.h.
Referenced by evaluate(), haveUnitNorm(), selfNormalized(), and setUnitNorm().
RooDataHist* RooHistPdf::_dataHist [protected] |
Definition at line 94 of file RooHistPdf.h.
TIterator* RooHistPdf::_histObsIter [protected] |
Definition at line 95 of file RooHistPdf.h.
TIterator* RooHistPdf::_pdfObsIter [protected] |
Definition at line 96 of file RooHistPdf.h.