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" ;
RooFit::OwningPtr< RooArgSet > getParameters(const RooAbsData *data, bool stripDisconnected=true) const
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of...
RooFit::OwningPtr< RooArgSet > getObservables(const RooArgSet &set, bool valueOnly=true) const
Given a set of possible observables, return the observables that this PDF depends on.
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.
virtual void preferredObservableScanOrder(const RooArgSet &obs, RooArgSet &orderedObs) const
Interface method for function objects to indicate their preferred order of observables for scanning t...
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 T & arg() const
Return reference to object held in proxy.
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...