46 pdf(
"pdf",
"pdf",this,_pdf),
47 _cacheObs(
"cacheObs",
"cacheObs",this,false,false)
68 pdf(
"pdf",
"pdf",this,_pdf),
69 _cacheObs(
"cacheObs",
"cacheObs",this,false,false)
81 pdf(
"pdf",this,other.pdf),
82 _cacheObs(
"cacheObs",this,other._cacheObs)
96 coutP(Eval) <<
"RooCachedPdf::fillCacheObject(" <<
GetName() <<
") filling multi-dimensional cache" ;
116 pdf.arg().preferredObservableScanOrder(obs,orderedObs) ;
135 return pdf->getObservables(nset);
R__DEPRECATED(6, 36, "Use getObservables().") RooFit R__DEPRECATED(6, 36, "Use getObservables().") RooFit R__DEPRECATED(6, 36, "Use getObservables().") RooFit const RooAbsArg &testArg const
Abstract base class for p.d.f.s that need or want to cache their evaluate() output in a RooHistPdf de...
Storage_t::size_type size() const
Abstract interface for all probability density functions.
RooDataHist * fillDataHist(RooDataHist *hist, const RooArgSet *nset, double scaleFactor, bool correctForBinVolume=false, bool showProgress=false) const
Fill a RooDataHist with values sampled from this function at the bin centers.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Implementation of RooAbsCachedPdf that can cache any external RooAbsPdf input function provided in th...
RooRealProxy pdf
Proxy to p.d.f being cached.
RooSetProxy _cacheObs
Observable to be cached.
RooFit::OwningPtr< RooArgSet > actualObservables(const RooArgSet &nset) const override
If this pdf is operated with a fixed set of observables, return the subset of the fixed observables t...
RooFit::OwningPtr< RooArgSet > actualParameters(const RooArgSet &nset) const override
If this p.d.f is operated with a fixed set of observables, return all variables of the external input...
void preferredObservableScanOrder(const RooArgSet &obs, RooArgSet &orderedObs) const override
Defer preferred scan order to cached pdf preference.
void fillCacheObject(PdfCacheElem &cachePdf) const override
Update contents of cache histogram by resampling the input p.d.f.
bool add(const RooAbsArg &var, bool valueServer, bool shapeServer, bool silent)
Overloaded RooCollection_t::add() method insert object into set and registers object as server to own...
const RooArgSet * get() const override
Get bin centre of current bin.
void setUnitNorm(bool flag)
const char * GetName() const override
Returns name of object.
T * OwningPtr
An alias for raw pointers for indicating that the return type of a RooFit function is an owning point...