45   pdf(
"pdf",
"pdf",
this,_pdf),
 
 
   67   pdf(
"pdf",
"pdf",
this,_pdf),
 
 
   81   _cacheObs(
"cacheObs",
this,
other._cacheObs)
 
 
   94  if (cache.
hist()->
get()->size()>1) {
 
   95    coutP(Eval) << 
"RooCachedPdf::fillCacheObject(" << 
GetName() << 
") filling multi-dimensional cache" ;
 
  101  if (cache.
hist()->
get()->size()>1) {
 
  102    ccoutP(Eval) << std::endl ;
 
 
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...
 
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 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...