89 double wgt = clone2->
getVal(obs) ;
90 cacheHist.
set(i, wgt, 0.);
110 serverSet->
add(*server) ;
129 serverSet->
add(*server) ;
133 serverSet->
remove(nset,
true,
true);
RefCountList_t _serverList
void attachDataSet(const RooAbsData &set)
Replace server nodes with names matching the dataset variable names with those data set variables,...
RooAbsCachedPdf is the abstract base class for p.d.f.s that need or want to cache their evaluate() ou...
void disableCache(bool flag)
virtual bool remove(const RooAbsArg &var, bool silent=false, bool matchByNameOnly=false)
Remove the specified argument from our list.
virtual bool add(const RooAbsArg &var, bool silent=false)
Add the specified argument to list.
RooAbsArg * find(const char *name) const
Find object with given name in list.
virtual Int_t numEntries() const
Return number of entries in dataset, i.e., count unweighted entries.
double getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooAbsSelfCachedPdf is an abstract base class for probability density functions whose output is cache...
void fillCacheObject(PdfCacheElem &cache) const override
Fill cache with sampling of p.d.f as defined by the evaluate() implementation.
RooFit::OwningPtr< RooArgSet > actualParameters(const RooArgSet &nset) const override
Defines parameters on which cache contents depends.
RooFit::OwningPtr< RooArgSet > actualObservables(const RooArgSet &nset) const override
Defines observables to be cached, given a set of user defined observables Returns the subset of nset ...
~RooAbsSelfCachedPdf() override
Destructor.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooArgSet * snapshot(bool deepCopy=true) const
Use RooAbsCollection::snapshot(), but return as RooArgSet.
The RooDataHist is a container class to hold N-dimensional binned data.
void set(std::size_t binNumber, double weight, double wgtErr)
Set bin content of bin that was last loaded with get(std::size_t).
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...